Go Premium for a chance to win a PS4. Enter to Win

x
?
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
Medium Priority
?
205 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 1000 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Suggested Courses

886 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