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>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<properties>
|
||||
<sourceJavaVersion>1.7</sourceJavaVersion>
|
||||
</properties>
|
||||
</project>
|
||||
|
||||
|
9
pom.xml
9
pom.xml
@ -229,8 +229,8 @@
|
||||
<version>2.3.2</version>
|
||||
<configuration>
|
||||
<encoding>UTF-8</encoding>
|
||||
<source>1.6</source>
|
||||
<target>1.6</target>
|
||||
<source>${sourceJavaVersion}</source>
|
||||
<target>${targetJavaVersion}</target>
|
||||
<debug>true</debug>
|
||||
<optimize>true</optimize>
|
||||
<showDeprecation>true</showDeprecation>
|
||||
@ -340,5 +340,10 @@
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
|
||||
<properties>
|
||||
<sourceJavaVersion>1.6</sourceJavaVersion>
|
||||
<targetJavaVersion>1.7</targetJavaVersion>
|
||||
</properties>
|
||||
</project>
|
||||
|
||||
|
@ -35,5 +35,9 @@
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<properties>
|
||||
<sourceJavaVersion>1.7</sourceJavaVersion>
|
||||
</properties>
|
||||
</project>
|
||||
|
||||
|
@ -35,5 +35,9 @@
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<properties>
|
||||
<sourceJavaVersion>1.7</sourceJavaVersion>
|
||||
</properties>
|
||||
</project>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user