You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Olivier Lamy <ol...@accor.com> on 2005/12/22 14:32:15 UTC

RE : Including Libraries Maven 2

Have a look :
http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html
And include jars in the dependencies.

-----Message d'origine-----
De : Alexandre Russel [mailto:Alexandre.Russel@ach.u-cergy.fr] 
Envoyé : jeudi 22 décembre 2005 13:34
À : Maven Users List
Objet : Re: Including Libraries Maven 2



You could try to add <jar.bundle>true</jar.bundle> in the properties of 
your dependencies.
Alex

>Hi, guys, im using maven 2, but i have a little problem...
>
>Im working with a java project, not web enabled, just a java project,
>but i cant do that maven include the external libraries that my project

>needs...i try with bundleDir, bundleFileName... Here is the structure 
>of my project..like you see, i have a lib directory, with 2 .jar that i

>need to be delivered with the jar generated by maven.
>
>my_project
>       src
>          com
>             net
>                Service.java       
>       conf
>           service.xml
>
>Local libraries
> usr
>    local
>         lib
>            commons.jar
>            connector.jar
>
>But when i run 
>   mvn package
>
>Maven generate the my_project.jar but doesnt include the
>lib directory...i want that maven include /usr/local/lib/commons.jar
>and /usr/local/lib/connector.jar
>
>
>Well, i hope some body help me...
>
>Thanks
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam?  Yahoo! Mail has the best spam protection around 
>http://mail.yahoo.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
>
>  
>


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



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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org