I'm trying to set up the rat maven plugin to validate a distribution
build but the build fails with "Too many unapproved licenses:" for
files that I've excluded, is there some other parameter i need to set?
The pom.xml has:
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>0.6</version>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
<basedir>target\apache-tuscany-sca-all-2.0-SNAPSHOT.dir</basedir>
<excludeSubProjects>false</excludeSubProjects>
<excludes>
<exclude>CHANGES</exclude>
<exclude>**/*.mf</exclude>
<exclude>features/configuration/config.ini</exclude>
</excludes>
</configuration>
</plugin>
the build console shows:
[INFO] [apache-rat:check {execution: default-cli}]
[INFO] Exclude: CHANGES
[INFO] Exclude: **/*.mf
[INFO] Exclude: features/configuration/config.ini
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Too many unapproved licenses: 105
[INFO] ------------------------------------------------------------------------
and the rat report thats generated in the target directory is at:
http://people.apache.org/~antelder/tuscany/rat/rat.txt
What do i need to do so that the rat uses the excluded files to stop
the build failing?
Many thanks,
...ant