rewrite
rewrite copied to clipboard
feat: add RemoveCompileScope recipe
Closes #2888
Github is acting up for some reason. I am trying to re-request a review from @jkschneider and @timtebeek
Thanks!
Looking at the implementation and current set of tests my worry is if we would correctly handle cases where there is a parent with a dependencyManagement
section, setting an explicit scope, that is overridden with compile
in a project pom.xml
. That parent can also be defined outside the current project, and might need to be resolved & evaluated.
Looking at the implementation and current set of tests my worry is if we would correctly handle cases where there is a parent with a
dependencyManagement
section, setting an explicit scope, that is overridden withcompile
in a projectpom.xml
. That parent can also be defined outside the current project, and might need to be resolved & evaluated.
Are you aware of any other recipe that is doing this? Or is this a foundational need of rewrite?
If you can share any example that would be helpful