Dear all, Can manven2 support an ear as dependency? For application server,we should let class in one ear can access ejbs in another ear.
thanks. Tel: (020)36315358-328 Fax: (020)36315170 "David Hawkins" <[EMAIL PROTECTED] To: "'Maven Users List'" <users@maven.apache.org> om> cc: Subject: RE: [m2] war as a dependency 04/01/2006 01:24 Please respond to "Maven Users List" When you specified the dependency, did you specify the "type"? Your dependency should look something like: <dependency> <groupId>com.contentconnections.mpl</groupId> <artifactId>mpl-common-webapp</artifactId> <version>0.1-SNAPSHOT</version> <type>war</type> </dependency> --David -----Original Message----- From: Richard Wallace [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 03, 2006 11:03 AM To: Maven Users List Subject: Re: [m2] war as a dependency I checked out the source for the maven-war-plugin and installed it in my local repository. But when I try and do a 'mvn war:war' I'm still getting required artifacts missing: com.contentconnections.mpl:mpl-common-webapp:jar:0.1-SNAPSHOT So it looks like maven is still trying to download the artifact as a jar instead of as a war which is what mpl-common-webapps packaging is defined to be in it's pom. Do I also need to use a snapshot version of maven to make this work or is there something else I'm missing? Thanks for the help, Rich Stephane Nicoll wrote: > On 1/3/06, Richard Wallace <[EMAIL PROTECTED]> wrote: > >> Hello all, >> >> I thought I saw on the list some time ago that a pom for a war could >> specify another war artifact as a dependency with the idea being that >> the depended war would be unzipped and then the webapp from the current >> project would be copied over it. Is this only available in a snapshot >> version of the war plugin? Is it deployed anywhere? If not, where is >> the source repo for the war plugin? I tried looking at the project page >> for the plugin, but that has an invalid link >> http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven-plugins/maven -war-plugin. >> > > Plugins have moved > http://svn.apache.org/viewcvs.cgi/maven/plugins/trunk/maven-war-plugin/ > > Stéphane > > -- > .::You're welcome ::. > > --------------------------------------------------------------------- > 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] ______________________________________________________________________ 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. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]