From 8696f9f3a397261aa75c8ac96034b7e419551b77 Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Sun, 19 Feb 2017 19:27:26 -0500 Subject: adding sonatype and deploy plugins Change-Id: Idd658056dd8c019427a4689b9b40d9fc94208593 Signed-off-by: Pamela Dragosh --- .gitignore | 1 + pom.xml | 19 +++++++++++++++++++ version.properties | 13 +++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 version.properties diff --git a/.gitignore b/.gitignore index a7f6406cf..c672b9df0 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ target .settings .classpath .metadata/ +/bin/ diff --git a/pom.xml b/pom.xml index 8444d9371..b838eecc4 100644 --- a/pom.xml +++ b/pom.xml @@ -54,6 +54,25 @@ + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true + + ${nexusproxy} + 176c31dfe190a + ecomp-staging + + + + org.apache.maven.plugins + maven-deploy-plugin + 2.8 + + + + org.apache.maven.plugins maven-compiler-plugin diff --git a/version.properties b/version.properties new file mode 100644 index 000000000..cdcd1e9ec --- /dev/null +++ b/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 -- cgit 1.2.3-korg