Tapan,

We use a multiproject maven setup and extend the base project.xml file with
a sub-project specific project.xml.

The snippet below downloads everything from a repository local or remote,
that can be setup by using a build.properties file.
It builds a common-1.0.jar file that is put into a local personal
repository..

<project>
   <extend>../../project.xml</extend>
   <id>common</id>
   <currentVersion>0.1</currentVersion>
   <shortDescription>Ticketing Common</shortDescription>
   <description>Description</description>
   <dependencies>
      <dependency>
         <groupId>commons-logging</groupId>
         <artifactId>commons-logging</artifactId>
         <version>1.0.3</version>
      </dependency>
      <dependency>
         <groupId>commons-lang</groupId>
         <artifactId>commons-lang</artifactId>
         <version>2.0</version>
      </dependency>
      ........
   </dependencies>
</project> 


Why not put your library files into a local maven repositorie.. Works fine!

Marco
-----Original Message-----
From: Tapan Nanawati [mailto:[EMAIL PROTECTED] 
Sent: vrijdag 9 januari 2004 13:02
To: Maven List (E-mail)
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]

This e-mail and any attachment is for authorised use by the intended recipient(s) 
only. It may contain proprietary material, confidential information and/or be subject 
to legal privilege. It should not be copied, disclosed to, retained or used by, any 
other party. If you are not an intended recipient then please promptly delete this 
e-mail and any attachment and all copies and inform the sender. Thank you.

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

Reply via email to