summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVarun Gudisena <vg411h@att.com>2017-09-21 23:39:45 -0500
committerVarun Gudisena <vg411h@att.com>2017-09-21 23:39:51 -0500
commitd245aec3c055ddb1e9417ccddfc41b2d41884e35 (patch)
treeaff498b257a902806a73eb19331c6c4ec1726aea
parente133d52b9f8ea310c4aca08ca75a0806de758876 (diff)
Add maven site plugin
Added maven site plug for jenkins job issue-id: DMAAP-144 Change-Id: Id54122d4d3e0038c3d4767a38302c3c0077b507d Signed-off-by: Varun Gudisena <vg411h@att.com>
-rw-r--r--pom.xml21
1 files changed, 20 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index 7a50428..ca7b437 100644
--- a/pom.xml
+++ b/pom.xml
@@ -32,7 +32,7 @@
<parent>
<groupId>org.onap.oparent</groupId>
<artifactId>oparent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <version>0.1.1</version>
</parent>
<properties>
@@ -52,11 +52,18 @@
<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>
<!-- Distribution management -->
<!-- Currently all artifacts will be uploaded to att-public-group reposiotry
on Maven Central -->
+ <distributionManagement>
+ <site>
+ <id>ecomp-site</id>
+ <url>dav:${nexusproxy}${sitePath}</url>
+ </site>
+ </distributionManagement>
<!-- End Distribution management -->
@@ -291,6 +298,18 @@
<!-- -->
<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>
<version>2.10.4</version>
<configuration>