You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kw...@apache.org on 2026/04/28 10:51:58 UTC

(maven) 01/01: Remove extracted Mac OS JLine binaries from Maven distro

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

kwin pushed a commit to branch bugfix/remove-unpacked-macos-jline-binaries
in repository https://gitbox.apache.org/repos/asf/maven.git

commit 50ce74fa3cc1062da41e78e7bc16384352fa1013
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Tue Apr 28 12:51:47 2026 +0200

    Remove extracted Mac OS JLine binaries from Maven distro
    
    This prevents issues with the Quarantine flag otherwise preventing
    binaries with that flag from being executed.
    The fallback automatically kicks in which loads the binary from the JAR
    (https://github.com/jline/jline3/blob/master/native/src/main/java/org/jline/nativ/JLineNativeLoader.java)
    which doesn't suffer from the quarantine flag.
    
    This closes #10747
---
 apache-maven/pom.xml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/apache-maven/pom.xml b/apache-maven/pom.xml
index f3b20dff3f..bb9f65318b 100644
--- a/apache-maven/pom.xml
+++ b/apache-maven/pom.xml
@@ -175,6 +175,8 @@ under the License.
             <configuration>
               <includeArtifactIds>jline-native</includeArtifactIds>
               <includes>org/jline/nativ/**</includes>
+              <!-- exclude Mac OS binaries to prevent them being marked with quarantine flag (https://github.com/apache/maven/issues/10747) -->
+              <excludes>org/jline/nativ/Mac/**</excludes>
             </configuration>
           </execution>
         </executions>