Issue Details (XML | Word | Printable)

Key: CACTUS-156
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Vincent Massol
Reporter: Henner Kollmann
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Cactus

javac settings

Created: 14/Nov/04 08:49 AM   Updated: 28/Jan/05 06:15 AM
Return to search
Component/s: Other
Affects Version/s: None
Fix Version/s: 1.7

Time Tracking:
Not Specified

Resolution Date: 14/Nov/04 10:28 AM


 Description  « Hide
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}"/>


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Vincent Massol added a comment - 14/Nov/04 10:28 AM
Applied, thanks.