FELIX-3301 Enforce only using Java 1.3 API and fix one single non-Java 1.3 API use

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1229057 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/configadmin/pom.xml b/configadmin/pom.xml
index 3571ece..a6e05e0 100644
--- a/configadmin/pom.xml
+++ b/configadmin/pom.xml
@@ -178,6 +178,27 @@
                     </instructions>
                 </configuration>
             </plugin>
+            <!-- Make sure to not use non Java 1.3 API -->
+            <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>
             <!--
                 configure default compilation for Java 1.3 and integration
                 test compilation for Java 5 (since integration tests use