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

[4837] PoC of options when removing 'redundant' managed dependencies #5016

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

crankydillo
Copy link
Contributor

2 biggest needs. Don't remove if has config other than GAV+exclusion option and synchronize the version as opposed to remove.

Everything is still govered by Comparator.

This does not have impl for synchronize case (which is the big one we need:) But wanted to get something out there. Impl is real procedural, but biggest problem I see is the name. Are we still going to use 'Remove..' if an option is to 'synchronize'. I lean towards just leave it, but I'm a fan of good names.

Checklist

  • [in progress:) ] I've added unit tests to cover both positive and negative cases
  • I've read and applied the recipe conventions and best practices
  • I've used the IntelliJ IDEA auto-formatter on affected files

2 biggest needs.  Don't remove if has config other than GAV+exclusion
option and synchronize the version as opposed to remove.

Everything is still govered by `Comparator`.

This does not have impl for synchronize case (which is the big one we
need:)  But wanted to get something out there.  Impl is real procedural,
but biggest problem I see is the name.  Are we still going to use
'Remove..' if an option is to 'synchronize'.  I lean towards just leave
it, but I'm a fan of good names.
@crankydillo crankydillo changed the title [4837] PoC of configurable dep mgmt. [4837] PoC of options when removing 'redundant' managed dependencies Feb 11, 2025
crankydillo and others added 2 commits February 13, 2025 06:58
…antDependencyVersions.java

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…antDependencyVersionsTest.java

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@crankydillo
Copy link
Contributor Author

@timtebeek WDYT on this? Is this a good route? I think you could make a case the class name isn't a perfect match with this change. I'm typically pretty picky about having good names, but I'd be willing to run with this.

If you think this is a good option, I'll tidy it up and move it out of draft. If not, let me know. We'll have to do an internal recipe to achieve something similar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

3 participants