From: ATT default cloud user Date: Fri, 1 Sep 2017 19:37:17 +0000 (+0000) Subject: DMAAP-84 use O-parent and other tidying up X-Git-Tag: 2.0.0-ONAP~25 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=dmaap%2Fdbcapi.git;a=commitdiff_plain;h=9116d9b99cf9e611e61d341270b592c766c0ffa3 DMAAP-84 use O-parent and other tidying up Change-Id: Ia4ca2a2e99c2244785b0366e91d65108f9c124bf Signed-off-by: ATT default cloud user --- diff --git a/pom.xml b/pom.xml index 7807e70..29592f3 100644 --- a/pom.xml +++ b/pom.xml @@ -5,28 +5,11 @@ dbcapi ${artifact.version} dbcapi - - - ecomp-releases - Open eCOMP Release Repository - ${nexusproxy}/${releases.path} - - - ecomp-snapshots - Open eCOMP Snapshot Repository - ${nexusproxy}/${snapshots.path} - - - ecomp-site - dav:${nexusproxy}/content/sites/site/org/onap/dmaap/dbcapi/${project.artifactId}/${project.version}/ - - - - - central - http://repo1.maven.org/maven2 - - + + org.onap.oparent + oparent + 0.1.0 + dbcapi @@ -38,90 +21,8 @@ - - org.apache.maven.plugins - maven-compiler-plugin - 2.5.1 - true - - 1.7 - 1.7 - - - - 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-dependency-plugin - 2.10 - - - copy-dependencies - package - - copy-dependencies - - - ${project.build.directory}/deps - false - false - true - - - - - - - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.7 - true - - ecomp-staging - ${nexusproxy} - 176c31dfe190a - - com.github.kongchen swagger-maven-plugin @@ -179,7 +80,6 @@ A convention of this API is to return JSON responses per OpenStack style. ---> diff --git a/version.properties b/version.properties new file mode 100644 index 0000000..74cd587 --- /dev/null +++ b/version.properties @@ -0,0 +1,35 @@ +### +# ============LICENSE_START======================================================= +# org.onap.dmaap +# ================================================================================ +# Copyright (C) 2017 AT&T Intellectual Property. All rights +# reserved. +# ================================================================================ +# 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. +# See the License for the specific language governing permissions and +# limitations under the License. +# ============LICENSE_END============================================ +# =================================================================== +# ECOMP is a trademark and service mark of AT&T Intellectual Property. +### + +# 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