javadoc details

Change-Id: Ib9e96b7d388fbe6c2ce2564953fda735fb65042d
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
diff --git a/pom.xml b/pom.xml
index 9b7b05e..37361bc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -36,6 +36,7 @@
 		<maven.compiler.target>1.8</maven.compiler.target>
 		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 		<nexusproxy>https://nexus.onap.org</nexusproxy>
+                <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
 	</properties>
 
 
@@ -76,8 +77,8 @@
 			<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>
 
@@ -145,6 +146,38 @@
 					</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>
 	</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>