You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Roberto de Castro <ro...@gmail.com> on 2006/09/20 17:41:52 UTC
Problems checking out 2 subversion modules using M2
Hi, I'm trying to checking out 2 subversion modules, Mod1 and Mod2, but,
Maven2 checks out the same module, Mod1, twice.
How can I perform this?
Here is part of my pom.xml:
...
<plugins>
<plugin>
<artifactId>maven-scm-plugin</artifactId>
<executions>
<execution>
<phase>process-resources</phase>
<goals>
<goal>checkout</goal>
</goals>
<configuration>
<checkoutDirectory>${basedir}/out/Mod1</checkoutDirectory>
<tagBase>svn://57.32.12.212/Repos/Siscargas/producao/Mod1</tagBase>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-scm-plugin</artifactId>
<executions>
<execution>
<phase>process-resources</phase>
<goals>
<goal>checkout</goal>
</goals>
<configuration>
<checkoutDirectory>${basedir}/out/Mod2</checkoutDirectory>
<tagBase>svn://57.32.12.212/Repos/Siscargas/producao/Mod2</tagBase>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
Regards,
Roberto
Re: Problems checking out 2 subversion modules using M2
Posted by Roberto de Castro <ro...@gmail.com>.
Hi all. I managed to check out more than 1 subversion module al last. I
included an "id" tag in each execution of scm plugin to identify it. Like
this:
<execution>
<id>module_name</id>
<phase>process-resources</phase>
> <goals>
> <goal>checkout</goal>
> </goals>
...
If you don't include this tag, M2 don't check out the second subversion
module, neither, warns you about the problem. Really obscure! Unfortunately!
Best regards,
Roberto.
On 9/20/06, Roberto de Castro <ro...@gmail.com> wrote:
>
> Hi, I'm trying to checking out 2 subversion modules, Mod1 and Mod2, but,
> Maven2 checks out the same module, Mod1, twice.
> How can I perform this?
> Here is part of my pom.xml:
>
> ...
> <plugins>
> <plugin>
> <artifactId>maven-scm-plugin</artifactId>
> <executions>
> <execution>
> <phase>process-resources</phase>
> <goals>
> <goal>checkout</goal>
> </goals>
> <configuration>
>
> <checkoutDirectory>${basedir}/out/Mod1</checkoutDirectory>
>
> <tagBase>svn://57.32.12.212/Repos/Siscargas/producao/Mod1</tagBase>
> </configuration>
> </execution>
> </executions>
> </plugin>
> <plugin>
> <artifactId>maven-scm-plugin</artifactId>
> <executions>
> <execution>
> <phase>process-resources</phase>
> <goals>
> <goal>checkout</goal>
> </goals>
> <configuration>
>
> <checkoutDirectory>${basedir}/out/Mod2</checkoutDirectory>
>
> <tagBase>svn://57.32.12.212/Repos/Siscargas/producao/Mod2</tagBase>
> </configuration>
> </execution>
> </executions>
> </plugin>
> </plugins>
>
>
> Regards,
> Roberto
>