I am trying to remove a dependency from the maven file, but the RemoveDependency recipe is not working correctly. Specifically I want to remove the dependency from my POM:
[INFO] --- rewrite-maven-plugin:4.22.2:dryRun (default-cli) @ test-project ---
[INFO] Using active recipe(s) [com.yourorg.UpgradePOM]
[INFO] Using active styles(s) []
[INFO] Validating active recipes...
[INFO] Parsing Java main files...
[INFO] Parsing Java test files...
[INFO] Running recipe(s)...
[INFO] Applying recipes would make no changes. No patch file generated.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 47.857 s
[INFO] Finished at: 2022-04-07T13:30:07+02:00
[INFO] ------------------------------------------------------------------------
Good afternoon,
I am trying to remove a dependency from the maven file, but the RemoveDependency recipe is not working correctly. Specifically I want to remove the dependency from my POM:
When executing the :
The result obtained is not as expected:
You can reproduce the problem in the following attached project: https://github.com/josemariavillar/test_project/tree/remove_dependency
Thank you very much for the excellent support you provide
Thanks & regards