Hi Rizwan, The short answer is yes, but let me explain why that might not be as bad as it sounds.
Firstly - you shouldn't need to sift through your code. You just need to know what JARs get deployed with your apps and what versions they are. Many may be available on ibiblio. If they are not, but are otherwise publically available and distributable, you can put together requests to have them put at ibiblio so others don't have to go through it. If a lot of them come from the same people, you can request that we establish a sync relationship with them like we have with Apache, OpenSymphony, ObjectWeb, etc so that releases automatically go to the central repository. If you think there is an easier way to do this, please let us know - but at some point in any build script you will need to declare what JARs you are using. - Brett On 8/9/05, Rizwan Merchant <[EMAIL PROTECTED]> wrote: > > I have inherited a project with over 3500 source files, which are dependent > on many external jar files, many of which are not found in the maven2 > repository. Does this mean that I have to sift through ALL the code and > rename every single jar file, place it in the repository and create a .pom > file for each of these jar files?? > > -----Original Message----- > From: Litton, Tom - CEPM [mailto:[EMAIL PROTECTED] > Sent: Friday, August 05, 2005 7:13 PM > To: Maven Users List > Subject: RE: Adding a local jar to a module's classpath? > > > You have to have a pom file in the repository. > > For example: > <project> > <modelVersion>4.0.0</modelVersion> > <groupId>weblogic</groupId> > <artifactId>weblogic</artifactId> > <version>9.0</version> > </project> > > The best place to put it is the remote repository, but you can also put it > in your local repository. > > Also, you should rename the weblogic.jar file to weblogic-9.0.jar, or it > will fail later on. > > -----Original Message----- > From: Chris Wall [mailto:[EMAIL PROTECTED] > Sent: Friday, August 05, 2005 5:35 PM > To: [email protected] > Subject: Adding a local jar to a module's classpath? > > > Hey there. > > Using Maven2, how do you add a local jar to a module's build classpath? > > For instance, a module is dependent upon weblogic.jar. In the module's > pom.xml, I added the following: > > <dependency> > <groupId>weblogic</groupId> > <artifactId>weblogic</artifactId> > <version>9.0</version> > <scope>provided</scope> > </dependency> > > And I've added weblogic.jar to the following structure: > > C:\Documents and > Settings\Chris\.m2\repository\weblogic\weblogic\9.0\weblogic.jar > > Unfortunately "m2 install" produces the following: > > Downloading: > http://repo1.maven.org/maven2/weblogic/weblogic/9.0/weblogic-9.0.pom > [WARNING] Unable to get resource from repository > http://repo1.maven.org/maven2 > [INFO] BUILD FAILURE > > Appreciate your help. Thanks. > > -Chris > > > ---------------------------------------------------------------------- > The information contained in this transmission is intended only for > the personal and confidential use of the designated recipients named > herein. If the reader of this transmission is not the intended > recipient or an agent responsible for delivering it to the intended > recipient, you are hereby notified that you have received this > transmission in error, and that any review, dissemination, > distribution, or copying of this transmission is strictly prohibited. > If you have received this communication in error, please notify the > sender and return and delete the original transmission immediately. > Thank you. > > > --------------------------------------------------------------------- > 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]
