Hello,
I'm using Maven 2.0.9. I have a project with the following layout:
project
|-- pom.xml (packaging = pom)
|-- ejb_subproject
| |-- pom.xml (packaging = ejb)
| `-- . . .
`-- ear_subproject
|-- pom.xml (packaging = ear)
`-- . . .
The two subprojects are declared as modules of the top pom.xml. Invoking
Maven on the top pom.xml first launches a build on the ejb_project
(which creates two artifacts, a Jar and an EJB client Jar), then on the
ear_project (which creates an Ear using the Jar of the ejb_project).
My issue is that installing the artifacts into the repository by
invoking 'mvn install' on the top pom.xml creates three entries in the
repository, one for the ejb_subproject, one for the ear_subproject and
finally one for the top pom.xml, the latter being actually empty.
Is it possible to inform Maven that the pom.xml of type 'pom' should not
be installed into the repository, but just exists to make an entry point
for the build of the two other projects?
Thanks in advance.
Vincent.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]