Gatekeeper warning for jline native library when running precommit hook in Sourcetree
envgap__apache__maven-12759
01 / FAILURE SIGNATURE
As reported upstream
No identifying execution failure has been captured.
Not a benchmark task.
- The project already builds and runs before the fix, so there is nothing to repair.
02 / ENVIRONMENT RECIPE
- Base commit
98c05659bede9bc22d793678a8191bf36bd25e94- Manifest
apache-maven/pom.xml- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
apache/maven #12759 · read the original issue
### Affected version 4.0.0-rc6 ### Bug description I have configured a pre-commit hook in one of my projects. It runs `spotless:apply` to check formatting before a commit. When this hook is exercised by triggering a commit in Sourcetree, then I get gatekeeper warnings about the jiline native library (like 8 or so per commit). In Maven 4.0.0-rc5, it was possible to remove the quarantine flag from the libraries in the `lib/jline-native/Mac` folder and the problem went away. Since Maven 4.0.0-rc6, there is no `lib/jline-native/Mac` anymore and the problem is back. Workaround: copy the `lib/jline-native/Mac` from 4.0.0-rc5 to the 4.0.0-rc6 folder. Then the gatekeeper warnings disappear again.
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]