Bug 563526: require Java 7 for building
Signed-off-by: Maarten Mulders <m.th.mulders@xs4all.nl>
diff --git a/pom.xml b/pom.xml
index dc30ee3..dc46c70 100644
--- a/pom.xml
+++ b/pom.xml
@@ -84,8 +84,8 @@
</ciManagement>
<properties>
- <maven.compiler.source>1.6</maven.compiler.source>
- <maven.compiler.target>1.6</maven.compiler.target>
+ <maven.compiler.source>1.7</maven.compiler.source>
+ <maven.compiler.target>1.7</maven.compiler.target>
<tycho.scmUrl>scm:git:http://git.eclipse.org/gitroot/sisu/org.eclipse.sisu.plexus.git</tycho.scmUrl>
<tycho-version>1.0.0</tycho-version>
</properties>
@@ -100,13 +100,13 @@
<configuration>
<signature>
<groupId>org.codehaus.mojo.signature</groupId>
- <artifactId>java16</artifactId>
- <version>1.1</version>
+ <artifactId>java17</artifactId>
+ <version>1.0</version>
</signature>
</configuration>
<executions>
<execution>
- <id>check-java6</id>
+ <id>check-java7</id>
<phase>package</phase>
<goals>
<goal>check</goal>
@@ -120,7 +120,7 @@
<configuration>
<rules>
<enforceBytecodeVersion>
- <maxJdkVersion>1.6</maxJdkVersion>
+ <maxJdkVersion>1.7</maxJdkVersion>
</enforceBytecodeVersion>
</rules>
</configuration>
@@ -137,7 +137,7 @@
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
- <executionEnvironment>JavaSE-1.6</executionEnvironment>
+ <executionEnvironment>JavaSE-1.7</executionEnvironment>
<target>
<artifact>
<groupId>org.eclipse.sisu</groupId>
@@ -303,7 +303,7 @@
<excludePackageNames>*.internal,org.codehaus.*</excludePackageNames>
<additionalparam>
-quiet
- -federate JDK http://docs.oracle.com/javase/6/docs/api/index.html?
+ -federate JDK http://docs.oracle.com/javase/7/docs/api/index.html?
-federationxml JDK http://doclava.googlecode.com/svn/static/api/openjdk-6.xml
-federate Guice http://google-guice.googlecode.com/git-history/3.0/javadoc
-hdf project.name "${project.name}"