[ http://jira.codehaus.org/browse/MNG-1136?page=comments#action_49139 ]
Vincent Massol commented on MNG-1136: ------------------------------------- Hi Dave, I'm still trying to understand your use case... In your last post you say that if you uncomment the clover plugin report you're still getting clover errors. I don't see how this is possible since you've removed the clover report... :-) I've tried running both the clover:check goal and the site and I don't any such errors. Here's what I propose to you. Could you please try the attached sample. It's the sample that I use to validate the clover plugin (it's also in SVN in components/trunk/examples). There are 2 ways to run it: 1/ By typing "mvn install". That will run the clover:check goal. It'll fail because there's still a problem in the clover plugin but it shouldn't fail on JDK 1.4 asserts 2/ By typing "mvn site". That should work with no error. Let me know if it works for you and if so how your project differs from it. Thanks PS: I have finished implementing the -jdk14 and -jdk15 flag but I need to validate this on an example and for this I need to be able to reproduce your error... :-) > 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 > Attachments: example_pom_from_davesag.xml > > > 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]