Two options for you: # Use the lib directory (lib by default) if you're using EE5 # Wait for MEAR- 86
S. On Fri, Feb 27, 2009 at 11:49 AM, JC Walmetz <[email protected]> wrote: > > Hi, > > I use Maven ear plugin to generate an ear. This ear is used in jboss5. My > EAR application is huge and contains a lot of jars. Application.xml file is > difficult to maintain. > > I have an EJB module that has a lot of transitive dependencies. I'd like to > list all that transitive dependencies in the application.xml file as java > module. > > Ear plugin add jars in the EAR. To add the EJB module ine the > application.xml I have > <ejbModule> > <groupId>com.foo</groupId> > <artifactId>ejbservice</artifactId> > </ejbModule> > > This configuration adds the module in the application.xml but not all its > transitive dependencies. Is there a solution to add automatically all > transitive dependencies in the applpication.xml ? > > Previously I was using the JBoss 4.2.3, I have move to JBoss 5. With JBoss > 4.2.3, I was adding the transitive dependencies in the classpath of the > manifest.mf of the ejb module and I just need to declare to ejb module in > the application.xml ... unfortunatelly it does not works anymore with > JBoss5. In JBoss 5, it works only if I removed the claaspath in manifest.mf > and adds all the lib in application.xml as java module. > > Does someone have the same issue ? > > Thks > > > -- > View this message in context: > http://www.nabble.com/Ear---application.xml-tp22243464p22243464.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Large Systems Suck: This rule is 100% transitive. If you build one, you suck" -- S.Yegge
