Use latest parent pom and specify java 6 as minimum

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1692817 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scrplugin/scrtask/pom.xml b/scrplugin/scrtask/pom.xml
index e7b78ea..eb6b667 100644
--- a/scrplugin/scrtask/pom.xml
+++ b/scrplugin/scrtask/pom.xml
@@ -22,7 +22,7 @@
     <parent>
         <groupId>org.apache.felix</groupId>
         <artifactId>felix-parent</artifactId>
-        <version>2.1</version>
+        <version>3</version>
         <relativePath>../../pom/pom.xml</relativePath>
     </parent>
 
@@ -44,6 +44,10 @@
         <url>http://svn.apache.org/repos/asf/felix/scrplugin/scrtask</url>
     </scm>
 
+    <properties>
+        <felix.java.version>6</felix.java.version>
+    </properties>
+
     <dependencies>
         <dependency>
             <groupId>org.apache.ant</groupId>
@@ -101,15 +105,6 @@
                     </execution>
                 </executions>
             </plugin>
-            <!-- JDK 1.5 needed for annotation support -->
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                  <source>1.5</source>
-                  <target>1.5</target>
-                </configuration>
-            </plugin>
-        </plugins>
+      </plugins>
     </build>
 </project>