Merge "Add maven site plugin"
authorvarun gudisena <vg411h@att.com>
Fri, 22 Sep 2017 04:40:47 +0000 (04:40 +0000)
committerGerrit Code Review <gerrit@onap.org>
Fri, 22 Sep 2017 04:40:47 +0000 (04:40 +0000)
1  2 
pom.xml

diff --combined pom.xml
+++ b/pom.xml
        <artifactId>dmaapClient</artifactId>
        <packaging>jar</packaging>
        <version>1.0.0-SNAPSHOT</version>
 -      <name>dmaapClient</name>
 +      <name>dmaap-messagerouter-dmaapclient</name>
        <description>Client library for MR event routing API</description>
        <url>https://github.com/att/dmaap-framework</url>
  
        <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 -->
            <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>
                        </resource>
                </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>