maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@codehaus.org
Subject [jira] Created: (MPJAVA-29) javac: invalid flag: -source
Date Wed, 01 Dec 2004 20:58:11 GMT
Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
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: Wed, 1 Dec 2004 3:57 PM
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message