The best way:
Maven works only with repositories (local and remote), but you can define a
remote repository with the file protocol.

maven.remote.repo = http://www.ibiblio.org/maven,file:///<your_directory>/

If you use the file protocol, you must respect the repository structure in
your directory.

The bad way:
You can write a maven.xml, and add all you jars present in your lib
directory to the maven classpath with addpath tag.

Emmanuel

----- Original Message ----- 
From: "Tapan Nanawati" <[EMAIL PROTECTED]>
To: "Maven List (E-mail)" <[EMAIL PROTECTED]>
Sent: Friday, January 09, 2004 1:01 PM
Subject: Classpath issue - Want to use jars from my directory and not from
maven repository


> Hi all
> We have a specified lib folder where we have our library files. We want to
> use that for compiling the source and not download from the repository.
> Please tell me how to do that.
> I struggled with setting up various parameters in <dependencies> but could
> not succeed.
> If some one can give  a sample <dependency> element, it would be a great
> help.
> Thanks very much.
> Regards
> Tapan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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

Reply via email to