The following comment has been added to this issue: Author: Martin Jaeger Created: Mon, 14 Jun 2004 1:48 AM Body: Hi Brett
Your duplication removal fixed the plugin. Now the -source parameter is not longer in the javac call. Thanks --------------------------------------------------------------------- View this comment: http://jira.codehaus.org/browse/MPJAVA-20?page=comments#action_20616 --------------------------------------------------------------------- View the issue: http://jira.codehaus.org/browse/MPJAVA-20 Here is an overview of the issue: --------------------------------------------------------------------- Key: MPJAVA-20 Summary: Cannot compile with JDK 1.3.1 because of wrong parameter Type: Bug Status: Closed Priority: Major Resolution: FIXED Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: maven-java-plugin Assignee: Brett Porter Reporter: Martin Jaeger Created: Wed, 2 Jun 2004 9:11 AM Updated: Mon, 14 Jun 2004 1:48 AM Environment: Solaris 2.8 Maven RC3 maven-java-plugin-1.4 Description: Impossible to compile with Javac 1.3.1 because the plugin everytime sets the source parameter and Javac 1.3.1 fails, because it does not recognize the parameter "source": This was introduced in the plugin 1.4. [javac] javac: invalid flag: -source [javac] Usage: javac <options> <source files> [javac] where possible options include: [javac] -g Generate all debugging info [javac] -g:none Generate no debugging info [javac] -g:{lines,vars,source} Generate only some debugging info [javac] -O Optimize; may hinder debugging or enlarge class file [javac] -nowarn Generate no warnings [javac] -verbose Output messages about what the compiler is doing [javac] -deprecation Output source locations where deprecated APIs are used [javac] -classpath <path> Specify where to find user class files [javac] -sourcepath <path> Specify where to find input source files [javac] -bootclasspath <path> Override location of bootstrap class files [javac] -extdirs <dirs> Override location of installed extensions [javac] -d <directory> Specify where to place generated class files [javac] -encoding <encoding> Specify character encoding used by source files [javac] -target <release> Generate class files for specific VM version [javac] BUILD FAILED File...... /home/mjaeger/.maven/plugins/maven-java-plugin-1.4/plugin.jelly Element... ant:javac Line...... 53 Column.... 48 Compile failed; see the compiler error output for details. Total time: 9 seconds Finished at: Wed Jun 02 15:02:59 MEST 2004 --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]