Update pom.xml to support daily release target 89/48589/1
authorKiran Kamineni <kiran.k.kamineni@intel.com>
Tue, 22 May 2018 21:54:25 +0000 (14:54 -0700)
committerKiran Kamineni <kiran.k.kamineni@intel.com>
Tue, 22 May 2018 21:54:58 +0000 (14:54 -0700)
Update pom.xml to support daily sms-client release
to nexus repo

Issue-ID: AAF-92
Change-Id: I86c94bf3cd1a74ab910d7fa3336d25aac33b618f
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
sms-client/java/pom.xml

index f178e55..f618277 100644 (file)
@@ -8,6 +8,11 @@
     <name>sms-client</name>
 
     <properties>
+               <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/onap/aaf/sms/${project.artifactId}/${project.version}</sitePath>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <maven.compiler.source>1.8</maven.compiler.source>
         <maven.compiler.target>1.8</maven.compiler.target>
             </plugin>
         </plugins>
     </build>
+
+    <distributionManagement>
+               <repository>
+                       <id>ecomp-releases</id>
+                       <name>AAF SMS Release Repository</name>
+                       <url>${nexusproxy}${releaseNexusPath}</url>
+               </repository>
+               <snapshotRepository>
+                       <id>ecomp-snapshots</id>
+                       <name>AAF SMS Snapshot Repository</name>
+                       <url>${nexusproxy}${snapshotNexusPath}</url>
+               </snapshotRepository>
+               <site>
+                       <id>ecomp-site</id>
+                       <url>dav:${nexusproxy}${sitePath}</url>
+               </site>
+       </distributionManagement>
+
 </project>