Use latest parent pom and specify java 6 as minimum
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1692818 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scrplugin/bnd-scr-plugin/pom.xml b/scrplugin/bnd-scr-plugin/pom.xml
index 5932fae..d8ae191 100644
--- a/scrplugin/bnd-scr-plugin/pom.xml
+++ b/scrplugin/bnd-scr-plugin/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>
@@ -45,6 +45,10 @@
<url>http://svn.apache.org/repos/asf/felix/scrplugin/bnd-scr-plugin</url>
</scm>
+ <properties>
+ <felix.java.version>6</felix.java.version>
+ </properties>
+
<dependencies>
<dependency>
<groupId>org.apache.felix</groupId>
@@ -134,15 +138,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>
</build>
</project>
diff --git a/scrplugin/maven-scr-plugin/pom.xml b/scrplugin/maven-scr-plugin/pom.xml
index dd73929..7be199a 100644
--- a/scrplugin/maven-scr-plugin/pom.xml
+++ b/scrplugin/maven-scr-plugin/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>
@@ -43,6 +43,10 @@
<url>http://svn.apache.org/repos/asf/felix/scrplugin/maven-scr-plugin</url>
</scm>
+ <properties>
+ <felix.java.version>6</felix.java.version>
+ </properties>
+
<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
@@ -69,16 +73,7 @@
<build>
<plugins>
- <!-- 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>
- <plugin>
+ <plugin>
<artifactId>maven-invoker-plugin</artifactId>
<version>1.7</version>
<configuration>