Question

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 you 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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top