[VID-6] Fixed pom files
[vid.git] / vid-app-common / pom.xml
index 5f1a07d..296f5cb 100755 (executable)
        <description>VID Common code for opensource version</description>\r
 \r
        <properties>\r
-         <encoding>UTF-8</encoding>\r
-         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r
-         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>\r
-         <epsdk.version>1.1.0-SNAPSHOT</epsdk.version>\r
-         <springframework.version>4.2.0.RELEASE</springframework.version>\r
-         <hibernate.version>4.3.11.Final</hibernate.version>\r
-         <!-- Skip assembling the zip by default -->\r
-         <skipassembly>true</skipassembly>\r
-         <!-- Tests usually require some setup that maven cannot do, so skip. -->\r
-         <skiptests>true</skiptests>\r
-         <nexusproxy>https://nexus.onap.org</nexusproxy>\r
-         <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>\r
-         <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>\r
-         <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>\r
-         <sitePath>/content/sites/site/org/openecomp/vid/${project.version}</sitePath>\r
+               <encoding>UTF-8</encoding>\r
+               <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r
+               <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>\r
+               <epsdk.version>1.1.0-SNAPSHOT</epsdk.version>\r
+               <springframework.version>4.2.0.RELEASE</springframework.version>\r
+               <hibernate.version>4.3.11.Final</hibernate.version>\r
+               <!-- Skip assembling the zip by default -->\r
+               <skipassembly>true</skipassembly>\r
+               <!-- Tests usually require some setup that maven cannot do, so skip. -->\r
+               <skiptests>true</skiptests>\r
+               <nexusproxy>https://nexus.onap.org</nexusproxy>\r
+               <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>\r
+               <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>\r
+               <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>\r
+               <sitePath>/content/sites/site/org/openecomp/vid/${project.version}</sitePath>\r
        </properties>\r
-       \r
-       \r
+\r
+\r
        <!-- this should be commented for local debugging -->\r
        <!-- <deployenv>local</deployenv> -->\r
-       \r
+\r
        <repositories>\r
-         <repository>\r
-           <id>ecomp-releases</id>\r
-           <name>VID Release Repository</name>\r
-           <url>${nexusproxy}${releaseNexusPath}</url>\r
-         </repository>\r
-         <repository>\r
-           <id>ecomp-snapshots</id>\r
-           <name>VID Snapshot Repository</name>\r
-           <url>${nexusproxy}${snapshotNexusPath}</url>\r
-         </repository>\r
-         <repository>\r
-           <id>ecomp-staging</id>\r
-           <name>VID Staging Repository</name>\r
-           <url>${nexusproxy}${stagingNexusPath}</url>\r
-         </repository>\r
-         <repository>\r
-           <!-- Snapshots repository has ECOMP snapshot artifacts -->\r
-           <id>oss-snapshots</id>\r
-           <name>oss Central - Snapshots</name>\r
-           <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>\r
-         </repository>\r
+               <repository>\r
+                       <id>ecomp-releases</id>\r
+                       <name>VID Release Repository</name>\r
+                       <url>${nexusproxy}${releaseNexusPath}</url>\r
+               </repository>\r
+               <repository>\r
+                       <id>ecomp-snapshots</id>\r
+                       <name>VID Snapshot Repository</name>\r
+                       <url>${nexusproxy}${snapshotNexusPath}</url>\r
+               </repository>\r
+               <repository>\r
+                       <id>ecomp-staging</id>\r
+                       <name>VID Staging Repository</name>\r
+                       <url>${nexusproxy}${stagingNexusPath}</url>\r
+               </repository>\r
+               <repository>\r
+                       <!-- Snapshots repository has ECOMP snapshot artifacts -->\r
+                       <id>oss-snapshots</id>\r
+                       <name>oss Central - Snapshots</name>\r
+                       <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>\r
+               </repository>\r
+\r
        </repositories>\r
-       \r
+       <distributionManagement>\r
+               <repository>\r
+                       <id>ecomp-releases</id>\r
+                       <name>VID Release Repository</name>\r
+                       <url>${nexusproxy}/${releaseNexusPath}</url>\r
+               </repository>\r
+               <snapshotRepository>\r
+                       <id>ecomp-snapshots</id>\r
+                       <name>VID Snapshot Repository</name>\r
+                       <url>${nexusproxy}/${snapshotNexusPath}</url>\r
+               </snapshotRepository>\r
+               <!-- added for javadoc -->\r
+               <site>\r
+                       <id>ecomp-site</id>\r
+                       <url>dav:${nexusproxy}${sitePath}</url>\r
+               </site>\r
+       </distributionManagement>\r
+\r
        <build>\r
                <finalName>vid-common</finalName>\r
+\r
                <plugins>\r
+                       <plugin>\r
+                               <groupId>org.codehaus.mojo</groupId>\r
+                               <artifactId>versions-maven-plugin</artifactId>\r
+                               <version>1.3.1</version>\r
+                       </plugin>\r
+                       <plugin>\r
+                               <groupId>org.sonatype.plugins</groupId>\r
+                               <artifactId>nexus-staging-maven-plugin</artifactId>\r
+                               <version>1.6.7</version>\r
+                               <extensions>true</extensions>\r
+                               <configuration>\r
+                                       <nexusUrl>${nexusproxy}</nexusUrl>\r
+                                       <stagingProfileId>176c31dfe190a</stagingProfileId>\r
+                                       <serverId>ecomp-staging</serverId>\r
+                               </configuration>\r
+                       </plugin>\r
                        <plugin>\r
                                <groupId>org.codehaus.mojo</groupId>\r
                                <artifactId>cobertura-maven-plugin</artifactId>\r
                        <version>${epsdk.version}</version>\r
                        <type>jar</type>\r
                </dependency>\r
-               \r
+\r
                <dependency>\r
                        <groupId>org.openecomp.ecompsdkos</groupId>\r
                        <artifactId>epsdk-core</artifactId>\r