Move recipe Replace Libraries With Api Plugin#791
Conversation
|
Need a review on this, Thank you |
| <dependency> | ||
| <groupId>io.jenkins.tools.bom</groupId> | ||
| <artifactId>bom-${jenkins.baseline}.x</artifactId> | ||
| <version>4051.v78dce3ce8b_d6</version> |
There was a problem hiding this comment.
Let's be careful with target bom version since it's moving every week.
Better to use Settings.getBomVersion() where possible
There was a problem hiding this comment.
I think we don't need it here as we are not upgrading the jenkins version and not tracking the weekly release line.
|
Hi, Thanks! I think we should not exclude anything comming from an API plugin. Genearally they are used with a BOM, so we should not have dependency convergence issue I think the situation is much better now than it was originally |
598de2a to
540c08e
Compare
|
The recipe is not excluding anything from the API plugin, added unit tests for the same |
Issue #637
Moved the Recipe
ReplaceLibrariesWithApiPluginin the plugin-modernizer-tool recipes. Exclusions are not added for libraries that the API plugin handles, as the API plugin is designed to bring those dependencies to the consumer.Testing done
Added the
same pom.xml as a test casewhere the duplicate tag issue was occurring.Submitter checklist