ppkarwasz opened a new pull request, #1897:
URL: https://github.com/apache/commons-lang/pull/1897
Adapts Lang to commons-parent 108 and removes some settings that previous
parent releases already provide.
**commons-parent 108**
- Mockito 5, used on Java 11 and up, no longer manages `mockito-inline`:
Lang now depends on `mockito-core` and adds `mockito-inline` only on Java 8
(`java-below-11`), where Mockito 4 needs it for static mocks.
- The JDK-activated profiles follow the parent's naming and order:
`java-N-up` adds configuration, `java-below-N` downgrades plugins and test
dependencies that require Java N.
- The Java 15-only profile is replaced by `@DisabledOnJre(JRE.JAVA_15)`: its
exclusion still referred to the test class name from before the rename.
**Settings already in commons-parent**
| Setting | In commons-parent since |
|---|---|
| `commons.distSvnStagingUrl` | 52 |
| `commons.release.isDistModule` | 54 |
| `commons.encoding` | 79 |
| `-XX:+EnableDynamicAgentLoading` on Java 21+ (`java-21-up`) | 86 |
The custom `argLine` property hid the parent's Java 21+ option; the Lang
options are now appended to `@{argLine}` in the Surefire configuration, as the
parent recommends.
Tested with the default `mvn` goal on Java 8 and 25.
AI disclosure: written with Claude Code (Claude Opus 5.5) under my direction.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]