Set the <type> to war I believe. 

-----Original Message-----
From: Richard Wallace [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 03, 2006 12:03 PM
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]

Reply via email to