Commit 678f36cf authored by Martin Lippert's avatar Martin Lippert Committed by Dave Syer

configure JRE that is different from compiler target level

parent 7c0c953f
...@@ -303,4 +303,20 @@ ...@@ -303,4 +303,20 @@
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<!-- specify the JRE level that is used on the classpath for compilation, to allow smooth import into Eclipse/STS IDE -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<java.classpath.jre>1.8</java.classpath.jre>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project> </project>
...@@ -573,4 +573,20 @@ ...@@ -573,4 +573,20 @@
<artifactId>snakeyaml</artifactId> <artifactId>snakeyaml</artifactId>
</dependency> </dependency>
</dependencies> </dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<!-- specify the JRE level that is used on the classpath for compilation, to allow smooth import into Eclipse/STS IDE -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<java.classpath.jre>1.7</java.classpath.jre>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project> </project>
...@@ -74,4 +74,20 @@ ...@@ -74,4 +74,20 @@
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<!-- specify the JRE level that is used on the classpath for compilation, to allow smooth import into Eclipse/STS IDE -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<java.classpath.jre>1.7</java.classpath.jre>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project> </project>
...@@ -137,5 +137,20 @@ ...@@ -137,5 +137,20 @@
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
<pluginManagement>
<plugins>
<plugin>
<!-- specify the JRE level that is used on the classpath for compilation, to allow smooth import into Eclipse/STS IDE -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<java.classpath.jre>1.7</java.classpath.jre>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build> </build>
</project> </project>
...@@ -82,4 +82,20 @@ ...@@ -82,4 +82,20 @@
</build> </build>
</profile> </profile>
</profiles> </profiles>
<build>
<pluginManagement>
<plugins>
<plugin>
<!-- specify the JRE level that is used on the classpath for compilation, to allow smooth import into Eclipse/STS IDE -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<java.classpath.jre>1.7</java.classpath.jre>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project> </project>
...@@ -266,5 +266,19 @@ ...@@ -266,5 +266,19 @@
</executions> </executions>
</plugin> </plugin>
</plugins> </plugins>
<pluginManagement>
<plugins>
<plugin>
<!-- specify the JRE level that is used on the classpath for compilation, to allow smooth import into Eclipse/STS IDE -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<java.classpath.jre>1.7</java.classpath.jre>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build> </build>
</project> </project>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment