[VID-6] Added javadoc params to subprojects

Change-Id: Ie1be22efd977d705a0fc8b1d81785f029653519c
Signed-off-by: jimmydot <jf2512@att.com>
diff --git a/epsdk-app-onap/pom.xml b/epsdk-app-onap/pom.xml
index bb264c3..3c7fc5d 100755
--- a/epsdk-app-onap/pom.xml
+++ b/epsdk-app-onap/pom.xml
@@ -31,46 +31,46 @@
 		<sitePath>/content/sites/site/org/openecomp/vid/${project.version}</sitePath>

 	</properties>

 

-			<repositories>

-				<repository>

-					<id>ecomp-releases</id>

-					<name>VID Release Repository</name>

-					<url>${nexusproxy}${releaseNexusPath}</url>

-				</repository>

-				<repository>

-					<id>ecomp-snapshots</id>

-					<name>VID Snapshot Repository</name>

-					<url>${nexusproxy}${snapshotNexusPath}</url>

-				</repository>

-				<repository>

-					<id>ecomp-staging</id>

-					<name>VID Staging Repository</name>

-					<url>${nexusproxy}${stagingNexusPath}</url>

-				</repository>

-				<repository>

-					<!-- Snapshots repository has ECOMP snapshot artifacts -->

-					<id>oss-snapshots</id>

-					<name>oss Central - Snapshots</name>

-					<url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>

-				</repository>

-			</repositories>

-			<distributionManagement>

-				<repository>

-					<id>ecomp-releases</id>

-					<name>VID Release Repository</name>

-					<url>${nexusproxy}/${releaseNexusPath}</url>

-				</repository>

-				<snapshotRepository>

-					<id>ecomp-snapshots</id>

-					<name>VID Snapshot Repository</name>

-					<url>${nexusproxy}/${snapshotNexusPath}</url>

-				</snapshotRepository>

-				<!-- added for javadoc -->

-				<site>

-					<id>ecomp-site</id>

-					<url>dav:${nexusproxy}${sitePath}</url>

-				</site>

-			</distributionManagement>

+	<repositories>

+		<repository>

+			<id>ecomp-releases</id>

+			<name>VID Release Repository</name>

+			<url>${nexusproxy}${releaseNexusPath}</url>

+		</repository>

+		<repository>

+			<id>ecomp-snapshots</id>

+			<name>VID Snapshot Repository</name>

+			<url>${nexusproxy}${snapshotNexusPath}</url>

+		</repository>

+		<repository>

+			<id>ecomp-staging</id>

+			<name>VID Staging Repository</name>

+			<url>${nexusproxy}${stagingNexusPath}</url>

+		</repository>

+		<repository>

+			<!-- Snapshots repository has ECOMP snapshot artifacts -->

+			<id>oss-snapshots</id>

+			<name>oss Central - Snapshots</name>

+			<url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>

+		</repository>

+	</repositories>

+	<distributionManagement>

+		<repository>

+			<id>ecomp-releases</id>

+			<name>VID Release Repository</name>

+			<url>${nexusproxy}/${releaseNexusPath}</url>

+		</repository>

+		<snapshotRepository>

+			<id>ecomp-snapshots</id>

+			<name>VID Snapshot Repository</name>

+			<url>${nexusproxy}/${snapshotNexusPath}</url>

+		</snapshotRepository>

+		<!-- added for javadoc -->

+		<site>

+			<id>ecomp-site</id>

+			<url>dav:${nexusproxy}${sitePath}</url>

+		</site>

+	</distributionManagement>

 

 	<profiles>

 		<!-- disable doclint, a new feature in Java 8, when generating javadoc -->

@@ -193,9 +193,41 @@
 					</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>

 

+	<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>

 		<!-- SDK overlay war -->

 		<dependency>

diff --git a/vid-app-common/pom.xml b/vid-app-common/pom.xml
index 296f5cb..387b272 100755
--- a/vid-app-common/pom.xml
+++ b/vid-app-common/pom.xml
@@ -210,12 +210,42 @@
 					<packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>

 				</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>

+

 	<dependencies>

 		<!-- SDK overlay war -->