javadoc 43/2943/1
authorPamela Dragosh <pdragosh@research.att.com>
Mon, 3 Apr 2017 14:51:20 +0000 (10:51 -0400)
committerPamela Dragosh <pdragosh@research.att.com>
Mon, 3 Apr 2017 14:51:36 +0000 (10:51 -0400)
Change-Id: I86b82b47f59c5dd6fcf22fd6d42e8fc932132e5b
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index 1f04c04..63f5cc4 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -32,6 +32,7 @@
                <sonar.projectVersion>${project.version}</sonar.projectVersion>
                <common-modules.version>1.1.0-SNAPSHOT</common-modules.version>
                <nexusproxy>https://nexus.onap.org</nexusproxy>
+               <sitePath>/content/sites/site/org/onap/policy/${project.version}</sitePath>
        </properties>
 
 
                        <name>OpenECOMP Snapshot Repository</name>
                        <url>${nexusproxy}/content/repositories/snapshots/</url>
                </snapshotRepository>
+               <site>
+                       <id>ecomp-site</id>
+                       <url>dav:${nexusproxy}${sitePath}</url>
+               </site>
        </distributionManagement>
 
+       <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>
+
        <dependencies>
 
                <dependency>
                                        </execution>
                                </executions>
                        </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>
 </project>