We have a project with an EJB module. With the maven-ejb-plugin we build both the myEjb-0.1.jar and the myEjb-0.1-client.jar. It builds fine, but I noticed the client-jar gets installed/deployed in the same location as the ejb-jar. This seems to be problematic when we want to reference the client-jar in our parent POM. We are stuck on how this is done.
In the parent POM we have: <dependency> <groupId>x.y</groupId> <artifactId>myEjb</artifactId> <version>0.1</version> <type>ejb</type> <scope>compile</scope> </dependency> <dependency> <groupId>x.y </groupId> <artifactId>myEjb</artifactId> <version>0.1-client</version> <type>ejb</type> <!-- shouldn't this be jar? --> <scope>compile</scope> </dependency> In the child POM we have the following. Note that this seems to reference the ejb-jar, not the client-jar: <dependency> <groupId>x.y</groupId> <artifactId>myEjb</artifactId> <type>ejb</type> </dependency> We'd like to know how to define the client-jar as a dependency in both the parent and child POM where only the parent POM has the version number. Help much appreciated! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
