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
189 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
Comment Utility
>> 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

772 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

9 Experts available now in Live!

Get 1:1 Help Now