diff options
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 40 |
1 files changed, 28 insertions, 12 deletions
@@ -11,8 +11,7 @@ <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <nexus.host>nexus.openecomp.org</nexus.host> - <nexus.proto>https</nexus.proto> + <nexusproxy>https://nexus.openecomp.org</nexusproxy> <build.version>1.0.2-SNAPSHOT</build.version> </properties> <repositories> @@ -20,13 +19,13 @@ <!-- Snapshots repository has ECOMP snapshot artifacts --> <id>nexus-snapshots</id> <name>Nexus Maven Central - Snapshots</name> - <url>${nexus.proto}://${nexus.host}/content/repositories/snapshots/</url> + <url>${nexusproxy}/content/repositories/snapshots/</url> </repository> <repository> <!-- Releases repository has ECOMP release artifacts --> <id>nexus</id> <name>Nexus Maven Central - Releases</name> - <url>${nexus.proto}://${nexus.host}/content/repositories/releases/</url> + <url>${nexusproxy}/content/repositories/releases/</url> </repository> <repository> <!-- Snapshots repository has ECOMP snapshot artifacts --> @@ -72,25 +71,42 @@ <distributionManagement> <repository> - <id>ecomp-releases</id> + <id>releases</id> <name>VID Release Repository</name> - <url>${nexus.proto}://${nexus.host}/content/repositories/releases/</url> + <url>${nexusproxy}/content/repositories/releases/</url> </repository> <snapshotRepository> - <id>ecomp-snapshots</id> + <id>snapshots</id> <name>VID Snapshot Repository</name> - <url>${nexus.proto}://${nexus.host}/content/repositories/snapshots/</url> + <url>${nexusproxy}/content/repositories/snapshots/</url> </snapshotRepository> <!-- added for javadoc --> <site> - <id>ecomp-javadoc</id> - <url>dav:${nexus.proto}://${nexus.host}/content/repositories/vid-javadoc/${project.version}</url> + <id>javadoc</id> + <url>dav:${nexusproxy}/content/repositories/vid-javadoc/${project.version}</url> </site> </distributionManagement> <build> - <plugins> - <plugin> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>versions-maven-plugin</artifactId> + <version>1.3.1</version> + </plugin> + <plugin> + <groupId>org.sonatype.plugins</groupId> + <artifactId>nexus-staging-maven-plugin</artifactId> + <version>1.6.7</version> + <extensions>true</extensions> + <configuration> + <nexusUrl>${nexusproxy}</nexusUrl> + <stagingProfileId>176c31dfe190a</stagingProfileId> + <serverId>ecomp-staging</serverId> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <version>2.7</version> |