I believe you can just list all your projects as modules in a parent pom.xml and add dependencies entries in the subproject pom.xml where appropriate. Maven 2 should figure out what order to build them in from there.
-----Original Message----- From: Trygve Laugstol [mailto:[EMAIL PROTECTED] Sent: Friday, August 05, 2005 4:16 PM To: Maven Users List Subject: Re: internal dependency on jar files.. On Fri, Aug 05, 2005 at 04:57:09PM -0400, Rizwan Merchant wrote: > > Hi, > I am trying to move from ant to maven2 for our build process. The current > build process creates some jar files from classes in our project. These jar > files are needed to further compile other code in the project (i.e. there > is dependency within the code base). How can I achieve this in maven2? In > ant what we do is jar the files and place them in a jar directory under the > project directory, I am not sure how to do this in maven2 because of its > repository approach. > Please help.. Put the JAR file in the repository and make it a normal <dependency>. If the JAR file is in unversioned either figure out the version or just give it a marker version, the date of the release or when you found it are good values to use. -- Trygve ---------------------------------------------------------------------- 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]
