[ https://issues.apache.org/jira/browse/SCM-861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Boué closed SCM-861.
------------------------------
Resolution: Not A Problem
> 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
> 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
(v7.6.3#76005)
|