?
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
?
198 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

719 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