There is some confusion here so we obviously need to clean up the
documentation.

Maven has always (in one or more of the UIs) excluded the files in the
standard excludes.  I don't like it but I did not want to break things
going forward when putting in the new processes.  Perhaps for V1 we
should revisit what is included/excluded by standard.

However, the equivalent for "useMavenDefaultExcludes" is
"<inputExcludeStd><std>MAVEN</std></inputExlcudeStd>"

If you want to not exclude the standard exclusion use
"<inputIncludeStd><std>STANDARD_PATTERNS<std></inputINcludeStd>"

References:

https://creadur.apache.org/rat/apache-rat-plugin/mvn_options.html
https://creadur.apache.org/rat017/apache-rat/standard_collections.html
https://creadur.apache.org/rat017/apache-rat/cli_options.html
https://creadur.apache.org/rat017/apache-rat/name_xref.html

On Fri, Dec 5, 2025 at 6:34 PM Slawomir Jaranowski (Jira) <[email protected]>
wrote:

> Slawomir Jaranowski created RAT-525:
> ---------------------------------------
>
>              Summary: Impossible to manage Standard Collections for
> exclusions
>                  Key: RAT-525
>                  URL: https://issues.apache.org/jira/browse/RAT-525
>              Project: Apache RAT
>           Issue Type: Bug
>     Affects Versions: 0.17
>             Reporter: Slawomir Jaranowski
>
>
> By default such collections are used:
>
> {noformat}
> [INFO] Excluding MAVEN collection.
> [INFO] Excluding ECLIPSE collection.
> [INFO] Excluding IDEA collection.
> [INFO] Processing exclude file from STANDARD_SCMS.
> [INFO] Excluding STANDARD_SCMS collection.
> [INFO] Excluding MISC collection.
> [INFO] Excluding HIDDEN_DIR collection.
> {noformat}
>
> there are parameters like: {{useMavenDefaultExcludes}} which can exclude
> {{MAVEN}} but it is deprecated, and I see:
>
> {noformat}
> [WARNING]  Parameter 'useMavenDefaultExcludes' (user property
> 'rat.useMavenDefaultExcludes') is deprecated: When set to true specifies
> that the MAVEN patterns are excluded. Use "inputIncludeStd MAVEN" to
> override.
> {noformat}
>
> the next issue is for message that mention about {{inputIncludeStd}} it is
> confused
>
> so I can not find a way how to manage Standard Collections for exclusions
>
>
>
> --
> This message was sent by Atlassian Jira
> (v8.20.10#820010)
>

Reply via email to