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
194 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 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

636 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