Hi,
I need some help with scm checking out multiple modules and building them.
I have several projects I'm consolidating into a single jar. Reactor
checks for module poms before generate-sources executes.
How do I fix this issue ?
thanks..
g
POM sample to give you an idea of what I've done.
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>1.9.4</version>
<executions>
<execution>
<id>mod-1</id>
<phase>generate-sources</phase>
<configuration>
<connectionUrl>${mod-1.url}</connectionUrl>
<scmVersionType>${mod-1.versionType}</scmVersionType>
<scmVersion>${mod-1.version}</scmVersion>
<checkoutDirectory>${mod-1.directory}</checkoutDirectory>
</configuration>
<goals>
<goal>checkout</goal>
</goals>
</execution>
<execution>
<id>mod-2</id>
<phase>generate-sources</phase>
<configuration>
<connectionUrl>${mod-2.url}</connectionUrl>
<scmVersionType>${mod-2.versionType}</scmVersionType>
<scmVersion>${mod-2.version}</scmVersion>
<checkoutDirectory>${mod-2.directory}</checkoutDirectory>
</configuration>
<goals>
<goal>checkout</goal>
</goals>
</execution>
</executions>
.....
</build>