SLING-9327 - adapt pom so that test work in jdk11, with minimal changes
diff --git a/pom.xml b/pom.xml
index 9d781e3..507c0e2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.sling</groupId>
     <artifactId>sling</artifactId>
-    <version>26</version>
+    <version>29</version>
     <relativePath />
   </parent>
 
@@ -77,7 +77,20 @@
                     </excludes>
                 </configuration>
             </plugin>        
-      </plugins>
+            <plugin>
+              <artifactId>maven-antrun-plugin</artifactId>
+              <configuration>
+                <skip>true</skip>
+              </configuration>
+            </plugin>
+            <plugin>
+              <groupId>org.codehaus.mojo</groupId>
+              <artifactId>animal-sniffer-maven-plugin</artifactId>
+              <configuration>
+                <skip>true</skip>
+              </configuration>
+            </plugin>
+    </plugins>
   </build>
   
   <profiles>
@@ -164,6 +177,8 @@
     <dependency>
         <groupId>org.apache.felix</groupId>
         <artifactId>org.apache.felix.scr.annotations</artifactId>
+        <version>1.9.12</version>
+        <scope>compile</scope>
     </dependency>
 
 
@@ -233,6 +248,8 @@
     <dependency>
       <groupId>javax.servlet</groupId>
       <artifactId>servlet-api</artifactId>
+      <version>2.4</version>
+      <scope>provided</scope>
     </dependency>
     <dependency>
         <groupId>org.osgi</groupId>