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

Update build plugins #129

Merged
merged 6 commits into from
Nov 13, 2021
Merged

Update build plugins #129

merged 6 commits into from
Nov 13, 2021

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 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

pom.xml Outdated Show resolved Hide resolved
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 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