maven-scm-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Hoberman <richard.hober...@sadalbari.com>
Subject How to specify username for release plugin with Maven Scm 1.3 Git provider?
Date Wed, 10 Feb 2010 23:32:13 GMT
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>

Mime
View raw message