Re: [m2] ear plugin: jar does not get added to application xml (as java module)
Hello, I've answered you in the separate threads you have created. Hope it helps, Stephane On 12/15/05, Dário Luís Coneglian Oliveros <[EMAIL PROTECTED]> wrote: > > Hi Edwin, > > I´ve read this guide before, however it focus on customization only. > According to the ear plugin, the descriptor deployment (application.xml) > is generated automatically and by doing so the plugin should add into it all > the dependencies as java, ejb and/or web modules. That´s not happening for > jar artifacts though. Besides it´s not viable to manually add all jars > (transitive dependencies) in the customization section as java modules. > > Regards, > Dário > > -Original Message- > From: Edwin Punzalan [mailto:[EMAIL PROTECTED] > Sent: quinta-feira, 15 de dezembro de 2005 01:14 > To: Maven Users List > Subject: Re: [m2] ear plugin: jar does not get added to application xml > (as java module) > > > > The ejb plugin has configuration elements for the application.xml. > Please see: http://maven.apache.org/plugins/maven-ear-plugin/howto.html > > > Dário Luís Coneglian Oliveros wrote: > > >Hi, > > > >I´ve been trying to create an EAR that contains a JAR, an EJB JAR > (depends on JAR) and a WAR, however only EJB JAR and WAR gets added to the > application.xml as ejb and web modules respectively. The JAR is not added > at all. This used to work in Maven 1. How can I have an entry of JAR in the > application.xml as a java module ? Do I need to add it manually ? > >I´ve noticed that all dependency jars are added to the EAR (depending on > the scope), but they are not present in the application.xml as java > modules. Should I report a bug or this is an expected behaviour ? > > > >Please find below my POM: > > > > > > 4.0.0 > > com.mycompany.sample > > sample-ear > > ear > > 1.0-SNAPSHOT > > > > > > com.mycompany.sample > > sample-java > > 1.0-SNAPSHOT > > > > > > com.mycompany.sample > > sample-ejb > > 1.0-SNAPSHOT > > ejb > > > > > > com.mycompany.sample > > sample-web > > 1.0-SNAPSHOT > > war > > > > > > > > > > > > org.apache.maven.plugins > > maven-ear-plugin > > > > > > > > > > > >application.xml > >-- > > > > sample-ear > > > >sample-ejb-1.0-SNAPSHOT.jar > > > > > > > > sample-web-1.0-SNAPSHOT.war > > /sample-web > > > > > > > > > >Any clues ? I am not sure if that´s the right way to create an EAR. > >I would appreciate any help. > > > >Thanks in advance, > >Dário > > > > > > > > > > > > > > > >- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- .::You're welcome ::.
RE: [m2] ear plugin: jar does not get added to application xml (as java module)
Hi Edwin, I´ve read this guide before, however it focus on customization only. According to the ear plugin, the descriptor deployment (application.xml) is generated automatically and by doing so the plugin should add into it all the dependencies as java, ejb and/or web modules. That´s not happening for jar artifacts though. Besides it´s not viable to manually add all jars (transitive dependencies) in the customization section as java modules. Regards, Dário -Original Message- From: Edwin Punzalan [mailto:[EMAIL PROTECTED] Sent: quinta-feira, 15 de dezembro de 2005 01:14 To: Maven Users List Subject: Re: [m2] ear plugin: jar does not get added to application xml (as java module) The ejb plugin has configuration elements for the application.xml. Please see: http://maven.apache.org/plugins/maven-ear-plugin/howto.html Dário Luís Coneglian Oliveros wrote: >Hi, > >I´ve been trying to create an EAR that contains a JAR, an EJB JAR (depends on >JAR) and a WAR, however only EJB JAR and WAR gets added to the application.xml >as ejb and web modules respectively. The JAR is not added at all. This used to >work in Maven 1. How can I have an entry of JAR in the application.xml as a >java module ? Do I need to add it manually ? >I´ve noticed that all dependency jars are added to the EAR (depending on the >scope), but they are not present in the application.xml as java modules. >Should I report a bug or this is an expected behaviour ? > >Please find below my POM: > > > 4.0.0 > com.mycompany.sample > sample-ear > ear > 1.0-SNAPSHOT > > > com.mycompany.sample > sample-java > 1.0-SNAPSHOT > > > com.mycompany.sample > sample-ejb > 1.0-SNAPSHOT > ejb > > > com.mycompany.sample > sample-web > 1.0-SNAPSHOT > war > > > > > > org.apache.maven.plugins > maven-ear-plugin > > > > > >application.xml >-- > > sample-ear > >sample-ejb-1.0-SNAPSHOT.jar > > > > sample-web-1.0-SNAPSHOT.war > /sample-web > > > > >Any clues ? I am not sure if that´s the right way to create an EAR. >I would appreciate any help. > >Thanks in advance, >Dário > > > > > > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] ear plugin: jar does not get added to application xml (as java module)
Dear, exaplme: org.apache.maven.plugins maven-jar-plugin true clark rao areden.blog.com thanks. Tel: (020)36315358-328 Fax: (020)36315170 Edwin Punzalan <[EMAIL PROTECTED]To: Maven Users List com> cc: Subject: Re: [m2] ear plugin: jar does not get added to application xml (as java 15/12/2005 11:13 module) Please respond to "Maven Users List" The ejb plugin has configuration elements for the application.xml. Please see: http://maven.apache.org/plugins/maven-ear-plugin/howto.html Dário Luís Coneglian Oliveros wrote: >Hi, > >I´ve been trying to create an EAR that contains a JAR, an EJB JAR (depends on JAR) and a WAR, however only EJB JAR and WAR gets added to the application.xml as ejb and web modules respectively. The JAR is not added at all. This used to work in Maven 1. How can I have an entry of JAR in the application.xml as a java module ? Do I need to add it manually ? >I´ve noticed that all dependency jars are added to the EAR (depending on the scope), but they are not present in the application.xml as java modules. Should I report a bug or this is an expected behaviour ? > >Please find below my POM: > > > 4.0.0 > com.mycompany.sample > sample-ear > ear > 1.0-SNAPSHOT > > > com.mycompany.sample > sample-java > 1.0-SNAPSHOT > > > com.mycompany.sample > sample-ejb > 1.0-SNAPSHOT > ejb > > > com.mycompany.sample > sample-web > 1.0-SNAPSHOT > war > > > > > > org.apache.maven.plugins > maven-ear-plugin > > > > > >application.xml >-- > > sample-ear > >sample-ejb-1.0-SNAPSHOT.jar > > > > sample-web-1.0-SNAPSHOT.war > /sample-web > > > > >Any clues ? I am not sure if that´s the right way to create an EAR. >I would appreciate any help. > >Thanks in advance, >Dário > > > > > > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ Hactl..Moving forward with you. Best Air Cargo Terminal - Asia 2005 Air Cargo Terminal of the Year 2002, 2003 & 2004 Web: http://www.hactl.com DISCLAIMER :- The information contained in this message, including any attachment, is confidential and may also be privileged. The information is intended only for the person or entity to which it is addressed. Any review, re-transmission, copying, storage, distribution or other use or disclosure of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please contact the sender immediately by return email and delete this message from your system. Thank you. __
Re: [m2] ear plugin: jar does not get added to application xml (as java module)
The ejb plugin has configuration elements for the application.xml. Please see: http://maven.apache.org/plugins/maven-ear-plugin/howto.html Dário Luís Coneglian Oliveros wrote: Hi, I´ve been trying to create an EAR that contains a JAR, an EJB JAR (depends on JAR) and a WAR, however only EJB JAR and WAR gets added to the application.xml as ejb and web modules respectively. The JAR is not added at all. This used to work in Maven 1. How can I have an entry of JAR in the application.xml as a java module ? Do I need to add it manually ? I´ve noticed that all dependency jars are added to the EAR (depending on the scope), but they are not present in the application.xml as java modules. Should I report a bug or this is an expected behaviour ? Please find below my POM: 4.0.0 com.mycompany.sample sample-ear ear 1.0-SNAPSHOT com.mycompany.sample sample-java 1.0-SNAPSHOT com.mycompany.sample sample-ejb 1.0-SNAPSHOT ejb com.mycompany.sample sample-web 1.0-SNAPSHOT war org.apache.maven.plugins maven-ear-plugin application.xml -- sample-ear sample-ejb-1.0-SNAPSHOT.jar sample-web-1.0-SNAPSHOT.war /sample-web Any clues ? I am not sure if that´s the right way to create an EAR. I would appreciate any help. Thanks in advance, Dário - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]