You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/04/11 10:17:49 UTC

[jira] Closed: (MNG-278) Can't build my 1.5 project

     [ http://jira.codehaus.org/browse/MNG-278?page=history ]
     
Brett Porter closed MNG-278:
----------------------------

    Resolution: Fixed
     Assign To: Brett Porter

applied, with modifications (to avoid generating 49.0 classes on 1.5 by default)

> Can't build my 1.5 project
> --------------------------
>
>          Key: MNG-278
>          URL: http://jira.codehaus.org/browse/MNG-278
>      Project: m2
>         Type: Bug
>     Versions: 2.0-alpha-1
>  Environment: Mac OS X 10.3.8, JDK 1.5.0_02
>     Reporter: Sam Pullara
>     Assignee: Brett Porter
>      Fix For: 2.0-alpha-2
>  Attachments: patch.txt, pom.xml
>
> Original Estimate: 1 hour
>         Remaining: 1 hour
>
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building null
> [INFO] ----------------------------------------------------------------------------
> [INFO] maven-compiler-plugin: resolved to version 1.0-20050405.161112-1 from local repository
> [INFO] [resources:resources]
> [INFO] [compiler:compile]
> Compiling 6 source files to /Users/sam/Projects/TexasSolitaireMaven/texas-solitaire/target/classes
> [INFO] ----------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ----------------------------------------------------------------------------
> [INFO] Reason: Compilation failure
> [INFO] ----------------------------------------------------------------------------
> [INFO] Failure executing javac, but could not parse the error:
> -source is an invalid option or argument.
> Usage: javac <options> <source files>
> where <options> includes:
>   -g                     Generate all debugging info
>   -g:none                Generate no debugging info
>   -g:{lines,vars,source} Generate only some debugging info
>   -O                     Optimize; may hinder debugging or enlarge class files
>   -nowarn                Generate no warnings
>   -verbose               Output messages about what the compiler is doing
>   -deprecation           Output source locations where deprecated APIs are used
>   -classpath <path>      Specify where to find user class files
>   -sourcepath <path>     Specify where to find input source files
>   -bootclasspath <path>  Override location of bootstrap class files
>   -extdirs <dirs>        Override location of installed extensions
>   -d <directory>         Specify where to place generated class files
>   -encoding <encoding>   Specify character encoding used by source files
>   -target <release>      Generate class files for specific VM version
> [INFO] ----------------------------------------------------------------------------
> [INFO] Total time: 0 seconds
> [INFO] Finished at: Sat Apr 09 17:05:50 PDT 2005
> [INFO] Final Memory: 1M/2M
> [INFO] ----------------------------------------------------------------------------
> /Users/sam/Projects/TexasSolitaireMaven/texas-solitaire:> which javac
> /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/javac

-- 
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