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/09/06 01:32:08 UTC

[jira] Updated: (MPJAVA-22) default javac settings doesn't work for jdk 1.5

The following issue has been updated:

    Updater: Archimedes Trajano (mailto:trajano@yahoo.com)
       Date: Sun, 5 Sep 2004 7:30 PM
    Comment:
Patch file to make maven.compile.source property in plugin.jelly match the documentation.  Added contributor data.
    Changes:
             Attachment changed to java.patch
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MPJAVA-22?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJAVA-22

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJAVA-22
    Summary: default javac settings doesn't work for jdk 1.5
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-java-plugin

   Assignee: Jason van Zyl
   Reporter: Maarten Coene

    Created: Tue, 29 Jun 2004 10:45 AM
    Updated: Sun, 5 Sep 2004 7:30 PM

Description:
Hi,

the default javac settings are causing problems with jdk 1.5 because the target is set to 1.1 and no source has been set. I know I can specify maven.compile.source myself, but I think that at least the default settings should work with jdk 1.5...

output of "maven test":
C:\Projects\Other\dom4j>maven test
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc4

build:start:

java:prepare-filesystem:
    [mkdir] Created dir: C:\Projects\Other\dom4j\target\classes

java:compile:
    [echo] Compiling to C:\Projects\Other\dom4j/target/classes
    [javac] Compiling 196 source files to C:\Projects\Other\dom4j\target\classes
javac: target release 1.1 conflicts with default source release 1.5

BUILD FAILED
File...... C:\Documents and Settings\Maarten Coene\.maven\cache\maven-java-plugin-1.4\plugin.jelly
Element... ant:javac
Line...... 52
Column.... 48
Compile failed; see the compiler error output for details.
Total time: 4 seconds
Finished at: Tue Jun 29 16:32:00 CEST 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