I think 

<dependency>
    <id>my_war</id>
    <version>2.0</version>
    <type>war</type>
</dependency>

is what you're after

James

-----Original Message-----
From: MIDON ALEXIS [mailto:[EMAIL PROTECTED] 
Sent: 04 November 2004 10:57
To: Maven Users List
Subject: A war dependency


 
 
Hi,
 
I would like to create a war dependency in my project.xml.
 
This war is created by the war plugin and installed in the following repo
directory : my_war/wars/my_war-2.0.war
 
Unfortunately the dependency mechanism looks for a jar not a war and the
<type> tag is useless.
 
Meanwhile I altered the war plugin properties so the war is installed in
"my_war/jars/my_war-2.0.war" and wrote the following dependency to get it :
 
<dependency>
    <id>my_war</id>
    <version>2.0</version>
    <jar>my_war-2.0.war</jar>
</dependency>  
 
This solution does not satisfy me at all.
 
Could you give the proper solution if exists?
 
Thx in advance for answers
 
Alexis


------------------------------------------------------------------------
For more information about Barclays Capital, please
visit our web site at http://www.barcap.com.


Internet communications are not secure and therefore the Barclays 
Group does not accept legal responsibility for the contents of this 
message.  Although the Barclays Group operates anti-virus programmes, 
it does not accept responsibility for any damage whatsoever that is 
caused by viruses being passed.  Any views or opinions presented are 
solely those of the author and do not necessarily represent those of the 
Barclays Group.  Replies to this email may be monitored by the Barclays 
Group for operational or business reasons.

------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to