Fix versions in BPGenerator 17/116717/1
authorRemigiusz Janeczek <remigiusz.janeczek@nokia.com>
Mon, 11 Jan 2021 08:39:59 +0000 (09:39 +0100)
committerRemigiusz Janeczek <remigiusz.janeczek@nokia.com>
Mon, 11 Jan 2021 08:50:09 +0000 (09:50 +0100)
Maven staging job is failing because of common module version set
to 2.0.0-SNAPSHOT. During the build - mvn versions:set is used
which sets version according to version.properties, because common
has different version its version is not changed and it is
recognized as a SNAPSHOT dependency (which fails the jenkins
build).

Issue-ID: DCAEGEN2-2529
Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com>
Change-Id: Icffd3b128485a45b3fe7e19c5501eaa4a98fbcf8

mod/bpgenerator/common/pom.xml
mod/bpgenerator/onap/pom.xml
mod/bpgenerator/onap/version.properties [deleted file]
mod/bpgenerator/version.properties

index cae390f..56985a9 100644 (file)
@@ -29,7 +29,7 @@
     <modelVersion>4.0.0</modelVersion>
 
     <artifactId>blueprint-generator-common</artifactId>
-    <version>2.0.0-SNAPSHOT</version>
+    <version>1.7.1-SNAPSHOT</version>
     <packaging>jar</packaging>
 
     <name>Common</name>
index 63390ca..8379952 100644 (file)
@@ -47,7 +47,7 @@
         <dependency>
             <groupId>org.onap.dcaegen2.platform.mod</groupId>
             <artifactId>blueprint-generator-common</artifactId>
-            <version>2.0.0-SNAPSHOT</version>
+            <version>1.7.1-SNAPSHOT</version>
             <scope>compile</scope>
         </dependency>
     </dependencies>
diff --git a/mod/bpgenerator/onap/version.properties b/mod/bpgenerator/onap/version.properties
deleted file mode 100644 (file)
index 8abc1d2..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# /*
-#  * ============LICENSE_START=======================================================
-#  *  org.onap.dcae
-#  *  ================================================================================
-#  *  Copyright (c) 2020  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=========================================================
-#  */
-#
-#
-major=1
-minor=7
-patch=0
-base_version=${major}.${minor}.${patch}
-release_version=${base_version}
-snapshot_version=${base_version}-SNAPSHOT
index 24828c2..cedaba1 100644 (file)
@@ -1,6 +1,6 @@
 major=1
 minor=7
-patch=0
+patch=1
 base_version=${major}.${minor}.${patch}
 release_version=${base_version}
 snapshot_version=${base_version}-SNAPSHOT