Thanks Christian, I have problem, when i run maven i get (Attempting to downlaod A-.jar Error retrieving artifact from [http://www.ibiblio.org/maven/A/jars/A-.jars)
A.jar should be created during the build and not before it! do you have any suggestions? Thanks in advance On Apr 6, 2005 12:36 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > this is easy with maven. To do that, you must define a reactor and > dependencies in each project descriptor depends on the pom source > of the other project source results: > > A: <dependency> > <groupId>${pom.groupId}</groupId> > <artifactId>B</artifactId> > <version>${pom.currentVersion}</version> > <type>jar</type> > </dependency> > > <dependency> > <groupId>${pom.groupId}</groupId> > <artifactId>C</artifactId> > <version>${pom.currentVersion}</version> > <type>jar</type> > </dependency> > > When you use it, the reactor checks each dependency in the project > descriptors (A,B,C) and determines the build order dynamicly. For > better understanding of these concepts you should read: > > http://www.theserverside.com/articles/article.tss?l=MavenMagic > > Bye, > Chrisitan > > > >Hi, > >I have a main project A that depends on subprojects B and C. > >A needs B and C as jar dependencies to be built so B and C must be > >compiled and jared and then to compile A. > >how can i perform that order with multiproject goal? how can i refer > >to B and C as depndencies in the project.xml of A ? > >which properties to set? > > >thanks in advance, > >Bahaa > > BG-PHOENICS GMBH > IT-EW / DS > Thurnithistr.16 > 30519 Hannover > Telefon: 0511-987-1248 > > mailto: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]