[VID-6] Fixed pom files

Change-Id: Ib3c47aba4e7b5c3bf4e73418998b8e700077a7b3
Signed-off-by: jimmydot <jf2512@att.com>
diff --git a/epsdk-app-onap/pom.xml b/epsdk-app-onap/pom.xml
index e82abd2..0477940 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 0000000..e2595ba
--- /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