summaryrefslogtreecommitdiffstats
path: root/epsdk-app-onap
diff options
context:
space:
mode:
authorjimmydot <jf2512@att.com>2017-05-07 19:42:59 -0400
committerjimmydot <jf2512@att.com>2017-05-07 19:42:59 -0400
commitf88fada056b2a2ec9811b5feca5cf5b43e9786e0 (patch)
treeaa22c44e4b06eb56c4b9dce6d8c513af53a60a7e /epsdk-app-onap
parent3982f4f67314ec37fd9b22ae54049958af777c1b (diff)
[VID-6] Fixed pom files
Change-Id: Ib3c47aba4e7b5c3bf4e73418998b8e700077a7b3 Signed-off-by: jimmydot <jf2512@att.com>
Diffstat (limited to 'epsdk-app-onap')
-rwxr-xr-xepsdk-app-onap/pom.xml34
-rw-r--r--epsdk-app-onap/version.properties13
2 files changed, 47 insertions, 0 deletions
diff --git a/epsdk-app-onap/pom.xml b/epsdk-app-onap/pom.xml
index e82abd2a1..047794094 100755
--- a/epsdk-app-onap/pom.xml
+++ b/epsdk-app-onap/pom.xml
@@ -84,12 +84,46 @@
<url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
</repository>
</repositories>
+ <distributionManagement>
+ <repository>
+ <id>ecomp-releases</id>
+ <name>VID Release Repository</name>
+ <url>${nexusproxy}/${releaseNexusPath}</url>
+ </repository>
+ <snapshotRepository>
+ <id>ecomp-snapshots</id>
+ <name>VID Snapshot Repository</name>
+ <url>${nexusproxy}/${snapshotNexusPath}</url>
+ </snapshotRepository>
+ <!-- added for javadoc -->
+ <site>
+ <id>ecomp-site</id>
+ <url>dav:${nexusproxy}${sitePath}</url>
+ </site>
+ </distributionManagement>
</profile>
</profiles>
<build>
<finalName>vid</finalName>
<plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>versions-maven-plugin</artifactId>
+ <version>1.3.1</version>
+ </plugin>
+ <plugin>
+ <groupId>org.sonatype.plugins</groupId>
+ <artifactId>nexus-staging-maven-plugin</artifactId>
+ <version>1.6.7</version>
+ <extensions>true</extensions>
+ <configuration>
+ <nexusUrl>${nexusproxy}</nexusUrl>
+ <stagingProfileId>176c31dfe190a</stagingProfileId>
+ <serverId>ecomp-staging</serverId>
+ </configuration>
+ </plugin>
+
<!-- Compile to Java 1.8 class output format -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
diff --git a/epsdk-app-onap/version.properties b/epsdk-app-onap/version.properties
new file mode 100644
index 000000000..e2595ba14
--- /dev/null
+++ b/epsdk-app-onap/version.properties
@@ -0,0 +1,13 @@
+# Versioning variables
+# Note that these variables cannot be structured (e.g. : version.release or version.snapshot etc... )
+# because they are used in Jenkins, whose plug-in doesn't support
+
+major=1
+minor=1
+patch=0
+
+base_version=${major}.${minor}.${patch}
+
+# Release must be completed with git revision # in Jenkins
+release_version=${base_version}
+snapshot_version=${base_version}-SNAPSHOT