Andrew Rubinger [http://community.jboss.org/people/ALRubinger] replied to the discussion
"ejb3_1 and its relation with ejb3 bom" To view the discussion, visit: http://community.jboss.org/message/536621#536621 -------------------------------------------------------------- > jaikiran pai wrote: > 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. I think this is good, though there's something worthy of noting here. If the BOM is the parent of the ejb3_1 module, then the ejb3_1 module will have the correct exported dependencies. Now something else, project X, makes a depedendency upon ejb3_1. Any "exclusion"s defined by the BOM will be *ignored*. This is because Project X doesn't have the BOM in its hierarchy. The way around this is to declare in Project X a dependency twice upon ejb3_1; once in "dependencies", once in "dependencyManagement" (with scope import). S, ALR -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/536621#536621] Start a new discussion in EJB 3.0 Development at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2030]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
