:Required Parameters:
:maven-versions-plugin: Whether to call Maven versions plugin or not. (default: false)
+ :version-properties-file: Name and path of the version properties file.
+ (default: version.properties)
:mvn-version: Version of Maven to execute Sonar with.
:mvn-pom: Location of pom.xml.
:mvn-settings: Maven settings.xml file containing credentials to use.
(default: 10)
:submodule-disable: Disable submodule checkout operation.
(default: false)
+ :version-properties-file: Name and path of the version properties file.
+ (default: version.properties)
:gerrit_release_triggers: Override Gerrit Triggers.
:gerrit_trigger_file_paths: Override file paths which can be used to
condition-expression: '{maven-versions-plugin}'
steps:
- inject:
- properties-file: version.properties
+ properties-file: '{version-properties-file}'
- maven-target:
maven-version: '{mvn-version}'
pom: '{mvn-pom}'
github-url: 'https://github.com'
java-version: openjdk8
maven-versions-plugin: false
+ version-properties-file: version.properties
mvn-central: false
mvn-global-settings: global-settings
mvn-goals: clean deploy
settings-file: '{mvn-settings}'
- lf-maven-versions-plugin:
maven-versions-plugin: '{maven-versions-plugin}'
+ version-properties-file: '{version-properties-file}'
mvn-version: '{mvn-version}'
mvn-pom: '{mvn-pom}'
mvn-settings: '{mvn-settings}'
settings-file: '{mvn-settings}'
- lf-maven-versions-plugin:
maven-versions-plugin: '{maven-versions-plugin}'
+ version-properties-file: '{version-properties-file}'
mvn-version: '{mvn-version}'
mvn-pom: '{mvn-pom}'
mvn-settings: '{mvn-settings}'
--- /dev/null
+---
+fixes:
+ - |
+ Some ONAP components like DCAEGEN2 do not host a version.properties file
+ in the root of their repos. We need to be able to provide a location and/or
+ different name for the version.properties file for jobs using the
+ lf-maven-versions-plugin builder step.