You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2026/08/03 22:20:02 UTC
(maven-mvnd) 01/01: Bump native-maven-plugin to 1.1.7 to fix the native build
This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch fix/native-maven-plugin-1.1.7
in repository https://gitbox.apache.org/repos/asf/maven-mvnd.git
commit 0ad1f2410ffd3fbfafa1903ae3e9861b4f6bdba8
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Tue Aug 4 00:19:39 2026 +0200
Bump native-maven-plugin to 1.1.7 to fix the native build
native-maven-plugin 1.1.6 fails every native build with
NoClassDefFoundError: org/apache/maven/shared/utils/logging/MessageUtils
at AbstractNativeImageMojo.isColorEnabled (AbstractNativeImageMojo.java:314)
at AbstractNativeImageMojo.addConsoleColorArgument (:305)
at AbstractNativeImageMojo.getBuildArgs (:250)
at NativeCompileNoForkMojo.generateBaseSBOMIfNeeded (:166)
1.1.6 introduced generateBaseSBOMIfNeeded, whose call chain reaches
isColorEnabled(), implemented as MessageUtils.isColorEnabled().
maven-shared-utils is neither a dependency of the plugin nor exported by
the Maven core realm, so the class cannot be resolved. 1.1.5 and earlier
never referenced it.
1.1.7 drops that reference, replacing it with the plugin's own
getMavenColorSetting()/parseMavenColorMode() reading the style.color
property.
Co-Authored-By: Claude Opus 5 (1M context) <no...@anthropic.com>
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 4177e798..35f74c54 100644
--- a/pom.xml
+++ b/pom.xml
@@ -79,7 +79,7 @@
<assertj.version>3.27.7</assertj.version>
<commons-compress.version>1.28.0</commons-compress.version>
<graalvm.version>25.0.3</graalvm.version>
- <graalvm.plugin.version>1.1.6</graalvm.plugin.version>
+ <graalvm.plugin.version>1.1.7</graalvm.plugin.version>
<groovy.version>5.0.8</groovy.version>
<jansi.version>2.4.1</jansi.version>
<jline.version>3.30.16</jline.version>