FIX: Revert clm-maven plugin 63/71363/3 v0.84.0
authorBengt Thuree <bthuree@linuxfoundation.org>
Thu, 9 Mar 2023 09:50:41 +0000 (20:50 +1100)
committerBengt Thuree <bthuree@linuxfoundation.org>
Thu, 9 Mar 2023 15:11:25 +0000 (02:11 +1100)
Latest version of clm-maven plugin (clm-maven-plugin:2.42.0-01)
is not working in our environment.
We get the following error

Failed to execute goal com.sonatype.clm:clm-maven-plugin:2.42.0-01:index
(default-cli) on project babel: Failed to invoke Maven build.
Maven execution failed, exit code: 1 -> [Help 1]

This patch pins the previous working plugin which is 2.41.0-02

Issue-ID: IT-25225
Change-Id: I3d87d5adc954baf703f29816c0e295e0203b4f40
Signed-off-by: Bengt Thuree <bthuree@linuxfoundation.org>
releasenotes/notes/revert_clm_maven_plugin-db2a239e6aa22f07.yaml [new file with mode: 0644]
shell/sonatype-clm.sh

diff --git a/releasenotes/notes/revert_clm_maven_plugin-db2a239e6aa22f07.yaml b/releasenotes/notes/revert_clm_maven_plugin-db2a239e6aa22f07.yaml
new file mode 100644 (file)
index 0000000..a310a0c
--- /dev/null
@@ -0,0 +1,11 @@
+---
+fixes:
+  - |
+    The latest (2.42.0.01) clm-maven-plugin introduced an error in our 
+    environment.
+
+    Failed to execute goal com.sonatype.clm:clm-maven-plugin:2.42.0-01:index
+    (default-cli) on project babel: Failed to invoke Maven build.
+    Maven execution failed, exit code: 1 -> [Help 1]
+
+    This fix will pin the clm-maven-plugin to the previous version (2.41.0-02)
index 2071974..4abe70e 100644 (file)
@@ -21,7 +21,7 @@ export MAVEN_OPTS
 
 # Disable SC2086 because we want to allow word splitting for $MAVEN_* parameters.
 # shellcheck disable=SC2086
-$MVN $MAVEN_GOALS dependency:tree com.sonatype.clm:clm-maven-plugin:index \
+$MVN $MAVEN_GOALS dependency:tree com.sonatype.clm:clm-maven-plugin:2.41.0-02:index \
     --global-settings "$GLOBAL_SETTINGS_FILE" \
     --settings "$SETTINGS_FILE" \
     -DaltDeploymentRepository=staging::default::file:"$WORKSPACE"/m2repo \