pom.xml: apache-rat-plugin configuration from site to build sections, so that it also works outside of the site life-cycle
<build>
<plugins>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <exclude>src/test/resources/test1</exclude>
+ <exclude>src/test/resources/test2</exclude>
+ <exclude>.checkstyle</exclude>
+ <exclude>.fbprefs</exclude>
+ <exclude>.pmd</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.7</version>
</plugin>
- <plugin>
- <groupId>org.apache.rat</groupId>
- <artifactId>apache-rat-plugin</artifactId>
- <configuration>
- <excludes>
- <exclude>src/test/resources/test1</exclude>
- <exclude>src/test/resources/test2</exclude>
- <exclude>.checkstyle</exclude>
- <exclude>.fbprefs</exclude>
- <exclude>.pmd</exclude>
- </excludes>
- </configuration>
- </plugin>
</plugins>
</reporting>
