Jump to content

ReleasingToMavenCentral/Settings.xml

From Wikitech
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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