Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MPOM-270] Fix enforcer plugin #32

Merged
merged 2 commits into from Oct 15, 2021
Merged

[MPOM-270] Fix enforcer plugin #32

merged 2 commits into from Oct 15, 2021

Conversation

cstamas
Copy link
Member

@cstamas cstamas commented Oct 14, 2021

Enforcer as is causes that downstream in case of update
POM must completely redefine plugin, thus, loosing all
the benefits of parent POM pluginMgmt.

Move plugin definition to pluginMgmt instead to fully
define it and it's dependines in plugin section. Keep
execution in plugin section.

Update to latest enforcer as well.


See for example apache/maven-resolver#129

Enforcer as is causes that downstream in case of update
POM must completely redefine plugin, thus, loosing all
the benefits of parent POM pluginMgmt.

Move plugin definition to pluginMgmt instead to fully
define it and it's dependines in plugin section. Keep
execution in plugin section.

Update to latest enforcer as well.

------

See for example apache/maven-resolver#129
@cstamas cstamas changed the title Fix enforcer plugin [MPOM-270] Fix enforcer plugin Oct 14, 2021
@cstamas cstamas merged commit 1429337 into master Oct 15, 2021
@cstamas cstamas deleted the fix-enforcer branch October 15, 2021 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants