You can write your own goal that copies dependencies out of the repo.

<goal name="copy-deps">
  <j:forEach var="lib" items="${pom.artifacts}">
    <j:set var="dep" value="${lib.dependency}"/>
    <ant:copy todir="${maven.dist.bin.assembly.dir}/lib"
       file="${lib.path}"/>
  </j:forEach>
</goal>

-marc

-----Original Message-----
From: Yann Le Du [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 21, 2005 10:06 AM
To: Maven User List
Subject: [m2] Retrieving dependencies JARs into a directory

Hi,

When you call war:war, all the dependencies (including transitive) JARs are put
in target/root/WEB-INF/lib. Is there a way to do only this part - that is,
retrieve all the dependency JARs into a directory - with an existing plugin ?
Or should I write one of my own ?

Regards,

Yann


        

        
                
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com

---------------------------------------------------------------------
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