[ http://jira.codehaus.org/browse/SCM-353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Tran closed SCM-353. ------------------------ Assignee: Dan Tran Resolution: Won't Fix missing configuration. First you need set your <goal> to 'checkout' then set a phase to each execute. Best to query your quest with maven list first when in doubt about maven configration, likely you have a quick answer it works for me. > maven-scm-plugin configuration is ignored if executions present > --------------------------------------------------------------- > > Key: SCM-353 > URL: http://jira.codehaus.org/browse/SCM-353 > Project: Maven SCM > Issue Type: Bug > Components: maven-plugin > Environment: Maven version: 2.0.7 > Java version: 1.6.0_01 > Reporter: jason harrop > Assignee: Dan Tran > Priority: Minor > > If I don't use the <executions> element, the embedded configuration is used. > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-scm-plugin</artifactId> > <version>1.0</version> > <configuration> > <connectionUrl> > > scm:svn:http://dev.plutext.org/svn/docx4j/trunk/docx4j > </connectionUrl> > <checkoutDirectory>docx4j</checkoutDirectory> > <goals>validate</goals> > </configuration> > </plugin> > However, I would like to checkout 2 modules from each of 2 different > repositories. > If I introduce <executions>, the plugin doesn't read the embedded > configuration. Instead, it falls back to what is defined in the <scm> > element (or if none exists, the super pom). > Here is what I have trying: > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-scm-plugin</artifactId> > <version>1.0</version> > <configuration> > <skipCheckoutIfExists /> > </configuration> > <executions> > <execution> > <id>checkout-docx4j</id> > <configuration> > <connectionUrl> > > scm:svn:http://dev.plutext.org/svn/docx4j/trunk/docx4j > </connectionUrl> > > <checkoutDirectory>docx4j</checkoutDirectory> > </configuration> > <goals> > <goal>validate</goal> > </goals> > </execution> > <execution> > <id>checkout-jackrabbit-webapp</id> > <configuration> > <connectionUrl> > > scm:svn:http://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit-webapp > </connectionUrl> > <checkoutDirectory> > jackrabbit-webapp > </checkoutDirectory> > </configuration> > <goals> > <goal>validate</goal> > </goals> > </execution> > </executions> > </plugin> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira