You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Luís Soares <lo...@di.uminho.pt> on 2007/05/07 12:51:35 UTC

Multi-module project with Aggregation and SCM

Hi all,

 I was wondering if it is possible the following procedure:
 
I have a multi-module maven project that has, lets say, 3 modules:

Project
 - Module1
 - Module2
 - Module3

In the top-level pom I state that there are several modules aggregated:

<modules>
  <module>Module1</module>
  <module>Module2</module>
  <module>Module3</module>
</modules>


Now, I was wondering if is there a way that I can get maven to, and
given only the root pom, fetch the submodules from a SCM URL (different
for each module).


$ ls -la
pom.xml
$ mvn ...
...
$ ls
Module1  Module2  Module3  pom.xml


-- 
Luís Soares
* los@di.uminho.pt * http://gsd.di.uminho.pt/members/los *
* gpg: C55B F036 E664 AFD3 40C8 7322 1978 6C65 E678 C223 *