2009/6/15 Gavin <[email protected]>:

> Is that possible now, excluding sub-dirs ? If so how as I'd love to
> implement it so we can have more accurate results to work from for refining.

Here's an example from the Simal project (using Maven):

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>rat-maven-plugin</artifactId>
        <configuration>
          <excludes>
            <exclude>.pmd</exclude>
            <exclude>derby.log</exclude>
            <exclude>reports/**/*</exclude>
            <exclude>simal/**/*</exclude>
            <exclude>build/**/*</exclude>
            <exclude>simalDOAPFilestore/**/*</exclude>
            <exclude>simalRepository/**/*</exclude>
            <exclude>local.simal.properties</exclude>
            <exclude>local.simal.test.properties</exclude>
          </excludes>
        </configuration>
        <executions>
          <execution>
            <phase>verify</phase>
            <goals>
              <goal>check</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

Ross

Reply via email to