Skip to content

Name enforcer 4.0.0 as the release that removes the legacy rule API - #1047

Merged
slachiewicz merged 1 commit into
masterfrom
agent/enforcer-legacy-rule-warning
Oct 4, 2026
Merged

slachiewicz merged 1 commit into
masterfrom
agent/enforcer-legacy-rule-warning

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

EnforcerRule, EnforcerRule2 and EnforcerRuleHelper were already deprecated, and a rule that uses them already logs a warning, but both said only "a future version". The javadoc and the warning now name enforcer 4.0.0, the Maven 4 API line, as the release that removes them, and point to AbstractEnforcerRule and the custom-rule guide.

Part of apache/maven#13309.

@slachiewicz slachiewicz added the deprecated Pull requests that deprecate features label Oct 1, 2026
@slachiewicz
slachiewicz marked this pull request as ready for review October 4, 2026 11:30
@slachiewicz
slachiewicz merged commit 8dbec6d into master Oct 4, 2026
21 checks passed
@slachiewicz
slachiewicz deleted the agent/enforcer-legacy-rule-warning branch October 4, 2026 11:30
@github-actions github-actions Bot added this to the 3.7.0 milestone Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deprecated Pull requests that deprecate features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants