From 0ac74b8126b76498075f43c37603d67a15d8d205 Mon Sep 17 00:00:00 2001 From: Elliotte Rusty Harold Date: Fri, 7 Jan 2022 23:45:21 +0000 Subject: [PATCH] turn on animal-sniffer (#9383) * turn on animal-sniffer * allow API level 19 for util package --- java/pom.xml | 50 ++++++++++++++++++++++++++++------------------- java/util/pom.xml | 22 ++++++++++++++++++++- 2 files changed, 51 insertions(+), 21 deletions(-) diff --git a/java/pom.xml b/java/pom.xml index 5dd0b925b84d..e0f4f2643167 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -160,33 +160,43 @@ maven-antrun-plugin 3.0.0 + + maven-surefire-plugin + 3.0.0-M5 + org.codehaus.mojo animal-sniffer-maven-plugin 1.20 - - - net.sf.androidscents.signature - android-api-level-14 - 4.0_r4 - - - - - android - test - - check - - - - - - maven-surefire-plugin - 3.0.0-M5 + + + + org.codehaus.mojo + animal-sniffer-maven-plugin + + + net.sf.androidscents.signature + android-api-level-14 + 4.0_r4 + + + sun.misc.Unsafe + + + + + android + test + + check + + + + + diff --git a/java/util/pom.xml b/java/util/pom.xml index e870bff04c4a..5e7e891de75d 100644 --- a/java/util/pom.xml +++ b/java/util/pom.xml @@ -117,7 +117,27 @@ - + + + org.codehaus.mojo + animal-sniffer-maven-plugin + + + net.sf.androidscents.signature + android-api-level-19 + 4.4.2_r4 + + + + + android + test + + check + + + + org.apache.felix