[ https://issues.apache.org/jira/browse/SCM-580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17962143#comment-17962143 ]
ASF GitHub Bot commented on SCM-580: ------------------------------------ jira-importer opened a new issue, #795: URL: https://github.com/apache/maven-scm/issues/795 **[Lee Fox](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=xanxir12)** opened **[SCM-580](https://issues.apache.org/jira/browse/SCM-580?redirect=false)** and commented When utilizing the embedded configuration tag, everything is perfect. However, once I try to use executions, the plugin fails to recognize the settings specified in within the execution tag. Here is the portion of my pom file that doesn't work: ```xml <profile> <id>bootstrap-all</id> <activation> <activeByDefault>true</activeByDefault> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-scm-plugin</artifactId> <version>1.4</version> <configuration> <skipCheckoutIfExists/> </configuration> <executions> <execution> <id>checkout_a</id> <configuration> <connectionUrl>scm:svn:https://svnserver/svn/prod/java/aws-core-webutils/trunk/</connectionUrl> <checkoutDirectory>${basedir}..\aws-core-webutils</checkoutDirectory> </configuration> <phase>process-resources</phase> <goals> <goal>checkout</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> ``` However, this does work: ```xml <profile> <id>bootstrap-all</id> <activation> <activeByDefault>true</activeByDefault> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-scm-plugin</artifactId> <version>1.4</version> <configuration> <skipCheckoutIfExists/> <connectionUrl>scm:svn:https://svnserver/svn/prod/java/aws-core-webutils/trunk/</connectionUrl> <checkoutDirectory>${basedir}\..\aws-core-webutils</checkoutDirectory> </configuration> </plugin> </plugins> </build> </profile> ``` --- **Affects:** 1.4 > Maven SCM plugin configuration ignored if executions are used. > -------------------------------------------------------------- > > Key: SCM-580 > URL: https://issues.apache.org/jira/browse/SCM-580 > Project: Maven SCM (Moved to GitHub Issues) > Issue Type: Bug > Components: maven-plugin > Affects Versions: 1.4 > Environment: Windows > Reporter: Lee Fox > Assignee: Robert Scholte > Priority: Major > > When utilizing the embedded configuration tag, everything is perfect. > However, once I try to use executions, the plugin fails to recognize the > settings specified in within the execution tag. Here is the portion of my > pom file that doesn't work: > {code:xml} > <profile> > <id>bootstrap-all</id> > <activation> > <activeByDefault>true</activeByDefault> > </activation> > <build> > <plugins> > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-scm-plugin</artifactId> > <version>1.4</version> > <configuration> > <skipCheckoutIfExists/> > </configuration> > <executions> > <execution> > > <id>checkout_a</id> > <configuration> > > <connectionUrl>scm:svn:https://svnserver/svn/prod/java/aws-core-webutils/trunk/</connectionUrl> > > <checkoutDirectory>${basedir}..\aws-core-webutils</checkoutDirectory> > </configuration> > > <phase>process-resources</phase> > <goals> > > <goal>checkout</goal> > </goals> > </execution> > </executions> > </plugin> > </plugins> > </build> > </profile> > {code} > However, this does work: > {code:xml} > <profile> > <id>bootstrap-all</id> > <activation> > <activeByDefault>true</activeByDefault> > </activation> > <build> > <plugins> > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-scm-plugin</artifactId> > <version>1.4</version> > <configuration> > <skipCheckoutIfExists/> > > <connectionUrl>scm:svn:https://svnserver/svn/prod/java/aws-core-webutils/trunk/</connectionUrl> > > <checkoutDirectory>${basedir}\..\aws-core-webutils</checkoutDirectory> > </configuration> > </plugin> > </plugins> > </build> > </profile> > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)