You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by AngeloChen960 <an...@gmail.com> on 2008/01/09 06:11:19 UTC

Jar files dependency

Hi,

Got two questions:
1) is there a list of dependency available? example, i use JavaMail, and how
to specify this in the dependency?

2) I'm trying to convert my project to Maven2, I have some jar files, how to
add those jar files as one dependency to the project?

Thanks.
-- 
View this message in context: http://www.nabble.com/Jar-files-dependency-tp14705426s177p14705426.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


RE: Jar files dependency

Posted by "Beelen, M. - SPLXL" <Ma...@klm.com>.
Hello Angelo,

To find the proper dependency information for certain libraries you can
use: http://mvnrepository.com/

If you want to use libraries, which are not available in public
libraries, you need to install those jars in to your local repository,
so that you can declare them as normal dependancies in you pom.

How to install jars in to your local repo can be found here:
http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.h
tml

If you are using a central repository within your company you also need
to deploy the jars to that remote repo using the deploy-file option,
described here:
http://maven.apache.org/plugins/maven-deploy-plugin/deploy-file-mojo.htm
l


Good luck.

With kind regards,
  Marco Beelen


-----Original Message-----
From: AngeloChen960 [mailto:angelochen960@gmail.com] 
Sent: Wednesday, January 09, 2008 6:11 AM
To: users@maven.apache.org
Subject: Jar files dependency


Hi,

Got two questions:
1) is there a list of dependency available? example, i use JavaMail, and
how to specify this in the dependency?

2) I'm trying to convert my project to Maven2, I have some jar files,
how to add those jar files as one dependency to the project?

Thanks.
--
View this message in context:
http://www.nabble.com/Jar-files-dependency-tp14705426s177p14705426.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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

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