Check the docs for maven.jar.override:

http://maven.apache.org/maven-1.x/using/managing-dependencies.html

HTH,
-Lukas


John Moore wrote:
I have the simplest requirement here but I can't work out how to do it. I just want my project to look for its dependency jars in a /lib folder, not in a remote or indeed local repository. I don't want these files in my repository because they're from an old almost dead project and will only ever be applicable to that project. How can I get Maven to simply look in this /lib folder? And, assuming this is possible, do I then have to explicitly state all these dependencies in my project.xml (as opposed to Maven realising I want all jar files in that lib folder as dependencies)? It's no big deal if I can't do this, I have a script which I can use to generate the necessary <dependency> tags (although the format for this might be different if not from a repository?)

Hope someone can help.

JM



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to