Hi eric,

The way I solved this is by creating a pom porject that includes all three modules and make ear to contain only the dependency. I.e.

 [apps]
    |---------module------>[earBuilderProj]
    |                          |      |
    |                       depend  depend
    |                          |      |
    |                         \|/     |
    |---------module------>[proj1]    |
    |                                \|/
    |---------module-------------->[proj2]


apps.pom
--------
<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.myco</groupId>
  <artifactId>apps</artifactId>
  <packaging>pom</packaging> <!-- Notice that this is "pom" -->
  <version>1.0</version>
  <name>sub projects</name>
  <modules>
    <module>earbuilderproj</module>
    <module>proj1</module>
    <module>proj2</module>
  </modules>
</project>

And for each of child project (earbuilderproj, proj1 and proj2) will have an additional <parent> xml node:

<project>
  <modelVersion>4.0.0</modelVersion>
  ...
  <parent>
    <groupId>com.myco</groupId>
    <artifactId>apps</artifactId>
    <version>1.0</version>
  </parent>
</project>

Regards,
Edward


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to