[ https://issues.apache.org/jira/browse/SCM-861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17965029#comment-17965029 ]
Olivier Lamy commented on SCM-861: ---------------------------------- This project has moved from Jira to GitHub Issues. This issue was migrated to [apache/maven-scm#1091|https://github.com/apache/maven-scm/issues/1091]. > connectionUrl and developerConnectionUrl does not work when within execution > tag > -------------------------------------------------------------------------------- > > Key: SCM-861 > URL: https://issues.apache.org/jira/browse/SCM-861 > Project: Maven SCM (Moved to GitHub Issues) > Issue Type: Bug > Components: maven-plugin > Affects Versions: 1.9.5 > Reporter: Daniel Diehl > Priority: Major > > The connectionUrl and developerConnectionUrl works properly when not tied to > an execution tag. But Fails when within one execution tag. > This works: > > {code:java} > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-scm-plugin</artifactId> > <version>1.9.5</version> > <configuration> > <connectionUrl>scm:svn:http://myhost/svn/publicResources</connectionUrl> > <recursive>false</recursive> > <useExport>true</useExport> > <connectionType>connection</connectionType> > <exportDirectory>${basedir}/target/externalResources</exportDirectory> > </configuration> > </plugin> > {code} > > And This does not work: > {code:java} > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-scm-plugin</artifactId> > <version>1.9.5</version> > <executions> > <execution> > <id>ROOT</id> > <goals> > <goal>export</goal> > </goals> > <configuration> > > <connectionUrl>scm:svn:http://myhost/svn/publicResources</connectionUrl> > <recursive>false</recursive> > <useExport>true</useExport> > <connectionType>connection</connectionType> > > <exportDirectory>${basedir}/target/externalResources</exportDirectory> > </configuration> > </execution> > </executions> > </plugin> > {code} > executing: _mvn scm:export._ > > The run within execution tags uses the default value instead of connectionUrl. > -- This message was sent by Atlassian Jira (v8.20.10#820010)