Much better. Thanks for the pointer. > -----Original Message----- > From: Olivier Lamy [mailto:[EMAIL PROTECTED] > Sent: Monday, October 27, 2003 12:01 PM > To: 'Maven Users List' > Subject: RE : I want to copy dependency jars to a /lib location...how? > > > http://maven.apache.org/reference/user-guide.html#Copying%20De > pendency%2 > 0JARs > > -----Message d'origine----- > De : Vincent Tence [mailto:[EMAIL PROTECTED] > Envoy� : lundi 27 octobre 2003 17:59 > � : Maven Users List > Objet : RE: I want to copy dependency jars to a /lib location...how? > > > > Try something like this in your maven.xml file: > > <goal name="your-goal"> > <mkdir dir="${basedir}/target/lib"/> > <j:forEach var="dep" items="${pom.dependencies}"> > <copy > todir="${basedir}/target/lib" > > file="${maven.repo.local}/${dep.artifactDirectory}/jars/${dep. > artifact}" > /> > </j:forEach> > </goal> > > .. and tell me if it works ;-) > > - Vincent > > > -----Original Message----- > > From: Kelly Sonderegger [mailto:[EMAIL PROTECTED] > > Sent: Monday, October 27, 2003 11:07 AM > > To: [EMAIL PROTECTED] > > Subject: I want to copy dependency jars to a /lib location...how? > > > > > > I apologize as I've tried to find this in the archives but > can't seem > > too. And maybe what I'm trying to accomplish should be done in a > > different fashion. > > > > But basically I'm just trying to copy jars specified by my project > > dependencies into a target/lib directory. Obviously I could just > > respecify the jars but it would seem like I could use the > dependency > > statement in the project.xml to do this. > > > > Many thanks for your help, > > Kelly Sonderegger > > > > > > > > > > > --------------------------------------------------------------------- > > 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 e-mail, any attachments and the information contained > therein ("this message") are confidential and intended solely > for the use of the addressee(s). If you have received this > message in error please send it back to the sender and delete > it. Unauthorized publication, use, dissemination or > disclosure of this message, either in whole or in part is > strictly prohibited. > ************************************************************** > ******** > Ce message �lectronique et tous les fichiers joints ainsi que > les informations contenues dans ce message ( ci apr�s "le > message" ), sont confidentiels et destin�s exclusivement � > l'usage de la personne � laquelle ils sont adress�s. Si vous > avez re�u ce message par erreur, merci de le renvoyer � son > �metteur et de le d�truire. Toutes diffusion, publication, > totale ou partielle ou divulgation sous quelque forme que se > soit non express�ment autoris�es de ce message, sont interdites. > ************************************************************** > ******** > > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
