Skip to content

Bump extra-enforcer-rules from 1.12.1 to 1.13.0 - #471

Draft
slachiewicz wants to merge 1 commit into
masterfrom
agent/extra-enforcer-rules-1.13.0
Draft

slachiewicz wants to merge 1 commit into
masterfrom
agent/extra-enforcer-rules-1.13.0

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

With 1.13.0, enforceBytecodeVersion also checks the classes of sibling reactor modules that are resolved as target/classes directories (for example in mvn test), where 1.12.1 skipped everything that was not a JAR. It also stops failing on META-INF/versions/N/ entries nested below the root, which no JVM loads. The site page now mentions the reactor check. 1.13.0 requires Maven 3.9.0, which is already this parent's minimum.

Verified: plexus-compiler on 29-SNAPSHOT, JDK 21 → mvn test-compile passes, and the debug log shows the rule analyzing plexus-compiler-api/target/classes; plexus-languages passes too

@slachiewicz slachiewicz added the dependencies Pull requests that update a dependency file label Nov 23, 2026
@slawekjaranowski

Copy link
Copy Markdown
Member

@slachiewicz with enforcer since 3.6.3 we have rule in plugin apache/maven-enforcer#968

rule from plugin will be used first ... I think

@slachiewicz

Copy link
Copy Markdown
Member Author

Good point. Let's see

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants