override rat plugin to exclude the files we won't need to scan to make the 
rat:check result cleaner.
----------------------------------------------------------------------------------------------------

                 Key: GERONIMO-5750
                 URL: https://issues.apache.org/jira/browse/GERONIMO-5750
             Project: Geronimo
          Issue Type: Improvement
      Security Level: public (Regular issues)
            Reporter: Shawn Jiang
             Fix For: 2.1.8, 2.2.2, 3.0-M2, 3.0


We should override rat plugin to exclude the files we won't need to scan to 
make the rat:check result cleaner.


<plugin>
                <groupId>org.apache.rat</groupId>
                <artifactId>apache-rat-plugin</artifactId>
                <version>0.7</version>
                <configuration>
                    <includes>
                        <include>src/**/*</include>
                        <include>pom.xml</include>
                    </includes>
                    <excludes>
                        <exclude>**/*/emptyfile1</exclude>
                        <exclude>**/*/goals.txt</exclude>
                        <exclude>**/*/hello.txt</exclude>
                        <exclude>**/*/RELEASE_NOTES-*.txt</exclude>
                        <exclude>**/*/MANIFEST.MF</exclude>
                        <exclude>.git</exclude>
                        <exclude>.gitignore</exclude>
                    </excludes>
                </configuration>
                <executions>
                    <execution>
                        <phase>verify</phase>
                        <goals>
                            <goal>check</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to