You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Dave Sag (JIRA)" <ji...@codehaus.org> on 2005/10/03 16:30:09 UTC

[jira] Commented: (MNG-1075) java 1.4+ assert statment not recognised.

    [ http://jira.codehaus.org/browse/MNG-1075?page=comments#action_47679 ] 

Dave Sag commented on MNG-1075:
-------------------------------

OSX 10.4.2 
java version "1.4.2_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-232)
Java HotSpot(TM) Client VM (build 1.4.2-54, mixed mode)

cheers

dave

> java 1.4+ assert statment not recognised.
> -----------------------------------------
>
>          Key: MNG-1075
>          URL: http://jira.codehaus.org/browse/MNG-1075
>      Project: Maven 2
>         Type: Bug
>   Components: maven-compiler-plugin
>     Versions: 2.0-beta-2
>  Environment: Mac OSX running Java 1.4
>     Reporter: Dave Sag
>     Assignee: John Casey
>     Priority: Critical
>      Fix For: 2.0-beta-4

>
>
> I can't work out how to tell maven2 that i want to enable asserts.  Whenever i compile i just get the error 
> cannot resolve symbol 
> symbol  : method assert (boolean)
> I have tried forcing java1.4 in my pom.xml with the following : 
> <plugins> 
>     <plugin> 
>       <groupId>org.apache.maven.plugins</groupId> 
>       <artifactId>maven-compiler-plugin</artifactId> 
>         <configuration> 
>           <source>1.4</source> 
>           <target>1.4</target> 
>         </configuration> 
>     </plugin> 
> </plugins> 
> but it made no difference. 
> Thus I am reporting this as a bug.

-- 
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
-
For more information on JIRA, 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