[ http://jira.codehaus.org/browse/MNG-1136?page=comments#action_48999 ]
Vincent Massol commented on MNG-1136: ------------------------------------- Dave, Are you sure? I've just tried using the Clover plugin on a Java 1.4 project that uses assert and it's working fine. Of course you'll need to have the following in your project's pom.xml: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.4</source> <target>1.4</target> </configuration> </plugin> That said, I have implemented support for passing the -jdk14 and -jdk15 flags which I'll be committing shortly. > clover breaks when encountering assert statements. > -------------------------------------------------- > > Key: MNG-1136 > URL: http://jira.codehaus.org/browse/MNG-1136 > Project: Maven 2 > Type: Bug > Components: maven-clover-plugin > Versions: 2.0-beta-3 > Environment: any > Reporter: Dave Sag > Assignee: Vincent Massol > > > the clover plugin is breaking on the line > assert result != null : "the result should not be null"; > saying > [INFO] Reason: Clover has failed to instrument the source files > i can only assume that this is because clover does not understand the assert, > or is assuming java 1.3? eitherway it's no use to me until this is fixed. -- 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]