Update version props from load to patch 29/1729/3
authorVenkata Harish K Kajur <vk250x@att.com>
Tue, 7 Mar 2017 19:08:23 +0000 (19:08 +0000)
committerVenkata Harish K Kajur <vk250x@att.com>
Wed, 8 Mar 2017 15:01:34 +0000 (15:01 +0000)
- Also add the tags for docker images
- Change the docker push to using plugin
- Change back the docker plugin tag name
- Also update to 1.0.0

Change-Id: Ia6c29cf4dabfd158668b774be2df558e3070687c
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
aai-schema/pom.xml
ajsc-aai/pom.xml
annotations/pom.xml
pom.xml
version.properties

index 450b13b..3301437 100644 (file)
@@ -5,7 +5,7 @@
   <parent>
     <groupId>org.openecomp.aai.aai-service</groupId>
     <artifactId>aai-service</artifactId>
-    <version>1.0.0-SNAPSHOT</version>
+    <version>1.0.0</version>
   </parent>
   <artifactId>aai-schema</artifactId>
   <name>aai-schema</name>
index 9176bba..5479044 100644 (file)
@@ -5,7 +5,7 @@
   <parent>
     <groupId>org.openecomp.aai.aai-service</groupId>
     <artifactId>aai-service</artifactId>
-    <version>1.0.0-SNAPSHOT</version>
+    <version>1.0.0</version>
   </parent>
   <artifactId>ajsc-aai</artifactId>
   <name>ajsc</name>
@@ -17,6 +17,9 @@
                <skipTests>false</skipTests>
         <!-- sonar properties -->
                <sonar.language>java</sonar.language>
+               <docker.image.version>1.0.0</docker.image.version>
+               <timestamp>${maven.build.timestamp}</timestamp>
+               <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
        <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
        <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
        <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
        <dependency>
                <groupId>org.openecomp.aai.aai-service</groupId>
                <artifactId>aai-schema</artifactId>
-               <version>1.0.0-SNAPSHOT</version>
+               <version>1.0.0</version>
        </dependency>
        <dependency>
                <groupId>org.openecomp.aai.aai-service</groupId>
                <artifactId>annotations</artifactId>
-               <version>1.0.0-SNAPSHOT</version>
+               <version>1.0.0</version>
        </dependency>
   </dependencies>
   <build>
                            <dockerDirectory>${dockerLocation}</dockerDirectory>
                            <serverId>docker-hub</serverId>                   
                            <imageTags>
-                               <imageTag>${docker_imageversion}</imageTag>
                                <imageTag>latest</imageTag>
                            </imageTags>
                            <forceTags>true</forceTags>
index 86dcecd..1e76e66 100644 (file)
@@ -5,7 +5,7 @@
   <parent>
     <groupId>org.openecomp.aai.aai-service</groupId>
     <artifactId>aai-service</artifactId>
-    <version>1.0.0-SNAPSHOT</version>
+    <version>1.0.0</version>
   </parent>
   <artifactId>annotations</artifactId>
   <name>annotations</name>
diff --git a/pom.xml b/pom.xml
index dfc6460..73bb013 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -9,7 +9,7 @@
        </parent>
        <groupId>org.openecomp.aai.aai-service</groupId>
        <artifactId>aai-service</artifactId>
-       <version>1.0.0-SNAPSHOT</version>
+       <version>1.0.0</version>
        <name>aai</name>
        <packaging>pom</packaging>
        <modules>
index f016a54..a09eab9 100644 (file)
@@ -5,9 +5,9 @@
  
 major_version=1
 minor_version=0
-load_number=0
+patch_version=0
 
-base_version=${major_version}.${minor_version}.${load_number}
+base_version=${major_version}.${minor_version}.${patch_version}
 
 # Release must be completed with GIT information # in Jenkins
 release_version=${base_version}