diff options
-rw-r--r-- | pom.xml | 59 |
1 files changed, 32 insertions, 27 deletions
@@ -12,20 +12,25 @@ <maven.compiler.target>1.8</maven.compiler.target> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <nexusproxy>https://nexus.openecomp.org</nexusproxy> - <build.version>1.0.2-SNAPSHOT</build.version> + <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> + <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> + <stagingNexusPath>/content/repositories/staging/</stagingNexusPath> </properties> <repositories> <repository> - <!-- Snapshots repository has ECOMP snapshot artifacts --> - <id>nexus-snapshots</id> - <name>Nexus Maven Central - Snapshots</name> - <url>${nexusproxy}/content/repositories/snapshots/</url> + <id>ecomp-releases</id> + <name>VID Release Repository</name> + <url>${nexusproxy}/${releaseNexusPath}</url> + </repository> + <repository> + <id>ecomp-snapshots</id> + <name>VID Snapshot Repository</name> + <url>${nexusproxy}/${snapshotNexusPath}</url> </repository> <repository> - <!-- Releases repository has ECOMP release artifacts --> - <id>nexus</id> - <name>Nexus Maven Central - Releases</name> - <url>${nexusproxy}/content/repositories/releases/</url> + <id>ecomp-staging</id> + <name>VID Staging Repository</name> + <url>${nexusproxy}/${stagingNexusPath}</url> </repository> <repository> <!-- Snapshots repository has ECOMP snapshot artifacts --> @@ -35,6 +40,24 @@ </repository> </repositories> + <distributionManagement> + <repository> + <id>ecomp-releases</id> + <name>VID Release Repository</name> + <url>${nexusproxy}/${releaseNexusPath}</url> + </repository> + <snapshotRepository> + <id>ecomp-snapshots</id> + <name>VID Snapshot Repository</name> + <url>${nexusproxy}/${snapshotNexusPath}</url> + </snapshotRepository> + <!-- added for javadoc --> + <site> + <id>ecomp-javadoc</id> + <url>dav:${nexusproxy}/content/repositories/vid-javadoc/${project.version}</url> + </site> + </distributionManagement> + <dependencies> <dependency> <groupId>org.codehaus.jackson</groupId> @@ -69,24 +92,6 @@ </dependency> </dependencies> - <distributionManagement> - <repository> - <id>releases</id> - <name>VID Release Repository</name> - <url>${nexusproxy}/content/repositories/releases/</url> - </repository> - <snapshotRepository> - <id>snapshots</id> - <name>VID Snapshot Repository</name> - <url>${nexusproxy}/content/repositories/snapshots/</url> - </snapshotRepository> - <!-- added for javadoc --> - <site> - <id>javadoc</id> - <url>dav:${nexusproxy}/content/repositories/vid-javadoc/${project.version}</url> - </site> - </distributionManagement> - <build> <plugins> <plugin> |