[jboss-user] [EJB 3.0 Development] - ejb3_1 and its relation with ejb3 bom

jaikiran pai do-not-reply at jboss.com
Fri Apr 9 08:16:41 EDT 2010

jaikiran pai [http://community.jboss.org/people/jaikiran] created the discussion

"ejb3_1 and its relation with ejb3 bom"

To view the discussion, visit: http://community.jboss.org/message/536550#536550

Right now we are duplicating the version info for EJB3 modules/components in 2 places:

1) bom as-6  http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/components/bom/as6/trunk/pom.xml http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/components/bom/as6/trunk/pom.xml
2) ejb3_1 module  http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/trunk/ejb3_1/pom.xml http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/trunk/ejb3_1/pom.xml

The ejb3_1 module is a pom which declares all the "dependencies" that will be pulled in when some other project depends on this (ex: AS_Trunk/ejb3). On the other hand, the bom as-6 is "dependency management" which enforces the versions for ejb3 modules/components.

As such, I think that the ejb3 bom as-6 should be the parent for the ejb3_1 module. That way, the ejb3_1 module pom will just declare the dependencies and let the parent bom declare the dependency versions.

But then, the bom has different artifacts, one for each AS version. So making the bom as the parent of ejb3_1 won't play out well when there are multiple AS version boms.

All I am trying to avoid is, having multiple poms specify the versions of EJB3 modules/components.


Reply to this message by going to Community

Start a new discussion in EJB 3.0 Development at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100409/729a8721/attachment.html 

More information about the jboss-user mailing list