You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Daniel Diehl (JIRA)" <ji...@apache.org> on 2018/02/15 15:10:00 UTC
[jira] [Created] (SCM-861) connectionUrl and developerConnectionUrl
does not work when within execution tag
Daniel Diehl created SCM-861:
--------------------------------
Summary: 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
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)