I'm totally agree with Michal. ----- Original Message ----- From: "Maczka Michal" <[EMAIL PROTECTED]> To: "'Maven Users List'" <[EMAIL PROTECTED]> Sent: Friday, January 09, 2004 1:35 PM Subject: RE: Classpath issue - Want to use jars from my directory and not from maven repository
> Before doing anything I would suggest you to read some documenation (at > maven web site) > how maven works and what are key concepts. > > What you are trying to do is rather "off stream" and maybe maven is just > not for your team > (specially if your ant based build system works fine). > > To use Maven you will have to > > a) adapt Maven to your project > b) adapt your project to Maven. > > If you are not ready for b) > Maven has probably nothing to offer to you, as only a + b gives you an > access to all powerful features of maven. > > > Michal > > > -----Original Message----- > > From: Tapan Nanawati [mailto:[EMAIL PROTECTED] > > Sent: Friday, January 09, 2004 1:33 PM > > To: 'Maven Users List' > > Subject: RE: Classpath issue - Want to use jars from my directory and > > not from maven repository > > > > > > 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] > > > > --------------------------------------------------------------------- > 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]
