You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've also not been able to use exclusions successfully. I have this configuration to match folders like src-gen and similar, but generated files are still modified:
The Maven shade plugin dependency-reduced-pom.xml has bitten me in the past as well, but went away when I added -DuseDependencyReducedPomInJar=false. Does that work for you as well @philippe-granet ?
What version of OpenRewrite are you using?
I am using
How are you running OpenRewrite?
I am using the Maven plugin, and my project is a single module project.
What is the smallest, simplest way to reproduce the problem?
Use Maven Shade plugin and add
dependency-reduced-pom.xml
to excluded files (-Drewrite.exclusions=dependency-reduced-pom.xml
)What did you expect to see?
No patch generated for dependency-reduced-pom.xml
What did you see instead?
Patch generated for dependency-reduced-pom.xml
The text was updated successfully, but these errors were encountered: