javadoc site added
[portal.git] / ecomp-portal-BE / pom.xml
index 126f0e4..e8590cb 100644 (file)
                <!-- Tests usually require some setup that maven cannot do, so skip. -->
                <skiptests>false</skiptests>
                <sonar.exclusions>**.js</sonar.exclusions>
+               <nexusproxy>https://nexus.onap.org</nexusproxy>
+               <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>
        </properties>
        
        <reporting>
@@ -39,8 +44,8 @@
     </reporting>
        <distributionManagement>
                <site>
-                 <id>nexus</id>
-                 <url>dav:https://ecomp-nexus:8443/repository/portal-javadoc/${projectversion}</url>
+                                  <id>ecomp-site</id>
+                                  <url>dav:${nexusproxy}${sitePath}</url>
                </site>
        </distributionManagement>
        <repositories>
                        <!-- Releases repository has ECOMP release artifacts -->
                        <id>ecomp-releases</id>
                        <name>OpenECOMP - Release Repository</name>
-                       <url>https://nexus.openecomp.org/content/repositories/releases/</url>
+                       <url>${nexusproxy}/${releaseNexusPath}</url>
                </repository>
                <repository>
                        <!-- Snapshots repository has ECOMP snapshot artifacts -->
                        <id>ecomp-snapshots</id>
                        <name>OpenECOMP - Snapshot Repository</name>
-                       <url>https://nexus.openecomp.org/content/repositories/snapshots/</url>
+                       <url>${nexusproxy}/${snapshotNexusPath}</url>
+               </repository>
+               <repository>
+                       <!-- Staging repository has ECOMP staging artifacts -->
+                       <id>ecomp-staging</id>
+                       <name>OpenECOMP - Staging Repository</name>
+                       <url>${nexusproxy}/${stagingNexusPath}</url>
                </repository>
                <repository>
                        <!-- Snapshots repository has ECOMP snapshot artifacts -->