Add option for ONAP projects to define diffren mvn version
Change-Id: Ie21e6ae83f44bef02b56759f397289e285376c45
diff --git a/jjb/onap/global-templates-local-onap-java.yaml b/jjb/onap/global-templates-local-onap-java.yaml
index 5f2fafb..baf5e37 100644
--- a/jjb/onap/global-templates-local-onap-java.yaml
+++ b/jjb/onap/global-templates-local-onap-java.yaml
@@ -10,6 +10,7 @@
concurrent: true
mvn_settings_xml_version:
mvn_params:
+ mvn_version: 3.5.4
properties:
- logrotate
@@ -24,7 +25,7 @@
description: Java home
- string:
name: MVN_VERSION
- default: 3.5.4
+ default: '{mvn_version}'
description: Maven version
- string:
name: MVN_URL
diff --git a/jjb/onap/global-templates-onap-java.yaml b/jjb/onap/global-templates-onap-java.yaml
index 49254f2..5f038aa 100644
--- a/jjb/onap/global-templates-onap-java.yaml
+++ b/jjb/onap/global-templates-onap-java.yaml
@@ -7,6 +7,7 @@
concurrent: true
mvn_settings_xml_version:
mvn_params:
+ mvn_version: 3.5.4
subdirectory:
properties:
- logrotate
@@ -22,7 +23,7 @@
description: Java home
- string:
name: MVN_VERSION
- default: 3.5.4
+ default: '{mvn_version}'
description: Maven version
- string:
name: MVN_URL