Jump to content

ReleasingToMavenCentral/Pom.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, make sure your project pom.xml includes Archiva's repository entries in the distributionManagement section:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns=...>

  <distributionManagement>
    <repository>
      <id>archiva.releases</id>
      <name>Internal Release Repository</name>
      <url>https://archiva.wikimedia.org/repository/releases/</url>
    </repository>
    <snapshotRepository>
      <id>archiva.snapshots</id>
      <name>Internal Snapshot Repository</name>
      <url>https://archiva.wikimedia.org/repository/snapshots/</url>
    </snapshotRepository>
  </distributionManagement>

See also