Full name:
org.apache.rat:apache-rat-plugin:0.16.1:check
Description:
Run Rat to perform a violation check.
Attributes:
validate.| Name | Type | Since | Description |
|---|---|---|---|
<basedir> |
File |
- |
The base directory, in which to search for files. Default: ${basedir}User Property: rat.basedir |
| Name | Type | Since | Description |
|---|---|---|---|
<addDefaultLicenseMatchers> |
boolean |
- |
Whether to add the default list of license matchers. Default: trueUser Property: rat.addDefaultLicenseMatchers |
<addDefaultLicenses> |
boolean |
- |
Whether to add the default list of licenses. Default: trueUser Property: rat.addDefaultLicenses |
<additionalLicenseFiles> |
String[] |
- |
No description. |
<addLicenseHeaders> |
String |
- |
Whether to add license headers; possible values are forced, true, and false (default).Default: falseUser Property: rat.addLicenseHeaders |
<approvedLicenseFile> |
String |
- |
No description. User Property: rat.approvedFile |
<approvedLicenses> |
String[] |
- |
No description. |
<consoleOutput> |
boolean |
0.12 |
Whether to output the names of files that have unapproved licenses to the console. Defaults to true to ease builds in containers where you are unable to access rat.txt easily.Default: trueUser Property: rat.consoleOutput |
<copyrightMessage> |
String |
- |
Copyright message to add to license headers. This option is ignored, unless addLicenseHeaders is set to true, or forced.User Property: rat.copyrightMessage |
<defaultLicenseFiles> |
String[] |
0.8 |
Specifies the licenses to accept. By default, these are added to the default licenses, unless you set addDefaultLicenseMatchers to false. |
<excludes> |
String[] |
- |
Specifies files, which are excluded in the report. By default, no files are excluded. |
<excludesFile> |
String |
- |
Specifies a file, from which to read excludes. Basically, an alternative to specifying the excludes as a list. The excludesFile is assumed to be using the UFT8 character set. User Property: rat.excludesFile |
<excludesFileCharset> |
String |
- |
Specifies the include files character set. Defaults to @code{${project.build.sourceEncoding}), or @code{UTF8}. Default: ${project.build.sourceEncoding}User Property: rat.excludesFileCharset |
<excludeSubProjects> |
boolean |
- |
Whether to exclude subprojects. This is recommended, if you want a separate apache-rat-plugin report for each subproject. Default: trueUser Property: rat.excludeSubprojects |
<families> |
Family[] |
- |
No description. |
<ignoreErrors> |
boolean |
0.9 |
Will ignore rat errors and display a log message if any. Its use is NOT RECOMMENDED, but quite convenient on occasion. Default: falseUser Property: rat.ignoreErrors |
<includes> |
String[] |
- |
Specifies files, which are included in the report. By default, all files are included. |
<includesFile> |
String |
- |
Specifies a file, from which to read includes. Basically, an alternative to specifying the includes as a list. User Property: rat.includesFile |
<includesFileCharset> |
String |
- |
Specifies the include files character set. Defaults to @code{${project.build.sourceEncoding}), or @code{UTF8}. Default: ${project.build.sourceEncoding}User Property: rat.includesFileCharset |
<licenseFamilies> |
SimpleLicenseFamily[] |
0.8 |
Deprecated. No reason given Specifies the license families to accept. |
<licenses> |
Object[] |
- |
Deprecated. No reason given This is an object to accept both License of DeprecatedConfig objects. |
<numUnapprovedLicenses> |
int |
- |
Maximum number of files with unapproved licenses. Default: 0User Property: rat.numUnapprovedLicenses |
<parseSCMIgnoresAsExcludes> |
boolean |
- |
Whether to parse source code management system (SCM) ignore files and use their contents as excludes. At the moment this works for the following SCMs: See also: org.apache.rat.config.SourceCodeManagementSystems Default: trueUser Property: rat.parseSCMIgnoresAsExcludes |
<reportFile> |
File |
- |
Where to store the report. Default: ${project.build.directory}/rat.txtUser Property: rat.outputFile |
<reportStyle> |
String |
- |
Output style of the report. Use "plain" (the default) for a plain text report or "xml" for the raw XML report. Alternatively you can give the path of an XSL transformation that will be applied on the raw XML to produce the report written to the output file. Default: plainUser Property: rat.outputStyle |
<scanHiddenDirectories> |
boolean |
- |
No description. Default: falseUser Property: rat.scanHiddenDirectories |
<skip> |
boolean |
0.11 |
Will skip the plugin execution, e.g. for technical builds that do not take license compliance into account. Default: falseUser Property: rat.skip |
<useDefaultExcludes> |
boolean |
- |
Whether to use the default excludes when scanning for files. The default excludes are:
Default: trueUser Property: rat.useDefaultExcludes |
<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: trueUser Property: rat.useEclipseDefaultExcludes |
<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 and the .idea directory.Default: trueUser Property: rat.useIdeaDefaultExcludes |
<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: trueUser Property: rat.useMavenDefaultExcludes |
booleanNorat.addDefaultLicenseMatcherstruebooleanNorat.addDefaultLicensestruejava.lang.String[]Noforced, true, and false (default).java.lang.StringNorat.addLicenseHeadersfalsejava.lang.StringNorat.approvedFilejava.lang.String[]Nojava.io.FileYesrat.basedir${basedir}true to ease builds in containers where you are unable to access rat.txt easily.boolean0.12Norat.consoleOutputtrueaddLicenseHeaders is set to true, or forced.java.lang.StringNorat.copyrightMessageaddDefaultLicenseMatchers to false.java.lang.String[]0.8Nojava.lang.String[]Nojava.lang.StringNorat.excludesFilejava.lang.StringNorat.excludesFileCharset${project.build.sourceEncoding}booleanNorat.excludeSubprojectstrueorg.apache.rat.mp.Family[]Noboolean0.9Norat.ignoreErrorsfalsejava.lang.String[]Nojava.lang.StringNorat.includesFilejava.lang.StringNorat.includesFileCharset${project.build.sourceEncoding}org.apache.rat.license.SimpleLicenseFamily[]0.8Nojava.lang.Object[]NointNorat.numUnapprovedLicenses0booleanNorat.parseSCMIgnoresAsExcludestruejava.io.FileNorat.outputFile${project.build.directory}/rat.txtjava.lang.StringNorat.outputStyleplainbooleanNorat.scanHiddenDirectoriesfalseboolean0.11Norat.skipfalseorg.apache.rat.config.SourceCodeManagementSystemsbooleanNorat.useDefaultExcludestrue.classpath and .project files, the .settings directory, and so on.booleanNorat.useEclipseDefaultExcludestrue*.iml, *.ipr and *.iws files and the .idea directory.booleanNorat.useIdeaDefaultExcludestruetarget directory, the cobertura.ser file, and so on.booleanNorat.useMavenDefaultExcludestrue