Hi,

Am 30.01.2012 um 17:54 schrieb Dominique Pfister:

> Hi,
> 
> Just stumbled across this compilation setting in microkernel's pom.xml:
> 
>             <plugin>
>                 <artifactId>maven-compiler-plugin</artifactId>
>                 <version>2.3.2</version>
>                 <configuration>
>                     <source>1.5</source>
>                     <target>1.5</target>
>                 </configuration>
>             </plugin>
> 
> When actually _using_ a 1.5 jdk (on Mac OS X this can be done with the  
> Java Preferences tool), the maven-compiler-plugin will report 12  
> errors due to use of Java 1.6 methods.

Using the animal sniffer plugin would help, yet ...
> 
> So my question is: should we change this setting from 1.5 to 1.6  
> (which I favor) or review our code?

I agree that it is about time to abandon Java 5 ...

Regards
Felix

Reply via email to