You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Lalonde, Francis" <fr...@cgi.com> on 2010/03/22 16:45:22 UTC

scm "external projects" ?

Hi,

 

I'd like to setup an aggregator project that would know how to fetch its
modules from multiple scm repositories. Is there a way to let maven know
that a module folder content should come from a different scm hierarchy,
like subversion does with external projects?

 

Something like 

 

      <modules>

            <module>

                  <name>external-A</name>

                  <directory>moduleA</directory>

                  <scm>

 
<connection>scm:svn:server/repo/external-A</connection>

                  </scm>                  

            </module>

            <module>

                  <name>external-B</name>

                  <directory>moduleB</directory>

                  <scm>

 
<connection>scm:starteam:server:port/project/view/external-B</connection
>

                  </scm>                  

            </module>

      </modules>

 

would be really nice! I assume this kind of thing would be done by a
plugin for now. 

 

The goal is to create a meta project regrouping all our dev branches
under one hat. It is something that could be done by altering our SCM
folder hierarchy, but since we will be switching SCM soon (adios,
Starteam!), I would prefer a Maven-based solution, since it would enable
heterogeneous scm configs.

 

Francis