[ http://jira.codehaus.org/browse/MCLOVER-48?page=all ]
Robert Newson updated MCLOVER-48: --------------------------------- Attachment: contextFilter.patch Much simpler than I'd imagined. It works for me, here's my config; <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clover-plugin</artifactId> <version>2.3-SNAPSHOT</version> <configuration> <jdk>1.5</jdk> <contextFilter>assert</contextFilter> </configuration> </plugin> > add support for block contexts. > ------------------------------- > > Key: MCLOVER-48 > URL: http://jira.codehaus.org/browse/MCLOVER-48 > Project: Maven 2.x Clover Plugin > Issue Type: New Feature > Reporter: Robert Newson > Attachments: contextFilter.patch > > > We use a lot of asserts in our code. We would like to exclude the assert > lines from our code coverage figures. The Ant, Eclipse and Maven 1.x plugin > support Clover's "block context" feature. Can the Maven 2.x plugin be > enhanced to support this? > http://www.cenqua.com/clover/doc/adv/contexts.html -- 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