summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVarun Gudisena <vg411h@att.com>2017-09-21 23:36:07 -0500
committerVarun Gudisena <vg411h@att.com>2017-09-21 23:36:12 -0500
commit915e12f77a973217422a2381e9872dbf4eacfef8 (patch)
tree91d3763efb2e556a06052ffe5af62423c9706afa
parentcc8a86bf1bf582e0bb5e9f2c9ef2c3547c77574f (diff)
Add site plugin
Added maven site plugin for stage-site jenkins job issue-id: DMAAP-144 Change-Id: I1328d21fc4653899d1cef43f71ad5ea0bf3e4c26 Signed-off-by: Varun Gudisena <vg411h@att.com>
-rw-r--r--pom.xml23
1 files changed, 22 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index 5089b52..a57d502 100644
--- a/pom.xml
+++ b/pom.xml
@@ -31,7 +31,7 @@
<parent>
<groupId>org.onap.oparent</groupId>
<artifactId>oparent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <version>0.1.1</version>
</parent>
<name>dmaapMMAgent</name>
@@ -48,7 +48,16 @@
<sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
<!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
<sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
+ <sitePath>/content/sites/site/org/onap/dmaap/${project.artifactId}/${project.version}</sitePath>
</properties>
+
+ <distributionManagement>
+ <site>
+ <id>ecomp-site</id>
+ <url>dav:${nexusproxy}${sitePath}</url>
+ </site>
+ </distributionManagement>
+
<licenses>
<license>
<name>Apache License Version 2.0</name>
@@ -88,6 +97,18 @@
</dependencies>
<build>
<plugins>
+ <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>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>