Description
I think the maven plugin should use the same compile flags then the java task.
In the plugin.jelly is missing the option for the souzrce compatibility. So i patched this.
Regards,
Henner Kollmann
======================================================================================================
— plugin.jelly.orig 2004-11-09 22:38:44.000000000 +0100
+++ plugin.jelly 2004-11-14 09:45:19.921875000 +0100
@@ -183,6 +183,7 @@
debug="${pom.getPluginContext('maven-java-plugin').getVariable('maven.compile.debug')}"
deprecation="${pom.getPluginContext('maven-java-plugin').getVariable('maven.compile.deprecation')}"
target="${pom.getPluginContext('maven-java-plugin').getVariable('maven.compile.target')}"
+ source="${pom.getPluginContext('maven-java-plugin').getVariable('maven.compile.source')}"
optimize="${pom.getPluginContext('maven-java-plugin').getVariable('maven.compile.optimize')}">
<ant:src path="${cactus.src.dir}"/>