javadoc details 43/3243/1
authorPamela Dragosh <pdragosh@research.att.com>
Mon, 10 Apr 2017 14:24:23 +0000 (10:24 -0400)
committerPamela Dragosh <pdragosh@research.att.com>
Mon, 10 Apr 2017 14:24:31 +0000 (10:24 -0400)
Change-Id: I0d120d4439d9304fa66bf610488c03fdbf3e03c4
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index ed88c9f..0eaf5f7 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -46,6 +46,7 @@
                <sonar.jacoco.itReportPath>/opt/app/jacoco-it.exec</sonar.jacoco.itReportPath>
                <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
                <nexusproxy>https://nexus.onap.org</nexusproxy>
+                <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
        </properties>
 
        <modules>
                        <url>${nexusproxy}/content/repositories/snapshots/</url>
                </snapshotRepository>
                <site>
-                       <id>ecomp-javadoc</id>
-                       <url>dav:https://ecomp-nexus:8443/repository/policy-javadoc/${project.version}</url>
+                       <id>ecomp-site</id>
+                       <url>dav:${nexusproxy}${sitePath}</url>
                </site>
        </distributionManagement>
 
                                        </excludes>
                                </configuration>
                        </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>
                <pluginManagement>
                        <plugins>
                        </plugins>
                </pluginManagement>
        </build>
+       <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>
+
 </project>