Run RAT to perform a violation check.
Mojo Attributes:
verify| Name | Type | Description |
|---|---|---|
| basedir | File |
The base directory, in which to search for files. Default value is ${basedir}. |
| Name | Type | Description |
|---|---|---|
| addDefaultLicenseMatchers | boolean |
Whether to add the default list of license matchers. Default value is true. |
| excludeSubProjects | boolean |
Whether to exclude subprojects. This is recommended, if you want a separate rat-maven-plugin report for each
subproject. Default value is true. |
| excludes | String[] |
Specifies files, which are excluded in the report. By default, no files are excluded. |
| includes | String[] |
Specifies files, which are included in the report. By default, all files are included. |
| licenseMatchers | HeaderMatcherSpecification[] |
The licenses we want to match on. |
| numUnapprovedLicenses | int |
Maximum number of files with unapproved licenses. Default value is 0. |
| reportFile | File |
Where to store the report. Default value is ${project.build.directory}/rat.txt. |
| useDefaultExcludes | boolean |
Whether to use the default excludes when scanning for files. Default value is true. |
| useEclipseDefaultExcludes | boolean |
Whether to use the Eclipse specific default excludes when scanning for files. Eclipse specific default excludes
are given by the constant ECLIPSE_DEFAULT_EXCLUDES: The .classpath and .project files, the .settings directory,
and so on. Default value is true. |
| useIdeaDefaultExcludes | boolean |
Whether to use the IDEA specific default excludes when scanning for files. IDEA specific default excludes are
given by the constant IDEA_DEFAULT_EXCLUDES: The *.iml, *.ipr and *.iws files. Default value is true. |
| useMavenDefaultExcludes | boolean |
Whether to use the Maven specific default excludes when scanning for files. Maven specific default excludes are
given by the constant MAVEN_DEFAULT_EXCLUDES: The target directory, the cobertura.ser file, and so on. Default value is true. |
Whether to add the default list of license matchers.
booleanNo${rat.addDefaultLicenseMatchers}truejava.io.FileYes${rat.basedir}${basedir}booleanNo${rat.excludeSubprojects}truejava.lang.String[]Nojava.lang.String[]Noorg.codehaus.mojo.rat.HeaderMatcherSpecification[]NointNo${rat.numUnapprovedLicenses}0java.io.FileNo${rat.outputFile}${project.build.directory}/rat.txtbooleanNo${rat.useDefaultExcludes}truebooleanNo${rat.useEclipseDefaultExcludes}truebooleanNo${rat.useIdeaDefaultExcludes}truebooleanNo${rat.useMavenDefaultExcludes}true