diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2017-08-17 10:30:56 -0400 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2017-08-17 10:31:19 -0400 |
commit | 3c8b5be7267ebfcd4670ca57df68fee1cf4848f5 (patch) | |
tree | 26d8e8405f0e64f149ee5b9e2984eebefeed39c2 | |
parent | efbd099aa1b343dd8027e61c9c6f26c66255f982 (diff) |
Add missing properties and distributionManagement
In order for the release jobs to execute successfully and the
stage-site jobs to also succeed.
Change-Id: Iec826ef226d8053e3cd713925e33fd0d458fc2b2
Issue-Id: POLICY-139
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
-rw-r--r-- | pom.xml | 70 |
1 files changed, 69 insertions, 1 deletions
@@ -35,13 +35,81 @@ <packaging>pom</packaging> - <name>Policy - PAP</name> + <name>Policy - PDP</name> <description>Code that implements the Policy Decision Engine common code.</description> <properties> + <nexusproxy>https://nexus.onap.org</nexusproxy> + <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath> + <releases.path>content/repositories/releases/</releases.path> + <snapshots.path>content/repositories/snapshots/</snapshots.path> + <staging.path>content/repositories/staging/</staging.path> </properties> <modules> </modules> + <distributionManagement> + <site> + <id>ecomp-site</id> + <url>dav:${nexusproxy}${sitePath}</url> + </site> + </distributionManagement> + + <build> + <plugins> + <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.apache.maven.plugins</groupId> + <artifactId>maven-deploy-plugin</artifactId> + <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter --> + <configuration> + <skip /> + </configuration> + </plugin> + <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> + <reporting> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>2.10.4</version> + <configuration> + <failOnError>false</failOnError> + <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet> + <docletArtifact> + <groupId>org.umlgraph</groupId> + <artifactId>umlgraph</artifactId> + <version>5.6</version> + </docletArtifact> + <additionalparam>-views</additionalparam> + <useStandardDocletOptions>true</useStandardDocletOptions> + </configuration> + </plugin> + </plugins> + </reporting> + </project> |