Use proper version

Change-Id: I9932967a3a085fa29297fd2d0e5ad4941e402f50
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
diff --git a/jjb/global-templates-java.yaml b/jjb/global-templates-java.yaml
index a47ff00..5f2b063 100644
--- a/jjb/global-templates-java.yaml
+++ b/jjb/global-templates-java.yaml
@@ -992,6 +992,17 @@
       - provide-maven-settings:
           global-settings-file: 'global-settings'
           settings-file: '{mvn-settings}'
+      - inject:
+          properties-file: version.properties
+      - maven-target:
+          maven-version: '{maven-version}'
+          goals: 'versions:set versions:update-child-modules versions:commit'
+          properties:
+            - 'newVersion=${{release_version}}'
+          settings: '{mvn-settings}'
+          settings-type: cfp
+          global-settings: 'global-settings'
+          global-settings-type: cfp
 
       - maven-target:
           maven-version: '{maven-version}'