You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm-users@maven.apache.org by Richard Hoberman <ri...@sadalbari.com> on 2010/02/11 00:32:13 UTC
How to specify username for release plugin with Maven Scm 1.3 Git
provider?
Release notes for Maven Scm 1.3 include the bug fix: * [*SCM*-516] -
git provider doesn't respect *username* in settings.xml
However, I can't mvn+scm+release+git to honour my settings file. I
think my problem may lie with the id I'm using for the server, but I
don't know what it should be.
More details below. Please help.
Richard
In particular, I find this post confusing:
http://markmail.org/message/upjecqichqtzuirg?q=scm+username+settings
There is no obvious connection between the developerConnection and any
of the server ids. (My release server settings for Nexus are picked up
fine.)
POM contains:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>1.3</version>
<configuration>
<connectionType>developerConnection</connectionType>
</configuration>
</plugin>
My settings file contains:
<settings>
<servers>
<server>
<id>releases</id>
<username>deployment</username>
<password>...</password>
</server>
<server>
<id>developerConnection</id>
<username>hoberman</username>
</server>
</servers>
...
</settings>