Set source java version to 1.7 where needed. See #312
This commit is contained in:
parent
27358352ac
commit
d62977b061
@ -40,5 +40,9 @@
|
|||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<sourceJavaVersion>1.7</sourceJavaVersion>
|
||||||
|
</properties>
|
||||||
</project>
|
</project>
|
||||||
|
|
||||||
|
9
pom.xml
9
pom.xml
@ -229,8 +229,8 @@
|
|||||||
<version>2.3.2</version>
|
<version>2.3.2</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<encoding>UTF-8</encoding>
|
<encoding>UTF-8</encoding>
|
||||||
<source>1.6</source>
|
<source>${sourceJavaVersion}</source>
|
||||||
<target>1.6</target>
|
<target>${targetJavaVersion}</target>
|
||||||
<debug>true</debug>
|
<debug>true</debug>
|
||||||
<optimize>true</optimize>
|
<optimize>true</optimize>
|
||||||
<showDeprecation>true</showDeprecation>
|
<showDeprecation>true</showDeprecation>
|
||||||
@ -340,5 +340,10 @@
|
|||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<sourceJavaVersion>1.6</sourceJavaVersion>
|
||||||
|
<targetJavaVersion>1.7</targetJavaVersion>
|
||||||
|
</properties>
|
||||||
</project>
|
</project>
|
||||||
|
|
||||||
|
@ -35,5 +35,9 @@
|
|||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<sourceJavaVersion>1.7</sourceJavaVersion>
|
||||||
|
</properties>
|
||||||
</project>
|
</project>
|
||||||
|
|
||||||
|
@ -35,5 +35,9 @@
|
|||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<sourceJavaVersion>1.7</sourceJavaVersion>
|
||||||
|
</properties>
|
||||||
</project>
|
</project>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user