开发者

Having the maven parent project in Eclipse for a flat project layout

开发者 https://www.devze.com 2023-01-31 09:27 出处:网络
I\'m trying to \"mavenize\" an existing EAR application. I\'ve read the guidelines to create a multi-module project with WTP and created a \"flat project layout\".

I'm trying to "mavenize" an existing EAR application.

I've read the guidelines to create a multi-module project with WTP and created a "flat project layout".

My problem is that when typing the command mvn eclipse:eclipse, I've got the .projects, .classpath and .settings created for the ear, ejb and war projects, but not for parent project, which is a <packaging>pom</packaging>.

Do yo开发者_StackOverflow中文版u know how to do this ?

Actually, the goal is to commit to the SCM (SVN) all the changes directly from Eclipse, that's why I must have the parent-project in the handled projects.


What I finally did is to create a simple .project in my project-parent dir :

<projectDescription>
  <name>project-parent</name>
</projectDescription>

Eclipse recognizes it and it is not system dependent, what I finally wanted.

0

精彩评论

暂无评论...
验证码 换一张
取 消