Hi,

I try to filter logging statements from Clover coverage, but unfortunately I can't get it to work. That's how I configured clover in the pom.xml

       <plugin>
           <artifactId>maven-clover-plugin</artifactId>
           <groupId>com.atlassian.maven.plugins</groupId>
           <version>3.6</version>
           <configuration>
               <jdk>1.5</jdk>
               <licenseLocation>${clover.licenseLocation}</licenseLocation>
               <statementContext name="log" regexp="^LOG\..*"/>
               <statementContext name="iflog" regexp="^if \(LOG\.is.*"/>
               <contextFilters>log,iflog</contextFilters>
           </configuration>
       </plugin>

I did not find out how I configure this for a maven build, so I tried to combine the steps from the ant documentation with the maven documentation.
Ant:
http://confluence.atlassian.com/display/CLOVER/Using+Coverage+Contexts
Maven:
http://confluence.atlassian.com/display/CLOVER/Clover-for-Maven+2+User%27s+Guide#Clover-for-Maven2User%27sGuide-ConfiguringContexts

Can anybody help me and tell we what's wrong with my approach and maybe show me how this is be done in the right way :)?

thanks - kind regards,

Volker

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to