diff --git a/pom.xml b/pom.xml index 27798afb9e0..7ce082d5073 100644 --- a/pom.xml +++ b/pom.xml @@ -883,6 +883,9 @@ org.gaul modernizer-maven-plugin + + ${air.main.basedir}/src/modernizer/violations.xml + org/joda/time/.* diff --git a/presto-main/pom.xml b/presto-main/pom.xml index 72fbe8f830d..8d6a70cafaa 100644 --- a/presto-main/pom.xml +++ b/presto-main/pom.xml @@ -335,6 +335,7 @@ com.facebook.presto.server.security.util.jndi + com.facebook.presto.testing.assertions diff --git a/src/modernizer/violations.xml b/src/modernizer/violations.xml new file mode 100644 index 00000000000..ac4d751079d --- /dev/null +++ b/src/modernizer/violations.xml @@ -0,0 +1,14 @@ + + + + org/testng/Assert.assertEquals:(Ljava/lang/Iterable;Ljava/lang/Iterable;)V + 1.8 + Use com.facebook.presto.testing.assertions.Assert.assertEquals due to TestNG #543 + + + + org/testng/Assert.assertEquals:(Ljava/lang/Iterable;Ljava/lang/Iterable;Ljava/lang/String;)V + 1.8 + Use com.facebook.presto.testing.assertions.Assert.assertEquals due to TestNG #543 + +