Nicola, You would better install the jar-file into your (local) maven-repository (using maven install:install-file [1]) or even better deploy it into your corporate repository (using maven deploy:deploy-file [2]).
Doing that deploy, would remove 'environment specific' entries in your pom.xml and enable you to run the build on other machines ( a co-worker or a CI build server) as well. With kind regards, Marco Beelen [1]: http://maven.apache.org/plugins/maven-install-plugin/usage.html [2]: http://maven.apache.org/plugins/maven-deploy-plugin/usage.html -----Original Message----- From: Thomas Darbois [mailto:[EMAIL PROTECTED] Sent: Monday, May 05, 2008 10:54 AM To: Maven Users List; [EMAIL PROTECTED] Subject: RE: Include manually a library You can use : http://maven.apache.org/ref/2.0.8/maven-model/maven.html#class_dependency <dependency> <groupId>...</groupId> <artifactId>...</artifactId> <version>...</version> <scope>system</scope> <systemPath>ABSOLUTEPATH (for example ${java.home})</systemPath> </dependency> Tomas Darbois Edifixio Grenoble - Projet ScorWare 04 76 29 89 27 [EMAIL PROTECTED] -----Message d'origine----- De : Nicola Benaglia [mailto:[EMAIL PROTECTED] Envoyé : lundi 5 mai 2008 10:27 À : [email protected] Objet : Include manually a library Hi! I cannot find into the mvn repository the following library: OfficeLnFs_2.7.jar (org.fife.plaf) Could I refer into the pom.xml to this library located for example in /myLibs ? Thank you, Nicola --------------------------------------------------------------------- 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] ********************************************************************** For information, services and offers, please visit our web site: http://www.klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message. Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt. Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286 ********************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
