javadoc site added
[portal.git] / ecomp-portal-BE / pom.xml
index 5ad4780..e8590cb 100644 (file)
@@ -4,17 +4,22 @@
        <groupId>org.openecomp.portal</groupId>
        <artifactId>ecompportal</artifactId>
        <packaging>war</packaging>
-       <version>1.0.0</version>
+       <version>1.1.0-SNAPSHOT</version>
 
        <properties>
                <springframework.version>4.2.0.RELEASE</springframework.version>
                <hibernate.version>4.3.11.Final</hibernate.version>
                <eelf.version>0.0.1</eelf.version>
-               <projectversion>1.0.0</projectversion>
+               <projectversion>1.1.0-SNAPSHOT</projectversion>
                <encoding>UTF-8</encoding>
                <!-- 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>
     </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>
+               <repository>
+                       <!-- Releases repository has ECOMP release artifacts -->
+                       <id>ecomp-releases</id>
+                       <name>OpenECOMP - Release Repository</name>
+                       <url>${nexusproxy}/${releaseNexusPath}</url>
+               </repository>
                <repository>
                        <!-- Snapshots repository has ECOMP snapshot artifacts -->
-                       <id>nexus-snapshots</id>
-                       <name>Nexus Maven Central - Snapshots</name>
-                       <url>https://ecomp-nexus:8443/repository/maven-snapshots/</url>
+                       <id>ecomp-snapshots</id>
+                       <name>OpenECOMP - Snapshot Repository</name>
+                       <url>${nexusproxy}/${snapshotNexusPath}</url>
                </repository>
                <repository>
-                       <!-- Releases repository has ECOMP release artifacts -->
-                       <id>nexus</id>
-                       <name>Nexus Maven Central - Releases</name>
-                       <url>https://ecomp-nexus:8443/repository/maven-releases/</url>
+                       <!-- 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 -->
                <finalName>ecompportal</finalName>
 
                <plugins>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-deploy-plugin</artifactId>
+                               <version>2.8</version>
+                               <configuration>
+                                       <skip>true</skip>
+                               </configuration>
+                       </plugin>
                         <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>sonar-maven-plugin</artifactId>