nexus site path corrected 43/3143/1
authorManoop Talasila <talasila@research.att.com>
Thu, 6 Apr 2017 21:27:47 +0000 (17:27 -0400)
committerManoop Talasila <talasila@research.att.com>
Thu, 6 Apr 2017 21:27:59 +0000 (17:27 -0400)
Change-Id: I9cec92d602bbef294fe3c56e1146f85b9838dfcf
Signed-off-by: Manoop Talasila <talasila@research.att.com>
ecomp-portal-BE/pom.xml
ecomp-portal-FE/pom.xml
pom.xml

index e8590cb..41df842 100644 (file)
@@ -19,7 +19,7 @@
                <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
                <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
                <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
-               <sitePath>/content/sites/site/org/openecomp/portal/${project.version}</sitePath>
+               <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
        </properties>
        
        <reporting>
index 30f136e..c2fb222 100644 (file)
@@ -4,9 +4,53 @@
   <artifactId>ecomp-portal-FE</artifactId>
   <!-- Jenkins build process will append build number -->
   <version>1.1.0-SNAPSHOT</version>
-  
+
+       <properties>
+               <nexusproxy>https://nexus.onap.org</nexusproxy>
+               <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
+       </properties>
+
+       <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>
+       <distributionManagement>
+               <site>
+                       <id>ecomp-site</id>
+                       <url>dav:${nexusproxy}${sitePath}</url>
+               </site>
+       </distributionManagement>
+
   <build>
          <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>
                          <groupId>org.apache.maven.plugins</groupId>
                          <artifactId>maven-deploy-plugin</artifactId>
diff --git a/pom.xml b/pom.xml
index 255d29d..0d895a4 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -55,5 +55,9 @@
                        <name>OpenECOMP - Snapshot Repository</name>
                        <url>${nexusproxy}/${snapshotNexusPath}</url>
                </snapshotRepository>
+               <site>
+                       <id>ecomp-site</id>
+                       <url>dav:${nexusproxy}${sitePath}</url>
+               </site>
        </distributionManagement>
 </project>