[MPH-219] Replace AbstractEffectiveMojo as static util class#353
[MPH-219] Replace AbstractEffectiveMojo as static util class#353Giovds wants to merge 9 commits intoapache:masterfrom
Conversation
fd07063 to
c3e66f3
Compare
| * | ||
| * @author <a href="mailto:[email protected]">Vincent Siveton</a> | ||
| * @since 2.1 | ||
| */ | ||
| public abstract class AbstractEffectiveMojo extends AbstractHelpMojo { |
There was a problem hiding this comment.
You can't remove existing public API. You need to deprecate this instead.
There was a problem hiding this comment.
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.
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.
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.
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.