Skip to content

Commit 8d00677

Browse files
committed
Fix UpgradeDependencyVersion recipe in Log4j1ToSlf4j1, change trustParent to overrideManagedVersion
1 parent f280bfa commit 8d00677

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/resources/META-INF/rewrite/slf4j.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ recipeList:
3333
groupId: org.apache.logging.log4j
3434
artifactId: log4j-api
3535
newVersion: latest.release
36-
trustParent: true
36+
overrideManagedVersion: true
3737
- org.openrewrite.maven.UpgradeDependencyVersion:
3838
groupId: org.apache.logging.log4j
3939
artifactId: log4j-core
4040
newVersion: latest.release
41-
trustParent: true
41+
overrideManagedVersion: true
4242
- org.openrewrite.maven.AddDependency:
4343
groupId: org.slf4j
4444
artifactId: slf4j-api

0 commit comments

Comments
 (0)