[ 
https://issues.apache.org/jira/browse/RAT-510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18032735#comment-18032735
 ] 

Philipp Ottlinger commented on RAT-510:
---------------------------------------

If I run RAT with Maven4 on mailclena I do not see this problem as excludes 
should be reported as missing licenses:

{noformat}
12:38 $ mvn apache-rat:check
Apache Maven 4.0.0-rc-4 (bed0f8174bf728978f86fac533aa38a9511f3872)
Maven home: /apache-maven-4.0.0-rc-4
Java version: 17.0.12, vendor: Oracle Corporation, runtime: /jdk-17.0.12
Default locale: de_DE, platform encoding: UTF-8
OS name: "linux", version: "6.8.0-86-generic", arch: "amd64", family: "unix"
[INFO] 
[INFO] 1 problem was encountered while building the effective settings (use -e 
to see details)
[INFO] 
[INFO] Scanning for projects...
[INFO] 
[INFO] -------------------------------------------------< de.aikiit:mailclena 
>--------------------------------------------------
[INFO] Building mailclena 0.0.1-SNAPSHOT
[INFO]   from pom.xml
[INFO] ---------------------------------------------------------[ jar 
]----------------------------------------------------------
[INFO] 
[INFO] --- apache-rat:0.17:check (default-cli) @ mailclena ---
[WARNING] Basedir is : /workspace/mailclena
[INFO] Excluding patterns: **/docs/**/*, **/*.md, .codacy.yml, .editorconfig, 
.travis.yml, .github/**, *.md, src/main/resources, src/test/resources, 
**/out*/**, **/site*/**, **/log*.xml, **/*.log, **/.checkstyle/**/*, 
**/.gitignore, **/dependency-reduced-pom.xml
[INFO] Excluding STANDARD_PATTERNS collection.
[INFO] Excluding STANDARD_SCMS collection.
[INFO] Excluding MAVEN collection.
[INFO] Excluding IDEA collection.
[INFO] Excluding MAVEN collection.
[INFO] Excluding ECLIPSE collection.
[INFO] Excluding IDEA collection.
[INFO] Processing exclude file from GIT.
[INFO] Excluding GIT collection.
[INFO] Processing exclude file from STANDARD_SCMS.
[INFO] Excluding STANDARD_SCMS collection.
[INFO] Excluding MISC collection.
[INFO] Excluding HIDDEN_DIR collection.
[INFO] RAT summary:
[INFO]   Approved:  12
[INFO]   Archives:  0
[INFO]   Binaries:  2
[INFO]   Document types:  4
[INFO]   Ignored:  58
[INFO]   License categories:  1
[INFO]   License names:  1
[INFO]   Notices:  1
[INFO]   Standards:  12
[INFO]   Unapproved:  0
[INFO]   Unknown:  0
[INFO] 
--------------------------------------------------------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] 
--------------------------------------------------------------------------------------------------------------------------
[INFO] Total time:  1.339 s
[INFO] Finished at: 2025-10-24T12:38:39+02:00
[INFO] 
--------------------------------------------------------------------------------------------------------------------------
✔ mailclena [master|⚑ 1] 
12:38 $ 
{noformat}

> Under Maven 4 only the last <inputExclude> is accepted.
> -------------------------------------------------------
>
>                 Key: RAT-510
>                 URL: https://issues.apache.org/jira/browse/RAT-510
>             Project: Apache Rat
>          Issue Type: Bug
>          Components: Client - maven
>    Affects Versions: 0.17
>            Reporter: Claude Warren
>            Assignee: Claude Warren
>            Priority: Critical
>
> When using multiple <inputExclude> tags only the last one is accepted.
> Attempting to use
> {noformat}
> <inputExclude>
>   <exclude>A</exclude>
>   <exclude>B</exclude>
> </inputExclude> {noformat}
> fails



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to