-
Notifications
You must be signed in to change notification settings - Fork 459
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
Remove deprecated features from plugin-maven, and let plugin-gradle zombie-along #630
Conversation
- it had a dedicated block in plugin-maven, which hasn't been in the documentation for a very long time - moved the code to plugin-gradle for now, since plugin-gradle will have a breaking change soon, but not yet
- it had a dedicated block in plugin-maven, which hasn't been in the documentation for a very long time - moved the code to plugin-gradle for now, since plugin-gradle will have a breaking change soon, but not yet
@lutovich the important part is the changelog entry https://github.com/diffplug/spotless/blob/41a0d963f448522a78594d15a831029bcf2134a7/plugin-maven/CHANGES.md#removed If this bothers you, I am okay leaving this deprecated code around inside plugin-maven indefinitely. |
@nedtwigg I think it is a good idea to remove deprecated formats. Would it be possible to release this change with a major version bump of spotless-maven-plugin? |
Yup! Whenever the changelog has BREAKING in it, spotless-changelog will bump the major version. |
At this point, we can't remove anymore deprecated code from
lib
orlib-extra
unless we also remove the deprecated user-facing parts ofplugin-maven
andplugin-gradle
.This PR removes all deprecated functionality from
plugin-maven
.I'd like to delay breaking
plugin-gradle
for another week or two. So, I moved all the deprecated parts oflib
andlib-extra
over toplugin-gradle
in a.libdeprecated
package. The code will live there just until the very-soon breaking change toplugin-gradle
, at which point we'll be free of it forever.So after this PR,
lib
has no deprecated code, andplugin-maven
has no deprecated code.plugin-gradle
has a lot, but it can all be removed in an upcoming cleanup.