You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/06/08 03:53:05 UTC
[jira] Commented: (MPJAVA-20) Cannot compile with JDK 1.3.1 because of wrong parameter
The following comment has been added to this issue:
Author: Joe Gonzales
Created: Mon, 7 Jun 2004 9:52 PM
Body:
This also happens on Linux.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPJAVA-20?page=comments#action_20462
---------------------------------------------------------------------
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: Open
Priority: Major
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, 7 Jun 2004 9:52 PM
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org