Well, I'm not aware of such a command. But what do you mean by "they are peers". If they are compulsorily side by side, then you could design a parent pom to make them related.
Note: are you using subversion? If so, the you might be able to use svn:external keyword to create a virtual parent directory that would contain the two project you're speaking about. And if you really want, you might want to consider maven-exec-plugin: http://mojo.codehaus.org/exec-maven-plugin/exec-mojo.html. You could launch the mvn install command. But this would be a lot dirtier than the previous solution imo. Cheers. 2008/12/10 Chris <[EMAIL PROTECTED]> > Is there a way for one Maven/Eclipse project to force the build of another? > > I asked this question once before, and the answer was to create a "reactor" > project and make the dependent projects modules. This is not possible; we > can't rearrange our directory structures. These two projects are peers and > are not part of a larger structure. > > All I need is a command, which can be issued from within a Maven POM or an > Ant script, to trigger a "mvn install" in another project in the Eclipse > environment. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Baptiste <Batmat> MATHUS - http://batmat.net Sauvez un arbre, Mangez un castor !
