httplite: add Animal Sniffer plugin to build to enforce Java 1.3 API compliance as suggested by Felix Meschberger. Fixes FELIX-3287.
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1229793 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/httplite/pom.xml b/httplite/pom.xml
index be5f3c2..fec0b4e 100644
--- a/httplite/pom.xml
+++ b/httplite/pom.xml
@@ -31,6 +31,31 @@
<artifactId>org.apache.felix.httplite.reactor</artifactId>
<version>1-SNAPSHOT</version>
<packaging>pom</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>animal-sniffer-maven-plugin</artifactId>
+ <version>1.7</version>
+ <configuration>
+ <signature>
+ <groupId>org.codehaus.mojo.signature</groupId>
+ <artifactId>java13-sun</artifactId>
+ <version>1.0</version>
+ </signature>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>test</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
<modules>
<module>minimum</module>