Hi Emmanuel, Please correct If I did not understood correctly :- 1) I will need to create directory structure like a repository for my library files something like this :-
lib-| | xerces | | jars +xerces-1.0.2.jar Is my structure right? 2) Then I need to add this line to build.properties (Is this correct?) at the same path as project.xml maven.remote.repo = http://www.ibiblio.org/maven,file:///c:/project/libraries/lib (lib is the path to my lib folder) Then for the second (bad) option :- Could you please tell me the syntax for addpath tag. I guess we might have to use this option since our libraries are coming from CVS and it would be difficult porting them to differnt directory structure (that will need some discussion). Thanks for inputs. Regards Tapan -----Original Message----- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 5:38 PM To: Maven Users List Subject: Re: Classpath issue - Want to use jars from my directory and not from maven repository 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]