rewrite icon indicating copy to clipboard operation
rewrite copied to clipboard

Apply add dependency correctly, taking aggregating poms into account

Open Laurens-W opened this issue 1 year ago • 0 comments

What's changed?

Introduce a mechanism to know which modules an aggregating pom applies to in order to prevent unnecessarily adding dependencies to aggregating poms

Anyone you would like to review specifically?

@timtebeek @sambsnyd

Any additional context

An aggregating pom could be a parent, when it's not there's no point in adding a dependency to it

Checklist

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

Laurens-W avatar Oct 18 '24 15:10 Laurens-W