diff --git a/amoro-ams/pom.xml b/amoro-ams/pom.xml index 98652eeb5b..b1882d81f7 100644 --- a/amoro-ams/pom.xml +++ b/amoro-ams/pom.xml @@ -423,6 +423,10 @@ org.junit.jupiter junit-jupiter-api + + log4j + log4j + diff --git a/amoro-common/pom.xml b/amoro-common/pom.xml index 2b21ff9997..2cb7ab51eb 100644 --- a/amoro-common/pom.xml +++ b/amoro-common/pom.xml @@ -151,6 +151,12 @@ curator-test ${curator.version} test + + + log4j + log4j + + diff --git a/amoro-format-hudi/pom.xml b/amoro-format-hudi/pom.xml index ace84c0a17..f8e57ee14e 100644 --- a/amoro-format-hudi/pom.xml +++ b/amoro-format-hudi/pom.xml @@ -54,6 +54,14 @@ asm asm + + log4j + log4j + + + org.slf4j + slf4j-log4j12 + diff --git a/amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common-iceberg-bridge/pom.xml b/amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common-iceberg-bridge/pom.xml index eb6ed9e035..ded3ad19d6 100644 --- a/amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common-iceberg-bridge/pom.xml +++ b/amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common-iceberg-bridge/pom.xml @@ -322,6 +322,12 @@ curator-test 2.12.0 test + + + log4j + log4j + + diff --git a/amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/pom.xml b/amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/pom.xml index 51f31421df..310c265151 100644 --- a/amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/pom.xml +++ b/amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/pom.xml @@ -388,6 +388,10 @@ com.google.guava guava + + log4j + log4j + diff --git a/pom.xml b/pom.xml index 1ba3948710..507d9e0e2f 100644 --- a/pom.xml +++ b/pom.xml @@ -92,6 +92,7 @@ 4.3 3.0.0-M7 3.13.0 + 3.0.0-M1 3.3.0 3.0.0 0.8.7 @@ -1484,6 +1485,11 @@ maven-compiler-plugin ${maven-compiler-plugin.version} + + org.apache.maven.plugins + maven-enforcer-plugin + ${maven-enforcer-plugin.version} + org.apache.maven.plugins maven-dependency-plugin @@ -1774,6 +1780,116 @@ org.apache.maven.plugins maven-clean-plugin + + org.apache.maven.plugins + maven-enforcer-plugin + + + enforce-maven + + enforce + + + + + + [3.1.1,) + + + ${java.target.version} + + + + + + ban-unsafe-snakeyaml + + enforce + + verify + + + + + org.yaml:snakeyaml:(,1.26] + + + + org.yaml:snakeyaml:(,1.26]:*:test + + + + + + + ban-unsafe-jackson + + enforce + + verify + + + + + com.fasterxml.jackson*:*:(,2.7.0] + + + + + + + forbid-log4j-1 + + enforce + + verify + + + + + log4j:log4j + org.slf4j:slf4j-log4j12 + + + + + + + dependency-convergence + + enforce + + + none + + + + + + + + enforce-junit-engines + + enforce + + validate + false + + + + "${project.dependencies}".contains("groupId=org.junit.jupiter, artifactId=junit-jupiter-engine,") + If junit-jupiter-engine is missing, JUnit 5 test cases will be silently ignored. + + + "${project.dependencies}".contains("groupId=org.junit.vintage, artifactId=junit-vintage-engine,") + If junit-vintage-engine is missing, JUnit 4 test cases will be silently ignored. + + + + + +