[ http://jira.codehaus.org/browse/MCOMPILER-9?page=all ]
Jason van Zyl moved MNG-1075 to MCOMPILER-9:
--------------------------------------------
Version: (was: 2.0-beta-2)
Component: (was: maven-compiler-plugin)
Workflow: jira (was: Maven)
Key: MCOMPILER-9 (was: MNG-1075)
Project: Maven 2.x Compiler Plugin (was: Maven 2)
> java 1.4+ assert statment not recognised.
> -----------------------------------------
>
> Key: MCOMPILER-9
> URL: http://jira.codehaus.org/browse/MCOMPILER-9
> Project: Maven 2.x Compiler Plugin
> Type: Bug
> Environment: Mac OSX running Java 1.4
> Reporter: Dave Sag
> Assignee: John Casey
> Priority: Critical
>
> Original Estimate: 3 hours
> Remaining: 3 hours
>
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]