From 5b52c710e984bb6b821fdfeb6ab4e64eca747531 Mon Sep 17 00:00:00 2001 From: Jeremy Landis Date: Fri, 10 Apr 2015 20:41:55 -0400 Subject: [PATCH] Add animal sniffer plugin Due to some signatures in slf4j-api has some ignores because signatures cannot be determined and will error otherwise. This is isolated to interfaces and code that shouldn't otherwise be present in usage per various javadocs around these. --- pom.xml | 34 ++++++++++++++++++++++++++++++++++ slf4j-api/pom.xml | 16 ++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/pom.xml b/pom.xml index 8eda1c94..810eb0c5 100755 --- a/pom.xml +++ b/pom.xml @@ -44,6 +44,9 @@ 4.10 3.3 2.10.2 + + java15 + 1.0 @@ -128,7 +131,38 @@ + + + + org.codehaus.mojo + animal-sniffer-maven-plugin + 1.14 + + + org.codehaus.mojo.signature + ${signature.artifact} + ${signature.version} + + + + + + + + org.codehaus.mojo + animal-sniffer-maven-plugin + + + test-sniffer + test + + check + + + + + org.apache.maven.plugins maven-compiler-plugin diff --git a/slf4j-api/pom.xml b/slf4j-api/pom.xml index 3d920627..415e58a3 100755 --- a/slf4j-api/pom.xml +++ b/slf4j-api/pom.xml @@ -20,6 +20,22 @@ + + org.codehaus.mojo + animal-sniffer-maven-plugin + + + + org.slf4j.impl.StaticMDCBinder + org.slf4j.spi.MDCAdapter + org.slf4j.impl.StaticLoggerBinder + org.slf4j.impl.StaticMarkerBinder + org.slf4j.IMarkerFactory + + + org.apache.maven.plugins maven-surefire-plugin