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

ReleasingToMavenCentral/Pom.xml

From Wikitech-static
Jump to navigation Jump to search

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