This document is intended to set up the Maven committer settings, i.e. the ${user.home}/.m2/settings.xml.
Maven uses several servers configuration to deploy snapshots, releases and documentation on the Apache servers. You need to tell to Maven what your Apache username is. Please note that the servers now use your LDAP credentials, which may differ from your old SVN credentials.
It is highly recommended to use Maven's password encryption capabilities for your passwords.
<settings> <servers> <!-- To publish a snapshot of some part of Maven --> <server> <id>apache.snapshots.https</id> <username> <!-- YOUR APACHE LDAP USERNAME --> </username> <password> <!-- YOUR APACHE LDAP PASSWORD --> </password> </server> <!-- To stage a release of some part of Maven --> <server> <id>apache.releases.https</id> <username> <!-- YOUR APACHE LDAP USERNAME --> </username> <password> <!-- YOUR APACHE LDAP PASSWORD --> </password> </server> </servers> <profiles> <profile> <id>apache</id> <activation> <activeByDefault>false</activeByDefault> </activation> <properties> <mavenExecutorId>forked-path</mavenExecutorId> <gpg.keyname>${gpg.keyname}</gpg.keyname> <!-- optional --> <gpg.passphrase>${gpg.passphrase}</gpg.passphrase> </properties> </profile> </profiles> </settings>
You also need to be a member of the group apcvs and maven on people.apache.org.
A copy of a settings.xml emplate file can be downloaded from SVN.