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:22:58 UTC

(maven-mvnd) branch fix/mvnd-1x-native-maven-plugin-1.1.7 created (now 85ea69ed)

This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a change to branch fix/mvnd-1x-native-maven-plugin-1.1.7
in repository https://gitbox.apache.org/repos/asf/maven-mvnd.git


      at 85ea69ed Bump native-maven-plugin to 1.1.7

This branch includes the following new commits:

     new 85ea69ed Bump native-maven-plugin to 1.1.7

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(maven-mvnd) 01/01: Bump native-maven-plugin to 1.1.7

Posted by sl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch fix/mvnd-1x-native-maven-plugin-1.1.7
in repository https://gitbox.apache.org/repos/asf/maven-mvnd.git

commit 85ea69edf0488c74e7e6a3bb6f3467dc72e0e14a
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Tue Aug 4 00:22:46 2026 +0200

    Bump native-maven-plugin to 1.1.7
    
    Supersedes the 1.1.3 -> 1.1.6 bump in #1702, which 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 there 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 in favour of the plugin's own
    getMavenColorSetting()/parseMavenColorMode() reading the style.color
    property, so the bump is safe to take.
    
    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 23e34067..498c006a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -81,7 +81,7 @@
     <commons-compress.version>1.28.0</commons-compress.version>
     <!-- cannot upgrade graalvm to 23.0.0 which requires JDK >= 20 -->
     <graalvm.version>25.0.4</graalvm.version>
-    <graalvm.plugin.version>1.1.3</graalvm.plugin.version>
+    <graalvm.plugin.version>1.1.7</graalvm.plugin.version>
     <groovy.version>5.0.8</groovy.version>
     <jakarta.inject.version>1.0.5</jakarta.inject.version>
     <jline.version>3.30.13</jline.version>