Solved

Maven Build Tool Help Required. How to specify path for jar files present on the system in project.xml file of Maven to satisfy dependency and successfully compiling the source ?

Posted on 2004-09-24
3
190 Views
Last Modified: 2010-03-31
Hi !

Can anybody tell me who is using Maven, how to specify path for my jar files in the project.xml configuration file for Maven ? I want to make use of my own jars present on my local drive and Maven always tries to download it from some site.

When I specify the path for local file, it takes that path but not able to catch that file. Why this is happening ?

Help Me Pls.

With Best Regards,
Abijit.
0
Comment
Question by:ekartha
3 Comments
 
LVL 37

Accepted Solution

by:
zzynx earned 250 total points
ID: 12141645
>> When I specify the path for local file
How?

Maybe this helps:

At http://maven.apache.org/reference/user-guide.html I read:

Properties that change the way Maven works:
...
maven.repo.local : The repository on the local machine maven should use to store downloaded artifacts (jars etc).
                              Default: ${maven.home.local}/repository
...
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
basic hardware to learn oop advanced design patterns 3 88
sites similar to codingbat to improve coding hanson skills 3 41
jar file executable 12 40
print map entry 34 55
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now