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> <version>${project.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
<properties>
<sourceJavaVersion>1.7</sourceJavaVersion>
</properties>
</project> </project>

View File

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

View File

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

View File

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