Thank you for quick response. Any way to do this by keeping lib directory? With several environments and different network zones across which builds are done (dev, QA, production), the transition from ANT to Maven needs happen in more gradually to reduce the risk on quality of the software delivery. In other words, without changing any directory structure, can I use Maven for full enterprise level J2EE application with EAR, JAR and WAR with WebLogic EJBs? Thanks, Vipul
________________________________ From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Sat 12/30/2006 10:36 PM To: Maven Users List Subject: Re: Newbie question- 3rd party jars On 12/30/06, Sagare, Vipul <[EMAIL PROTECTED]> wrote: > Both. > > I would like them to be in the classpath and in jar as well. Normally you would install them in your local repository and then use a <dependency> element in your pom. If you're working with other developers, you'll probably want to establish an internal/corporate repository so that each developer doesn't have to install them individually. Then you won't need that "lib" directory at all, the jars in your local repository will be shared across all of your Maven-built projects. To include jars within a jar, I don't see a way to convince the jar plugin to do it: http://maven.apache.org/plugins/maven-jar-plugin/ but you can use the assembly plugin: http://maven.apache.org/plugins/maven-assembly-plugin/ -- Wendy --------------------------------------------------------------------- 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]