From: Matthew Watkins Date: Fri, 14 Nov 2025 12:47:40 +0000 (+0000) Subject: CI: Install multiple JDK versions, update to Maven 3.9.5 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F43%2F142443%2F1;p=ccsdk%2Fsli.git CI: Install multiple JDK versions, update to Maven 3.9.5 Seems multiple JDK versions are needed within the ccsdk/ project hierarchy. The last CBOM workflow run in ccsdk-sli/ failed with the error below: Error: Failed to execute goal org.opendaylight.odlparent:copy-files-plugin:14.0.8:copy-files (default) on project utils-provider: The plugin org.opendaylight.odlparent:copy-files-plugin:14.0.8 requires Maven version 3.9.5 This would suggest a more recent Maven release is required. Change-Id: I5324ae6262f1241a5fe3c119ea5aec5a48ae77f7 Signed-off-by: Matthew Watkins --- diff --git a/.github/workflows/gerrit-merge-cbom.yaml b/.github/workflows/gerrit-merge-cbom.yaml index 853e97d6d..9cc400af1 100644 --- a/.github/workflows/gerrit-merge-cbom.yaml +++ b/.github/workflows/gerrit-merge-cbom.yaml @@ -143,7 +143,7 @@ jobs: echo "Error: .gitreview file not found" exit 1 fi - + cat > global-settings.xml << EOF @@ -216,9 +216,11 @@ jobs: # yamllint disable-line rule:line-length uses: lfreleng-actions/maven-build-action@main with: - jdk-version: '21' + jdk-version: | + '17' + '21' distribution: 'temurin' - mvn-version: '3.8.2' + mvn-version: '3.9.5' mvn-phases: 'clean package' mvn-params: '-DskipTests -Djib.skip=true' # yamllint disable-line rule:line-length @@ -269,4 +271,4 @@ jobs: known_hosts: ${{ vars.GERRIT_KNOWN_HOSTS }} gerrit-change-number: ${{ inputs.GERRIT_CHANGE_NUMBER }} gerrit-patchset-number: ${{ inputs.GERRIT_PATCHSET_NUMBER }} - vote-type: ${{ env.WORKFLOW_CONCLUSION }} \ No newline at end of file + vote-type: ${{ env.WORKFLOW_CONCLUSION }}