Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
1.9.5
-
None
-
None
Description
The connectionUrl and developerConnectionUrl works properly when not tied to an execution tag. But Fails when within one execution tag.
This works:
<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>
And This does not work:
<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>
executing: mvn scm:export.
The run within execution tags uses the default value instead of connectionUrl.