maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas.CHALUM...@arsoe-trelaze.com
Subject Réf. : A war dependency
Date Thu, 04 Nov 2004 10:59:41 GMT
Use the type element :
<dependency>
    <id>my_war</id>
    <version>2.0</version>
    <type>war</type>
</dependency>

Nicolas,





MIDON ALEXIS <ALEXIS.MIDON@sgam.com>
04/11/2004 11:57
Veuillez répondre à "Maven Users List"

 
        Pour :  Maven Users List <users@maven.apache.org>
        cc : 
        Objet : 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




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message