From: Pamela Dragosh Date: Thu, 17 Aug 2017 14:27:23 +0000 (-0400) Subject: Add missing properties and distributionManagement X-Git-Tag: 6.0.0-ONAP~24 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=a2a37dedf130ed6b95d7cfebdb73d8c1b2016e14;p=policy%2Fgui.git Add missing properties and distributionManagement Also the version.properties In order for the release jobs to execute successfully and the stage-site jobs to also succeed. Change-Id: Iaa8faa9c2e3cdad5ffbd067b0704831d2c7298bc Issue-Id: POLICY-139 Signed-off-by: Pamela Dragosh --- diff --git a/pom.xml b/pom.xml index a90351a..390907e 100644 --- a/pom.xml +++ b/pom.xml @@ -7,9 +7,9 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -26,7 +26,7 @@ org.onap.oparent oparent 1.0.0-SNAPSHOT - + org.onap.policy.gui @@ -39,9 +39,77 @@ Code that all the Policy GUI's. + https://nexus.onap.org + /content/sites/site/${project.groupId}/${project.artifactId}/${project.version} + content/repositories/releases/ + content/repositories/snapshots/ + content/repositories/staging/ + + + ecomp-site + dav:${nexusproxy}${sitePath} + + + + + + + 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-site-plugin + 3.6 + + + org.apache.maven.wagon + wagon-webdav-jackrabbit + 2.10 + + + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.4 + + false + org.umlgraph.doclet.UmlGraphDoc + + org.umlgraph + umlgraph + 5.6 + + -views + true + + + + + diff --git a/version.properties b/version.properties new file mode 100644 index 0000000..7f86aa1 --- /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=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