Set source java version to 1.7 where needed. See #312

This commit is contained in:
norman 2012-05-10 08:09:31 +02:00
parent 27358352ac
commit d62977b061
4 changed files with 19 additions and 2 deletions

View File

@ -40,5 +40,9 @@
<version>${project.version}</version>
</dependency>
</dependencies>
<properties>
<sourceJavaVersion>1.7</sourceJavaVersion>
</properties>
</project>

View File

@ -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>

View File

@ -35,5 +35,9 @@
<version>${project.version}</version>
</dependency>
</dependencies>
<properties>
<sourceJavaVersion>1.7</sourceJavaVersion>
</properties>
</project>

View File

@ -35,5 +35,9 @@
<version>${project.version}</version>
</dependency>
</dependencies>
<properties>
<sourceJavaVersion>1.7</sourceJavaVersion>
</properties>
</project>