The following comment has been added to this issue: Author: Ross Burnett Created: Tue, 14 Dec 2004 1:24 AM Body: This looks like a duplicate of MPJAVA-20, which is fixed in v1.5 of the plugin. --------------------------------------------------------------------- View this comment: http://jira.codehaus.org/browse/MPJAVA-29?page=comments#action_27990
--------------------------------------------------------------------- View the issue: http://jira.codehaus.org/browse/MPJAVA-29 Here is an overview of the issue: --------------------------------------------------------------------- Key: MPJAVA-29 Summary: javac: invalid flag: -source Type: Bug Status: Unassigned Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: maven-java-plugin Assignee: Reporter: Doug Knesek Created: Wed, 1 Dec 2004 3:57 PM Updated: Tue, 14 Dec 2004 1:24 AM Environment: Windows 2000 with Sun Java 1.4.2 JVM Description: I'm trying to invoke a 1.3 JVM for my builds. I'm not sure which properties I really need, so I set them as follows: maven.compile.source= maven.compile.fork=yes maven.compile.jdk=1.3 maven.compile.jdk.home=C:/jdk1.3.1_14 maven.compile.executable=C:/jdk1.3.1_14/bin/javac When running "maven -X jar", I get this: ... [javac] [DEBUG] Execute:Java13CommandLauncher: Executing 'C:\jdk1.3.1_14\bin\javac' with arguments: '-d' 'O:\wsad_lvc\GLCommon\GlMaven\Common\target\classes' '-classpath' 'O:\wsad_lvc\GLCommon\GlMaven\Common\target\classes;T:\Edc\Consolidation\.maven\repository\log4j\jars\log4j-1.2.8.jar;T \Edc\Consolidation\.maven\repository\regexp\jars\regexp-1.2.jar;T:\Edc\Consolidation\.maven\repository\great-lakes\jars gl-framework-1.0.jar;T:\Edc\Consolidation\.maven\repository\ibm\jars\j2ee.jar;T:\Edc\Consolidation\maven-1.0.1\lib\fore ead-1.0-beta-5.jar' '-sourcepath' 'O:\wsad_lvc\GLCommon\GlMaven\Common\src\java' '-target' '1.1' '-g' '-source' '' '@O:\wsad_lvc\GLCommon\GlMaven\Common\files625000713' The ' characters around the executable and arguments are not part of the command. [javac] javac: invalid flag: -source ... --------------------------------------------------------------------- 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]