GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Mvn4: Remove extracted Mac OS JLine binaries from Maven distro by kwin · Pull Request #11997 · apache/maven

Conversation

@kwin

@kwin kwin commented Apr 28, 2026

Copy link
Copy Markdown
Member

This prevents issues with the quarantine flag otherwise preventing binaries with that flag from being executed
(https://www.cisa.gov/eviction-strategies-tool/info-attack/T1144). 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 have the quarantine flag.

This closes #10747

Following this checklist to help us incorporate your
contribution quickly and easily:

  • Your pull request should address just one issue, without pulling in other changes.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Each commit in the pull request should have a meaningful subject line and body.
    Note that commits might be squashed by a maintainer on merge.
  • Write unit tests that match behavioral changes, where the tests fail if the changes to the runtime are not applied.
    This may not always be possible but is a best-practice.
  • Run mvn verify to make sure basic checks pass.
    A more thorough check will be performed on your pull request automatically.
  • You have run the Core IT successfully.

If your pull request is about ~20 lines of code you don't need to sign an
Individual Contributor License Agreement if you are unsure
please ask on the developers list.

To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.

  • I hereby declare this contribution to be licenced under the Apache License Version 2.0, January 2004
  • In any other case, please file an Apache Individual Contributor License Agreement.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@kwin
Remove extracted Mac OS JLine binaries from Maven distro
c9c5d07
This prevents issues with the quarantine flag otherwise preventing
binaries with that flag from being executed
(https://www.cisa.gov/eviction-strategies-tool/info-attack/T1144).
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 have the quarantine flag.

This closes #10747
@kwin
kwin requested a review from gnodet April 28, 2026 16:01
@kwin kwin added bug Something isn't working backport-to-4.0.x labels Apr 28, 2026
@kwin kwin changed the title Remove extracted Mac OS JLine binaries from Maven distro Mvn4: Remove extracted Mac OS JLine binaries from Maven distro Apr 28, 2026
@kwin
kwin requested a review from slawekjaranowski April 28, 2026 16:01
@kwin kwin modified the milestones: 4.0.0, 4.0.0-rc-6 Apr 28, 2026
@kwin kwin added the mvn40 label Apr 28, 2026
@kwin kwin modified the milestones: 4.0.0-rc-6, 4.0.0 Apr 28, 2026
slawekjaranowski
slawekjaranowski approved these changes Apr 28, 2026
View reviewed changes
@slawekjaranowski slawekjaranowski linked an issue Apr 28, 2026 that may be closed by this pull request
[MNG-8471] library load disallowed by system policy on Mac #10747
Closed
@kwin kwin modified the milestones: 4.0.0-rc-6, 4.0.0 Apr 28, 2026
@kwin
kwin merged commit f81a828 into maven-4.0.x Apr 28, 2026
22 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@kwin
kwin deleted the bugfix/remove-extracted-macos-jline-binaries-mvn4 branch April 28, 2026 17:58
@github-actions github-actions Bot assigned kwin Apr 28, 2026
@gnodet gnodet modified the milestones: 4.0.0, 4.0.0-rc-6 Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@slawekjaranowski slawekjaranowski slawekjaranowski approved these changes
@gnodet gnodet Awaiting requested review from gnodet

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@kwin kwin

Labels

backport-to-4.0.x bug Something isn't working mvn40

Projects

None yet

Milestone

4.0.0-rc-6

Development

Successfully merging this pull request may close these issues.

[MNG-8471] library load disallowed by system policy on Mac

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@kwin @slawekjaranowski @gnodet
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.