-
Notifications
You must be signed in to change notification settings - Fork 38
[MPH-219] Replace AbstractEffectiveMojo as static util class #353
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
base: master
Are you sure you want to change the base?
[MPH-219] Replace AbstractEffectiveMojo as static util class #353
Conversation
fd07063 to
c3e66f3
Compare
| * | ||
| * @author <a href="mailto:vincent.siveton@gmail.com">Vincent Siveton</a> | ||
| * @since 2.1 | ||
| */ | ||
| public abstract class AbstractEffectiveMojo extends AbstractHelpMojo { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can't remove existing public API. You need to deprecate this instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this an agreement on all ASF repo's? I thought this was mainly for maven-core API's.
I don't know, but do ASF-plugins support extensions of plugin public API's, do people do this? A quick search on GitHub on this class only seems to result in forks.
Alternatively I can e.g. deprecate it and change the implementation to point to the new class.
When will it be removed, and does this require a new ticket?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commit 042a98f could be reverted if it's decided to change it. Otherwise, the commit should revert the breaking change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do ASF-plugins support extensions of plugin public API's, do people do this? A quick search on GitHub on this class only seems to result in forks.
My opinion is similar. This plugin is not library, and its API are goals and their parameters. I would not consider such change to require deprecation.
This class being public does not make it public API.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exactly - plugin is not library
Closes #333
Following this checklist to help us incorporate your
contribution quickly and easily:
Note that commits might be squashed by a maintainer on merge.
This may not always be possible but is a best-practice.
mvn verifyto make sure basic checks pass.A more thorough check will be performed on your pull request automatically.
mvn -Prun-its verify).If your pull request is about ~20 lines of code you don't need to sign an
Individual Contributor License Agreement if you are unsure
please ask on the developers list.
To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.