Bob Rodini - 2009-07-02

Does anyone know if you can set filters using the maven-emma-plugin.  I've tried countless variations and none worked.  It's as if the maven-emma-plugin just ignores all of these.

Here are two that I thought would work:
1) passing a plugin property from the command line

Example: mvn emma:emma -Dmaven.emma.filter.file=emma-filters.txt

2) specifying filters in the pom file

Example:
<pre>
<plugin>
  <groupId>org.codehaus.mojo</groupId>
  <artifactId>emma-maven-plugin</artifactId>
  <version>1.0-alpha-1</version>
  <inherited>true</inherited>
  <executions>
    <execution>
      <phase>process-classes</phase>
      <goals>
        <goal>emma</goal>
      </goals>
    </execution>
  </executions>
  <configuration>
    <verbose>true</verbose>
    <outputDirectory>${basedir}/target/report-emma-coverage</outputDirectory>
    <filters>
      <filter>-com.vanguard.App.class</filter>
      <filter>-com.vanguard.NumbersArray.class</filter>
    </filters>
  </configuration>
</plugin>
</pre>
Any info in this area would be greatly appreciated.