Skip to content

Conversation

@cstamas
Copy link
Member

@cstamas cstamas commented Oct 6, 2021

Update plugins. Enforcer is tricky, as it was in pluginMgmt, but in parent is in plugins, and extra rules are not picked up otherwise.

@cstamas cstamas requested review from gnodet and michael-o October 6, 2021 18:14
@cstamas cstamas self-assigned this Oct 6, 2021
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>3.1.1</version>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is used twice, make it a property

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This above is in pluginMgmt, and removed the version from one in profile, as it will use the value from pluginMgmt.

@cstamas
Copy link
Member Author

cstamas commented Oct 12, 2021

@michael-o ping

cstamas added a commit to apache/maven-parent that referenced this pull request 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
Make it clear that "it only works with Sisu" is meant for integrators,
not "end users" wishing to use them with Maven.
I am really unsure why we do this and do we do this
right at all. So am not toching this plugin for now.
@cstamas cstamas requested a review from michael-o November 13, 2021 14:41
@cstamas cstamas merged commit 3f60e86 into master Nov 13, 2021
@cstamas cstamas deleted the update-plugins branch November 13, 2021 14:50
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.

4 participants