oh my god, isn't it fun to compile old code...
The problem now is compiling old war with jdk6
running mvn clean package
will produce following error:
[ERROR] Source option 6 is no longer supported. Use 7 or later.
[ERROR] Target option 6 is no longer supported. Use 7 or later.
Sure, i understand its bit old but this application wont compile with jdk7 ...
i have tried using targets in pom.xml
<maven.compiler.source>1.6</maven.compiler.source>
<maven.compiler.target>1.6</maven.compiler.target>
inside properties and then separately
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
Any combination of these will give same error, or im doing something wrong...
I've already had hours of fun looking packages for JDK 6 today. Please send help