How can I re-use all of my attributes
section, except for maven
suites:
- name: DEV
attributes:
'ant': &ant
'version': '1.9.3'
'home': '/my/path/ant'
'maven':
'version': 3
'm2_home': '/my/path/maven'
'3':
'version': '3.2.1'
'maven_rc':
'opts': ''
For my TESTING
instance, I would like to inherit all of the above attributes, except for maven
, which I'd like to override (different version):
- name: TESTING
attributes:
<<: *ant # re-use ant as it's the same configuration
'maven': # different version for TESTING
'version': 3
'm2_home': '/my/path/maven'
'3':
'version': '3.0.5'
'maven_rc':
'opts': ''