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

Remove deprecated features from plugin-maven, and let plugin-gradle zombie-along #630

Merged
merged 9 commits into from
Jul 1, 2020

Conversation

nedtwigg
Copy link
Member

At this point, we can't remove anymore deprecated code from lib or lib-extra unless we also remove the deprecated user-facing parts of plugin-maven and plugin-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 of lib and lib-extra over to plugin-gradle in a .libdeprecated package. The code will live there just until the very-soon breaking change to plugin-gradle, at which point we'll be free of it forever.

So after this PR, lib has no deprecated code, and plugin-maven has no deprecated code. plugin-gradle has a lot, but it can all be removed in an upcoming cleanup.

nedtwigg added 8 commits June 29, 2020 23:00
- 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
@nedtwigg nedtwigg changed the title Remove deprecated features from plugin-maven, and move them to plugin-gradle Remove deprecated features from plugin-maven, and let plugin-gradle zombie-along Jun 30, 2020
@nedtwigg nedtwigg requested review from lutovich and fvgh June 30, 2020 06:35
@nedtwigg
Copy link
Member Author

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

@lutovich
Copy link
Contributor

lutovich commented Jul 1, 2020

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

@nedtwigg
Copy link
Member Author

nedtwigg commented Jul 1, 2020

Yup! Whenever the changelog has BREAKING in it, spotless-changelog will bump the major version.

@nedtwigg nedtwigg merged commit f8198b5 into main Jul 1, 2020
@nedtwigg nedtwigg deleted the remove-deprecated-break-maven branch July 1, 2020 17:11
nedtwigg added a commit that referenced this pull request Jul 2, 2020
…(continuation of #630 and #634). Preserve its eclipse-specific info in the EclipseCdtFormatterStep comments.
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.

2 participants