diff options
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 162 |
1 files changed, 72 insertions, 90 deletions
@@ -6,7 +6,7 @@ <packaging>jar</packaging> <version>1.0.2-SNAPSHOT</version> <name>ASDC Client</name> - + <properties> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> @@ -16,28 +16,26 @@ <nexus.proto>https</nexus.proto> <build.version>1.0.0</build.version> </properties> - <repositories> - <repository> - <!-- Snapshots repository has ECOMP snapshot artifacts --> - <id>nexus-snapshots</id> - <name>Nexus Maven Central - Snapshots</name> - <url>${nexus.proto}://${nexus.host}:${nexus.port}/repository/maven-snapshots/</url> - </repository> - <repository> - <!-- Releases repository has ECOMP release artifacts --> - <id>nexus</id> - <name>Nexus Maven Central - Releases</name> - <url>${nexus.proto}://${nexus.host}:${nexus.port}/repository/maven-releases/</url> - </repository> - <repository> - <!-- Snapshots repository has ECOMP snapshot artifacts --> - <id>oss-snapshots</id> - <name>oss Central - Snapshots</name> - <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url> - </repository> - </repositories> - + <repository> + <!-- Snapshots repository has ECOMP snapshot artifacts --> + <id>nexus-snapshots</id> + <name>Nexus Maven Central - Snapshots</name> + <url>${nexus.proto}://${nexus.host}:${nexus.port}/repository/maven-snapshots/</url> + </repository> + <repository> + <!-- Releases repository has ECOMP release artifacts --> + <id>nexus</id> + <name>Nexus Maven Central - Releases</name> + <url>${nexus.proto}://${nexus.host}:${nexus.port}/repository/maven-releases/</url> + </repository> + <repository> + <!-- Snapshots repository has ECOMP snapshot artifacts --> + <id>oss-snapshots</id> + <name>oss Central - Snapshots</name> + <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url> + </repository> + </repositories> <dependencies> <dependency> @@ -72,77 +70,61 @@ <version>1.16</version> </dependency> </dependencies> - - <profiles> - <profile> - <id>att-external</id> - - <distributionManagement> - <repository> - <id>vid-releases</id> - <name>VID Release Repository</name> - <url>https://ecomp-nexus:8443/repository/maven-releases</url> - </repository> - <snapshotRepository> - <id>vid-snapshots</id> - <name>VID Snapshot Repository</name> - <url>https://ecomp-nexus:8443/repository/maven-snapshots</url> - </snapshotRepository> - <!-- added for javadoc --> - <site> - <id>vid-javadoc</id> - <url>dav:https://ecomp-nexus:8443/repository/vid-javadoc/${project.version}</url> - </site> - </distributionManagement> - </profile> - <profile> - <id>jenkins</id> + <distributionManagement> + <repository> + <id>vid-releases</id> + <name>VID Release Repository</name> + <url>${nexus.proto}://${nexus.host}:${nexus.port}/repository/maven-releases/</url> + </repository> + <snapshotRepository> + <id>vid-snapshots</id> + <name>VID Snapshot Repository</name> + <url>${nexus.proto}://${nexus.host}:${nexus.port}/repository/maven-snapshots/</url> + </snapshotRepository> + <!-- added for javadoc --> + <site> + <id>vid-javadoc</id> + <url>dav:https://ecomp-nexus:8443/repository/vid-javadoc/${project.version}</url> + </site> + </distributionManagement> - <activation> - <property> - <name>env.BUILD_NUMBER</name> - </property> - </activation> + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>cobertura-maven-plugin</artifactId> + <version>2.7</version> + <configuration> + <formats> + <format>xml</format> + </formats> + </configuration> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>cobertura</goal> + </goals> + </execution> + </executions> + </plugin> + <!-- added for javadoc --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-site-plugin</artifactId> + <version>3.6</version> + <dependencies> + <dependency> + <groupId>org.apache.maven.wagon</groupId> + <artifactId>wagon-webdav-jackrabbit</artifactId> + <version>2.10</version> + </dependency> + </dependencies> + </plugin> + </plugins> + </build> - <build> - <plugins> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>cobertura-maven-plugin</artifactId> - <version>2.7</version> - <configuration> - <formats> - <format>xml</format> - </formats> - </configuration> - <executions> - <execution> - <phase>package</phase> - <goals> - <goal>cobertura</goal> - </goals> - </execution> - </executions> - </plugin> - <!-- added for javadoc --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-site-plugin</artifactId> - <version>3.6</version> - <dependencies> - <dependency> - <groupId>org.apache.maven.wagon</groupId> - <artifactId>wagon-webdav-jackrabbit</artifactId> - <version>2.10</version> - </dependency> - </dependencies> - </plugin> - </plugins> - </build> - - </profile> - </profiles> <!-- added for javadoc --> <reporting> <plugins> |