[OS-144] Adding nexus+ver to vid

Change-Id: I103d7a7526fef33637aacf2c1e8aca89ca83e93f
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
diff --git a/vid/pom.xml b/vid/pom.xml
index fb140ae..fa74aca 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 0000000..cdcd1e9
--- /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