aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVarun Gudisena <vg411h@att.com>2017-09-21 23:38:33 -0500
committerVarun Gudisena <vg411h@att.com>2017-09-21 23:38:37 -0500
commit26b93395a6c7a6688064ce8b0ae7162327ca8fd7 (patch)
tree29603ff1994327e696a2f9a234740eeb06d1b8d4
parent81e8a7acf9a3ab46fd543d5933ad7436e5e38770 (diff)
Add maven site plugin
Added maven site plug for jenkins job issue-id: DMAAP-144 Change-Id: Ie91d85de58fe92c421ce86fb43ad70638b4a76d7 Signed-off-by: Varun Gudisena <vg411h@att.com>
-rw-r--r--pom.xml22
1 files changed, 21 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index c918734..951da70 100644
--- a/pom.xml
+++ b/pom.xml
@@ -33,7 +33,7 @@
<parent>
<groupId>org.onap.oparent</groupId>
<artifactId>oparent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <version>0.1.1</version>
</parent>
<properties>
<!-- for the client library, we want to allow 1.6 or later -->
@@ -51,7 +51,15 @@
<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>
@@ -166,6 +174,18 @@
</resources>
<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>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4</version>
<configuration>