aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJimmy Forsyth <jf2512@att.com>2017-03-02 18:14:57 -0500
committerJimmy Forsyth <jf2512@att.com>2017-03-02 18:14:57 -0500
commitd75beeed5b31705562f556ebee1d27ff7dd84bfd (patch)
tree04604381fbfac9c2479995e4bd6ceb7e73dccc45
parent7132705c7dfbd3815a80c6e2ef13bdd35f7abac9 (diff)
[OS-144] Adding nexus+ver to vid
Change-Id: I103d7a7526fef33637aacf2c1e8aca89ca83e93f Signed-off-by: Jimmy Forsyth <jf2512@att.com>
-rw-r--r--vid/pom.xml33
-rw-r--r--vid/version.properties13
2 files changed, 38 insertions, 8 deletions
diff --git a/vid/pom.xml b/vid/pom.xml
index fb140aea..fa74acaa 100644
--- a/vid/pom.xml
+++ b/vid/pom.xml
@@ -121,14 +121,31 @@
</execution>
</executions>
</plugin>-->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.10.4</version>
- <configuration>
- <additionalparam>-Xdoclint:none</additionalparam>
- </configuration>
- </plugin>
+ <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>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.10.4</version>
+ <configuration>
+ <additionalparam>-Xdoclint:none</additionalparam>
+ </configuration>
+ </plugin>
</plugins>
</build>
</profile>
diff --git a/vid/version.properties b/vid/version.properties
new file mode 100644
index 00000000..cdcd1e9e
--- /dev/null
+++ b/vid/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=0
+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