You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

ReleasingToMavenCentral/Settings.xml

From Wikitech-static
Jump to navigation Jump to search

To deploy to Archiva, you'll need to get the password for the archiva-deploy user, then add a couple of server entries to ~/.m2/settings.xml:

<settings>
  <servers>
    <server>
      <id>archiva.releases</id>
      <username>archiva-deploy</username>
      <password>ARCHIVA_DEPLOY_PASSWORD</password>
    </server>
    <server>
      <id>archiva.snapshots</id>
      <username>archiva-deploy</username>
      <password>ARCHIVA_DEPLOY_PASSWORD</password>
    </server>
  </servers>
</settings>

See also