[PR] Bump org.apache.maven.plugins:maven-pmd-plugin from 3.21.2 to 3.22.0 [creadur-whisker]

2024-04-25 Thread via GitHub


dependabot[bot] opened a new pull request, #143:
URL: https://github.com/apache/creadur-whisker/pull/143

   Bumps 
[org.apache.maven.plugins:maven-pmd-plugin](https://github.com/apache/maven-pmd-plugin)
 from 3.21.2 to 3.22.0.
   
   Release notes
   Sourced from https://github.com/apache/maven-pmd-plugin/releases";>org.apache.maven.plugins:maven-pmd-plugin's
 releases.
   
   3.22.0
   
   🚀 New features and improvements
   
   https://issues.apache.org/jira/browse/MPMD-379";>[MPMD-379] 
- Upgrade to use PMD 7.0.0 by default (https://redirect.github.com/apache/maven-pmd-plugin/pull/144";>#144) 
https://github.com/mkolesnikov";>@​mkolesnikov
   
   📦 Dependency updates
   
   https://issues.apache.org/jira/browse/MPMD-394";>[MPMD-394] 
- Bump org.apache.maven.plugins:maven-plugins from 41 to 42 (https://redirect.github.com/apache/maven-pmd-plugin/pull/148";>#148) 
https://github.com/dependabot";>@​dependabot
   https://issues.apache.org/jira/browse/MPMD-393";>[MPMD-393] 
- Bump commons-io:commons-io from 2.16.0 to 2.16.1 (https://redirect.github.com/apache/maven-pmd-plugin/pull/147";>#147) 
https://github.com/dependabot";>@​dependabot
   https://issues.apache.org/jira/browse/MPMD-393";>[MPMD-393] 
- Bump commons-io:commons-io from 2.15.1 to 2.16.0 (https://redirect.github.com/apache/maven-pmd-plugin/pull/146";>#146) 
https://github.com/dependabot";>@​dependabot
   Bump apache/maven-gh-actions-shared from 3 to 4 (https://redirect.github.com/apache/maven-pmd-plugin/pull/143";>#143) 
https://github.com/dependabot";>@​dependabot
   Bump org.codehaus.plexus:plexus-resources from 1.2.0 to 1.3.0 (https://redirect.github.com/apache/maven-pmd-plugin/pull/140";>#140) 
https://github.com/dependabot";>@​dependabot
   Bump org.apache.commons:commons-lang3 from 3.12.0 to 3.14.0 (https://redirect.github.com/apache/maven-pmd-plugin/pull/137";>#137) 
https://github.com/dependabot";>@​dependabot
   Bump commons-io:commons-io from 2.11.0 to 2.15.1 (https://redirect.github.com/apache/maven-pmd-plugin/pull/138";>#138) 
https://github.com/dependabot";>@​dependabot
   
   👻 Maintenance
   
   Bump release-drafter/release-drafter from 5 to 6 (https://redirect.github.com/apache/maven-pmd-plugin/pull/142";>#142) 
https://github.com/dependabot";>@​dependabot
   
   
   
   
   Commits
   
   https://github.com/apache/maven-pmd-plugin/commit/a9dfc308edf4affa364762c41eead60187f523c5";>a9dfc30
 [maven-release-plugin] prepare release maven-pmd-plugin-3.22.0
   https://github.com/apache/maven-pmd-plugin/commit/4bc08a93b4632c6bb7482d0e79d3493d425f1e60";>4bc08a9
 (doc) Update release notes for upcoming 3.22.0
   https://github.com/apache/maven-pmd-plugin/commit/2823fa09871a0d6a4296d3c59f52f0034eb220db";>2823fa0
 Bump org.apache.maven.plugins:maven-plugins from 41 to 42 (https://redirect.github.com/apache/maven-pmd-plugin/issues/148";>#148)
   https://github.com/apache/maven-pmd-plugin/commit/89a7cdb594c3b28beafb44d6c0251bc7a4bbd71e";>89a7cdb
 [MPMD-379] Upgrade to use PMD 7.0.0 by default (https://redirect.github.com/apache/maven-pmd-plugin/issues/144";>#144)
   https://github.com/apache/maven-pmd-plugin/commit/f884af3f354aae619a6a97a83be6bf46067a53cf";>f884af3
 Fixups from review (https://redirect.github.com/apache/maven-pmd-plugin/issues/144";>#144)
   https://github.com/apache/maven-pmd-plugin/commit/a3ac53c954b00527d17603c8179d6555b14124d9";>a3ac53c
 Bump commons-io:commons-io from 2.16.0 to 2.16.1 (https://redirect.github.com/apache/maven-pmd-plugin/issues/147";>#147)
   https://github.com/apache/maven-pmd-plugin/commit/4aaf0da7f8337aed08c417ff8a7eb0204a4b925e";>4aaf0da
 Fixups from review (https://redirect.github.com/apache/maven-pmd-plugin/issues/144";>#144)
   https://github.com/apache/maven-pmd-plugin/commit/1528f30a8297a8a463fcb7fd75a8e648205b6afd";>1528f30
 [MPMD-379] Fix build for Java8
   https://github.com/apache/maven-pmd-plugin/commit/193c037a6d2284e9caa7f601323f110ce342bc12";>193c037
 [MPMD-379] Add IT for Java 21
   https://github.com/apache/maven-pmd-plugin/commit/73b40104ccb4a26904f58200ef20f876d0772f4c";>73b4010
 [MPMD-379] Improve upgrading notes
   Additional commits viewable in https://github.com/apache/maven-pmd-plugin/compare/maven-pmd-plugin-3.21.2...maven-pmd-plugin-3.22.0";>compare
 view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-pmd-plugin&package-manager=maven&previous-version=3.21.2&new-version=3.22.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot acti

[PR] Bump org.apache.maven.plugins:maven-pmd-plugin from 3.21.2 to 3.22.0 [creadur-rat]

2024-04-25 Thread via GitHub


dependabot[bot] opened a new pull request, #245:
URL: https://github.com/apache/creadur-rat/pull/245

   Bumps 
[org.apache.maven.plugins:maven-pmd-plugin](https://github.com/apache/maven-pmd-plugin)
 from 3.21.2 to 3.22.0.
   
   Release notes
   Sourced from https://github.com/apache/maven-pmd-plugin/releases";>org.apache.maven.plugins:maven-pmd-plugin's
 releases.
   
   3.22.0
   
   🚀 New features and improvements
   
   https://issues.apache.org/jira/browse/MPMD-379";>[MPMD-379] 
- Upgrade to use PMD 7.0.0 by default (https://redirect.github.com/apache/maven-pmd-plugin/pull/144";>#144) 
https://github.com/mkolesnikov";>@​mkolesnikov
   
   📦 Dependency updates
   
   https://issues.apache.org/jira/browse/MPMD-394";>[MPMD-394] 
- Bump org.apache.maven.plugins:maven-plugins from 41 to 42 (https://redirect.github.com/apache/maven-pmd-plugin/pull/148";>#148) 
https://github.com/dependabot";>@​dependabot
   https://issues.apache.org/jira/browse/MPMD-393";>[MPMD-393] 
- Bump commons-io:commons-io from 2.16.0 to 2.16.1 (https://redirect.github.com/apache/maven-pmd-plugin/pull/147";>#147) 
https://github.com/dependabot";>@​dependabot
   https://issues.apache.org/jira/browse/MPMD-393";>[MPMD-393] 
- Bump commons-io:commons-io from 2.15.1 to 2.16.0 (https://redirect.github.com/apache/maven-pmd-plugin/pull/146";>#146) 
https://github.com/dependabot";>@​dependabot
   Bump apache/maven-gh-actions-shared from 3 to 4 (https://redirect.github.com/apache/maven-pmd-plugin/pull/143";>#143) 
https://github.com/dependabot";>@​dependabot
   Bump org.codehaus.plexus:plexus-resources from 1.2.0 to 1.3.0 (https://redirect.github.com/apache/maven-pmd-plugin/pull/140";>#140) 
https://github.com/dependabot";>@​dependabot
   Bump org.apache.commons:commons-lang3 from 3.12.0 to 3.14.0 (https://redirect.github.com/apache/maven-pmd-plugin/pull/137";>#137) 
https://github.com/dependabot";>@​dependabot
   Bump commons-io:commons-io from 2.11.0 to 2.15.1 (https://redirect.github.com/apache/maven-pmd-plugin/pull/138";>#138) 
https://github.com/dependabot";>@​dependabot
   
   👻 Maintenance
   
   Bump release-drafter/release-drafter from 5 to 6 (https://redirect.github.com/apache/maven-pmd-plugin/pull/142";>#142) 
https://github.com/dependabot";>@​dependabot
   
   
   
   
   Commits
   
   https://github.com/apache/maven-pmd-plugin/commit/a9dfc308edf4affa364762c41eead60187f523c5";>a9dfc30
 [maven-release-plugin] prepare release maven-pmd-plugin-3.22.0
   https://github.com/apache/maven-pmd-plugin/commit/4bc08a93b4632c6bb7482d0e79d3493d425f1e60";>4bc08a9
 (doc) Update release notes for upcoming 3.22.0
   https://github.com/apache/maven-pmd-plugin/commit/2823fa09871a0d6a4296d3c59f52f0034eb220db";>2823fa0
 Bump org.apache.maven.plugins:maven-plugins from 41 to 42 (https://redirect.github.com/apache/maven-pmd-plugin/issues/148";>#148)
   https://github.com/apache/maven-pmd-plugin/commit/89a7cdb594c3b28beafb44d6c0251bc7a4bbd71e";>89a7cdb
 [MPMD-379] Upgrade to use PMD 7.0.0 by default (https://redirect.github.com/apache/maven-pmd-plugin/issues/144";>#144)
   https://github.com/apache/maven-pmd-plugin/commit/f884af3f354aae619a6a97a83be6bf46067a53cf";>f884af3
 Fixups from review (https://redirect.github.com/apache/maven-pmd-plugin/issues/144";>#144)
   https://github.com/apache/maven-pmd-plugin/commit/a3ac53c954b00527d17603c8179d6555b14124d9";>a3ac53c
 Bump commons-io:commons-io from 2.16.0 to 2.16.1 (https://redirect.github.com/apache/maven-pmd-plugin/issues/147";>#147)
   https://github.com/apache/maven-pmd-plugin/commit/4aaf0da7f8337aed08c417ff8a7eb0204a4b925e";>4aaf0da
 Fixups from review (https://redirect.github.com/apache/maven-pmd-plugin/issues/144";>#144)
   https://github.com/apache/maven-pmd-plugin/commit/1528f30a8297a8a463fcb7fd75a8e648205b6afd";>1528f30
 [MPMD-379] Fix build for Java8
   https://github.com/apache/maven-pmd-plugin/commit/193c037a6d2284e9caa7f601323f110ce342bc12";>193c037
 [MPMD-379] Add IT for Java 21
   https://github.com/apache/maven-pmd-plugin/commit/73b40104ccb4a26904f58200ef20f876d0772f4c";>73b4010
 [MPMD-379] Improve upgrading notes
   Additional commits viewable in https://github.com/apache/maven-pmd-plugin/compare/maven-pmd-plugin-3.21.2...maven-pmd-plugin-3.22.0";>compare
 view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-pmd-plugin&package-manager=maven&previous-version=3.21.2&new-version=3.22.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions 

[jira] [Commented] (RAT-354) Integration tests fail with new Maven 4.0.0-alpha-12

2024-04-25 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on RAT-354:
-

Commit f531b8c3c07b05e61d020caa7859c251998e2a87 in creadur-rat's branch 
refs/heads/master from Philipp Ottlinger
[ https://gitbox.apache.org/repos/asf?p=creadur-rat.git;h=f531b8c3 ]

RAT-354: RAT remains Java8 and cannot be used with recent Maven4


> Integration tests fail with new Maven 4.0.0-alpha-12
> 
>
> Key: RAT-354
> URL: https://issues.apache.org/jira/browse/RAT-354
> Project: Apache Rat
>  Issue Type: Bug
>Affects Versions: 0.16.1
>Reporter: Philipp Ottlinger
>Assignee: Philipp Ottlinger
>Priority: Major
> Fix For: 0.17
>
>
> Running the newly published
> {code:shell}
> 22:22 $ mvn --version
> Apache Maven 4.0.0-alpha-12 (e627879aedd8a0c1859e58a527852ae8de1b4878)
> Maven home: ~/maven
> Java version: 1.8.0_192, vendor: Oracle Corporation, runtime: 
> ~/jdk1.8.0_192/jre
> Default locale: de_DE, platform encoding: UTF-8
> OS name: "linux", version: "5.15.0-91-generic", arch: "amd64", family: "unix"
> ✔ ~/creadur-rat [master|✔] 
> {code}
> on RAT yields a build failure from within the integration tests:
> {code:java}
> [INFO] 
> [INFO] — invoker:3.6.0:run (integration-test) @ apache-rat-plugin —
> [INFO] Building: CustomLicense/pom.xml
> [INFO]           CustomLicense/pom.xml  SUCCESS 
> (2.287 s)
> [INFO] Building: it1/pom.xml
> [INFO] run post-build script verify.groovy
> [INFO]           it1/pom.xml .. SUCCESS 
> (2.487 s)
> [INFO] Building: it4_RAT-168/pom.xml
> [INFO] run post-build script verify.groovy
> [INFO]   Assertion failed: 
> assert ! content.contains( '[WARNING]' )
>        | |       |
>        | |       true
>        | 'Apache Maven 4.0.0-alpha-12 
> (e627879aedd8a0c1859e58a527852ae8de1b4878)\nMaven home: 
> /home/hirsch/software/apache-maven-4.0.0-alpha-12\nJava version: 1.8.0_192, 
> vendor: Oracle Corporation, runtime: /home/hirsch/jdk1.8.0_192/jre\nDefault 
> locale: de_DE, platform encoding: UTF-8\nOS name: "linux", version: 
> "5.15.0-91-generic", arch: "amd64", family: "unix"\n[DEBUG] Created adapter 
> factory; available factories [file-lock, rwlock-local, semaphore-local, 
> noop]; available name mappers [discriminating, file-gav, file-hgav, 
> file-static, gav, static]\n[DEBUG] Created new class realm maven.api\n[DEBUG] 
> Importing foreign packages into class realm maven.api\n[DEBUG]   Imported: 
> jakarta.annotation.* < plexus.core\n[DEBUG]   Imported: jakarta.inject.* < 
> plexus.core\n[DEBUG]   Imported: javax.annotation.* < plexus.core\n[DEBUG]   
> Imported: javax.annotation.security.* < plexus.core\n[DEBUG]   Imported: 
> javax.inject.* < plexus.core\n[DEBUG]   Imported: org.apache.maven.* < 
> plexus.core\n[DEBUG]   Imported: org.apache.maven.api < plexus.core\n[DEBUG]  
>  Imported: org.apache.maven.artifact < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.classrealm < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.cli < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.configuration < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.exception < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.execution < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.execution.scope < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.feature < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.graph < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.lifecycle < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.model < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.monitor < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.plugin < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.profiles < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.project < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.reporting < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.repository < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.rtinfo.* < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.settings < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.toolchain < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.usability < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.* < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.authentication < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.authorization < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.events < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.observers < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.proxy < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.repository < plexus.core\n[DEBU

[jira] [Commented] (RAT-354) Integration tests fail with new Maven 4.0.0-alpha-12

2024-04-25 Thread Philipp Ottlinger (Jira)


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

Philipp Ottlinger commented on RAT-354:
---

Thanks - I'll add a note to our homepage.

> Integration tests fail with new Maven 4.0.0-alpha-12
> 
>
> Key: RAT-354
> URL: https://issues.apache.org/jira/browse/RAT-354
> Project: Apache Rat
>  Issue Type: Bug
>Affects Versions: 0.16.1
>Reporter: Philipp Ottlinger
>Assignee: Philipp Ottlinger
>Priority: Major
> Fix For: 0.17
>
>
> Running the newly published
> {code:shell}
> 22:22 $ mvn --version
> Apache Maven 4.0.0-alpha-12 (e627879aedd8a0c1859e58a527852ae8de1b4878)
> Maven home: ~/maven
> Java version: 1.8.0_192, vendor: Oracle Corporation, runtime: 
> ~/jdk1.8.0_192/jre
> Default locale: de_DE, platform encoding: UTF-8
> OS name: "linux", version: "5.15.0-91-generic", arch: "amd64", family: "unix"
> ✔ ~/creadur-rat [master|✔] 
> {code}
> on RAT yields a build failure from within the integration tests:
> {code:java}
> [INFO] 
> [INFO] — invoker:3.6.0:run (integration-test) @ apache-rat-plugin —
> [INFO] Building: CustomLicense/pom.xml
> [INFO]           CustomLicense/pom.xml  SUCCESS 
> (2.287 s)
> [INFO] Building: it1/pom.xml
> [INFO] run post-build script verify.groovy
> [INFO]           it1/pom.xml .. SUCCESS 
> (2.487 s)
> [INFO] Building: it4_RAT-168/pom.xml
> [INFO] run post-build script verify.groovy
> [INFO]   Assertion failed: 
> assert ! content.contains( '[WARNING]' )
>        | |       |
>        | |       true
>        | 'Apache Maven 4.0.0-alpha-12 
> (e627879aedd8a0c1859e58a527852ae8de1b4878)\nMaven home: 
> /home/hirsch/software/apache-maven-4.0.0-alpha-12\nJava version: 1.8.0_192, 
> vendor: Oracle Corporation, runtime: /home/hirsch/jdk1.8.0_192/jre\nDefault 
> locale: de_DE, platform encoding: UTF-8\nOS name: "linux", version: 
> "5.15.0-91-generic", arch: "amd64", family: "unix"\n[DEBUG] Created adapter 
> factory; available factories [file-lock, rwlock-local, semaphore-local, 
> noop]; available name mappers [discriminating, file-gav, file-hgav, 
> file-static, gav, static]\n[DEBUG] Created new class realm maven.api\n[DEBUG] 
> Importing foreign packages into class realm maven.api\n[DEBUG]   Imported: 
> jakarta.annotation.* < plexus.core\n[DEBUG]   Imported: jakarta.inject.* < 
> plexus.core\n[DEBUG]   Imported: javax.annotation.* < plexus.core\n[DEBUG]   
> Imported: javax.annotation.security.* < plexus.core\n[DEBUG]   Imported: 
> javax.inject.* < plexus.core\n[DEBUG]   Imported: org.apache.maven.* < 
> plexus.core\n[DEBUG]   Imported: org.apache.maven.api < plexus.core\n[DEBUG]  
>  Imported: org.apache.maven.artifact < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.classrealm < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.cli < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.configuration < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.exception < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.execution < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.execution.scope < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.feature < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.graph < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.lifecycle < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.model < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.monitor < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.plugin < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.profiles < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.project < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.reporting < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.repository < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.rtinfo.* < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.settings < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.toolchain < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.usability < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.* < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.authentication < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.authorization < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.events < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.observers < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.proxy < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.repository < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.resource < plexus.core\n[DEBUG]   Imported: 
> org.codehaus.classworlds < plexus.core\n[DEBUG]   Imported: 
> org.codehaus.plexus.* < plexus.core\n[DEBUG]   Imported: 
> org.codehaus.plexus.class

[jira] [Commented] (RAT-354) Integration tests fail with new Maven 4.0.0-alpha-12

2024-04-25 Thread Tamas Cservenak (Jira)


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

Tamas Cservenak commented on RAT-354:
-

Yes, mvn4 is Java17. Mvn3 remains Java8

> Integration tests fail with new Maven 4.0.0-alpha-12
> 
>
> Key: RAT-354
> URL: https://issues.apache.org/jira/browse/RAT-354
> Project: Apache Rat
>  Issue Type: Bug
>Affects Versions: 0.16.1
>Reporter: Philipp Ottlinger
>Assignee: Philipp Ottlinger
>Priority: Major
> Fix For: 0.17
>
>
> Running the newly published
> {code:shell}
> 22:22 $ mvn --version
> Apache Maven 4.0.0-alpha-12 (e627879aedd8a0c1859e58a527852ae8de1b4878)
> Maven home: ~/maven
> Java version: 1.8.0_192, vendor: Oracle Corporation, runtime: 
> ~/jdk1.8.0_192/jre
> Default locale: de_DE, platform encoding: UTF-8
> OS name: "linux", version: "5.15.0-91-generic", arch: "amd64", family: "unix"
> ✔ ~/creadur-rat [master|✔] 
> {code}
> on RAT yields a build failure from within the integration tests:
> {code:java}
> [INFO] 
> [INFO] — invoker:3.6.0:run (integration-test) @ apache-rat-plugin —
> [INFO] Building: CustomLicense/pom.xml
> [INFO]           CustomLicense/pom.xml  SUCCESS 
> (2.287 s)
> [INFO] Building: it1/pom.xml
> [INFO] run post-build script verify.groovy
> [INFO]           it1/pom.xml .. SUCCESS 
> (2.487 s)
> [INFO] Building: it4_RAT-168/pom.xml
> [INFO] run post-build script verify.groovy
> [INFO]   Assertion failed: 
> assert ! content.contains( '[WARNING]' )
>        | |       |
>        | |       true
>        | 'Apache Maven 4.0.0-alpha-12 
> (e627879aedd8a0c1859e58a527852ae8de1b4878)\nMaven home: 
> /home/hirsch/software/apache-maven-4.0.0-alpha-12\nJava version: 1.8.0_192, 
> vendor: Oracle Corporation, runtime: /home/hirsch/jdk1.8.0_192/jre\nDefault 
> locale: de_DE, platform encoding: UTF-8\nOS name: "linux", version: 
> "5.15.0-91-generic", arch: "amd64", family: "unix"\n[DEBUG] Created adapter 
> factory; available factories [file-lock, rwlock-local, semaphore-local, 
> noop]; available name mappers [discriminating, file-gav, file-hgav, 
> file-static, gav, static]\n[DEBUG] Created new class realm maven.api\n[DEBUG] 
> Importing foreign packages into class realm maven.api\n[DEBUG]   Imported: 
> jakarta.annotation.* < plexus.core\n[DEBUG]   Imported: jakarta.inject.* < 
> plexus.core\n[DEBUG]   Imported: javax.annotation.* < plexus.core\n[DEBUG]   
> Imported: javax.annotation.security.* < plexus.core\n[DEBUG]   Imported: 
> javax.inject.* < plexus.core\n[DEBUG]   Imported: org.apache.maven.* < 
> plexus.core\n[DEBUG]   Imported: org.apache.maven.api < plexus.core\n[DEBUG]  
>  Imported: org.apache.maven.artifact < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.classrealm < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.cli < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.configuration < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.exception < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.execution < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.execution.scope < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.feature < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.graph < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.lifecycle < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.model < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.monitor < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.plugin < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.profiles < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.project < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.reporting < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.repository < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.rtinfo.* < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.settings < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.toolchain < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.usability < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.* < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.authentication < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.authorization < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.events < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.observers < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.proxy < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.repository < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.resource < plexus.core\n[DEBUG]   Imported: 
> org.codehaus.classworlds < plexus.core\n[DEBUG]   Imported: 
> org.codehaus.plexus.* < plexus.core\n[DEBUG]   Imported: 
> org.codehaus.plexus.classworlds

[jira] [Commented] (RAT-354) Integration tests fail with new Maven 4.0.0-alpha-12

2024-04-25 Thread Philipp Ottlinger (Jira)


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

Philipp Ottlinger commented on RAT-354:
---

[~cstamas][~gnodet] is it intented that JDK8 can not be used with the most 
current M4-alpha-13 build?

23:05 $ ~/software/apache-maven-4.0.0-alpha-13/bin/mvn
Exception in thread "main" java.lang.UnsupportedClassVersionError: 
org/apache/maven/cli/MavenCli has been compiled by a more recent version of the 
Java Runtime (class file version 61.0), this version of the Java Runtime only 
recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:425)
at 
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
at 
org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.getMainClass(Launcher.java:140)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:259)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
✘-1 ~/workspace2016/creadur-rat [master|✔] 
23:05 $ 

> Integration tests fail with new Maven 4.0.0-alpha-12
> 
>
> Key: RAT-354
> URL: https://issues.apache.org/jira/browse/RAT-354
> Project: Apache Rat
>  Issue Type: Bug
>Affects Versions: 0.16.1
>Reporter: Philipp Ottlinger
>Assignee: Philipp Ottlinger
>Priority: Major
> Fix For: 0.17
>
>
> Running the newly published
> {code:shell}
> 22:22 $ mvn --version
> Apache Maven 4.0.0-alpha-12 (e627879aedd8a0c1859e58a527852ae8de1b4878)
> Maven home: ~/maven
> Java version: 1.8.0_192, vendor: Oracle Corporation, runtime: 
> ~/jdk1.8.0_192/jre
> Default locale: de_DE, platform encoding: UTF-8
> OS name: "linux", version: "5.15.0-91-generic", arch: "amd64", family: "unix"
> ✔ ~/creadur-rat [master|✔] 
> {code}
> on RAT yields a build failure from within the integration tests:
> {code:java}
> [INFO] 
> [INFO] — invoker:3.6.0:run (integration-test) @ apache-rat-plugin —
> [INFO] Building: CustomLicense/pom.xml
> [INFO]           CustomLicense/pom.xml  SUCCESS 
> (2.287 s)
> [INFO] Building: it1/pom.xml
> [INFO] run post-build script verify.groovy
> [INFO]           it1/pom.xml .. SUCCESS 
> (2.487 s)
> [INFO] Building: it4_RAT-168/pom.xml
> [INFO] run post-build script verify.groovy
> [INFO]   Assertion failed: 
> assert ! content.contains( '[WARNING]' )
>        | |       |
>        | |       true
>        | 'Apache Maven 4.0.0-alpha-12 
> (e627879aedd8a0c1859e58a527852ae8de1b4878)\nMaven home: 
> /home/hirsch/software/apache-maven-4.0.0-alpha-12\nJava version: 1.8.0_192, 
> vendor: Oracle Corporation, runtime: /home/hirsch/jdk1.8.0_192/jre\nDefault 
> locale: de_DE, platform encoding: UTF-8\nOS name: "linux", version: 
> "5.15.0-91-generic", arch: "amd64", family: "unix"\n[DEBUG] Created adapter 
> factory; available factories [file-lock, rwlock-local, semaphore-local, 
> noop]; available name mappers [discriminating, file-gav, file-hgav, 
> file-static, gav, static]\n[DEBUG] Created new class realm maven.api\n[DEBUG] 
> Importing foreign packages into class realm maven.api\n[DEBUG]   Imported: 
> jakarta.annotation.* < plexus.core\n[DEBUG]   Imported: jakarta.inject.* < 
> plexus.core\n[DEBUG]   Imported: javax.annotation.* < plexus.core\n[DEBUG]   
> Imported: javax.annotation.security.* < plexus.core\n[DEBUG]   Imported: 
> javax.inject.* < plexus.core\n[DEBUG]   Imported: org.apache.maven.* < 
> plexus.core\n[DEBUG]   Imported: org.apache.maven.api < plexus.core\n[DEBUG]  
>  Imported: org.apache.maven.artifact < plexus

[jira] [Commented] (RAT-354) Integration tests fail with new Maven 4.0.0-alpha-12

2024-04-25 Thread Tamas Cservenak (Jira)


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

Tamas Cservenak commented on RAT-354:
-

Maven 4 is Java17 

> Integration tests fail with new Maven 4.0.0-alpha-12
> 
>
> Key: RAT-354
> URL: https://issues.apache.org/jira/browse/RAT-354
> Project: Apache Rat
>  Issue Type: Bug
>Affects Versions: 0.16.1
>Reporter: Philipp Ottlinger
>Assignee: Philipp Ottlinger
>Priority: Major
> Fix For: 0.17
>
>
> Running the newly published
> {code:shell}
> 22:22 $ mvn --version
> Apache Maven 4.0.0-alpha-12 (e627879aedd8a0c1859e58a527852ae8de1b4878)
> Maven home: ~/maven
> Java version: 1.8.0_192, vendor: Oracle Corporation, runtime: 
> ~/jdk1.8.0_192/jre
> Default locale: de_DE, platform encoding: UTF-8
> OS name: "linux", version: "5.15.0-91-generic", arch: "amd64", family: "unix"
> ✔ ~/creadur-rat [master|✔] 
> {code}
> on RAT yields a build failure from within the integration tests:
> {code:java}
> [INFO] 
> [INFO] — invoker:3.6.0:run (integration-test) @ apache-rat-plugin —
> [INFO] Building: CustomLicense/pom.xml
> [INFO]           CustomLicense/pom.xml  SUCCESS 
> (2.287 s)
> [INFO] Building: it1/pom.xml
> [INFO] run post-build script verify.groovy
> [INFO]           it1/pom.xml .. SUCCESS 
> (2.487 s)
> [INFO] Building: it4_RAT-168/pom.xml
> [INFO] run post-build script verify.groovy
> [INFO]   Assertion failed: 
> assert ! content.contains( '[WARNING]' )
>        | |       |
>        | |       true
>        | 'Apache Maven 4.0.0-alpha-12 
> (e627879aedd8a0c1859e58a527852ae8de1b4878)\nMaven home: 
> /home/hirsch/software/apache-maven-4.0.0-alpha-12\nJava version: 1.8.0_192, 
> vendor: Oracle Corporation, runtime: /home/hirsch/jdk1.8.0_192/jre\nDefault 
> locale: de_DE, platform encoding: UTF-8\nOS name: "linux", version: 
> "5.15.0-91-generic", arch: "amd64", family: "unix"\n[DEBUG] Created adapter 
> factory; available factories [file-lock, rwlock-local, semaphore-local, 
> noop]; available name mappers [discriminating, file-gav, file-hgav, 
> file-static, gav, static]\n[DEBUG] Created new class realm maven.api\n[DEBUG] 
> Importing foreign packages into class realm maven.api\n[DEBUG]   Imported: 
> jakarta.annotation.* < plexus.core\n[DEBUG]   Imported: jakarta.inject.* < 
> plexus.core\n[DEBUG]   Imported: javax.annotation.* < plexus.core\n[DEBUG]   
> Imported: javax.annotation.security.* < plexus.core\n[DEBUG]   Imported: 
> javax.inject.* < plexus.core\n[DEBUG]   Imported: org.apache.maven.* < 
> plexus.core\n[DEBUG]   Imported: org.apache.maven.api < plexus.core\n[DEBUG]  
>  Imported: org.apache.maven.artifact < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.classrealm < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.cli < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.configuration < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.exception < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.execution < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.execution.scope < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.feature < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.graph < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.lifecycle < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.model < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.monitor < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.plugin < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.profiles < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.project < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.reporting < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.repository < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.rtinfo.* < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.settings < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.toolchain < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.usability < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.* < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.authentication < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.authorization < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.events < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.observers < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.proxy < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.repository < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.resource < plexus.core\n[DEBUG]   Imported: 
> org.codehaus.classworlds < plexus.core\n[DEBUG]   Imported: 
> org.codehaus.plexus.* < plexus.core\n[DEBUG]   Imported: 
> org.codehaus.plexus.classworlds < plexus.core\n[DEBU

[jira] [Commented] (RAT-354) Integration tests fail with new Maven 4.0.0-alpha-12

2024-04-25 Thread Philipp Ottlinger (Jira)


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

Philipp Ottlinger commented on RAT-354:
---

Maven 4.0.0-alpha13 seems not to work with Java8 anymore ..

> Integration tests fail with new Maven 4.0.0-alpha-12
> 
>
> Key: RAT-354
> URL: https://issues.apache.org/jira/browse/RAT-354
> Project: Apache Rat
>  Issue Type: Bug
>Affects Versions: 0.16.1
>Reporter: Philipp Ottlinger
>Assignee: Philipp Ottlinger
>Priority: Major
> Fix For: 0.17
>
>
> Running the newly published
> {code:shell}
> 22:22 $ mvn --version
> Apache Maven 4.0.0-alpha-12 (e627879aedd8a0c1859e58a527852ae8de1b4878)
> Maven home: ~/maven
> Java version: 1.8.0_192, vendor: Oracle Corporation, runtime: 
> ~/jdk1.8.0_192/jre
> Default locale: de_DE, platform encoding: UTF-8
> OS name: "linux", version: "5.15.0-91-generic", arch: "amd64", family: "unix"
> ✔ ~/creadur-rat [master|✔] 
> {code}
> on RAT yields a build failure from within the integration tests:
> {code:java}
> [INFO] 
> [INFO] — invoker:3.6.0:run (integration-test) @ apache-rat-plugin —
> [INFO] Building: CustomLicense/pom.xml
> [INFO]           CustomLicense/pom.xml  SUCCESS 
> (2.287 s)
> [INFO] Building: it1/pom.xml
> [INFO] run post-build script verify.groovy
> [INFO]           it1/pom.xml .. SUCCESS 
> (2.487 s)
> [INFO] Building: it4_RAT-168/pom.xml
> [INFO] run post-build script verify.groovy
> [INFO]   Assertion failed: 
> assert ! content.contains( '[WARNING]' )
>        | |       |
>        | |       true
>        | 'Apache Maven 4.0.0-alpha-12 
> (e627879aedd8a0c1859e58a527852ae8de1b4878)\nMaven home: 
> /home/hirsch/software/apache-maven-4.0.0-alpha-12\nJava version: 1.8.0_192, 
> vendor: Oracle Corporation, runtime: /home/hirsch/jdk1.8.0_192/jre\nDefault 
> locale: de_DE, platform encoding: UTF-8\nOS name: "linux", version: 
> "5.15.0-91-generic", arch: "amd64", family: "unix"\n[DEBUG] Created adapter 
> factory; available factories [file-lock, rwlock-local, semaphore-local, 
> noop]; available name mappers [discriminating, file-gav, file-hgav, 
> file-static, gav, static]\n[DEBUG] Created new class realm maven.api\n[DEBUG] 
> Importing foreign packages into class realm maven.api\n[DEBUG]   Imported: 
> jakarta.annotation.* < plexus.core\n[DEBUG]   Imported: jakarta.inject.* < 
> plexus.core\n[DEBUG]   Imported: javax.annotation.* < plexus.core\n[DEBUG]   
> Imported: javax.annotation.security.* < plexus.core\n[DEBUG]   Imported: 
> javax.inject.* < plexus.core\n[DEBUG]   Imported: org.apache.maven.* < 
> plexus.core\n[DEBUG]   Imported: org.apache.maven.api < plexus.core\n[DEBUG]  
>  Imported: org.apache.maven.artifact < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.classrealm < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.cli < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.configuration < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.exception < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.execution < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.execution.scope < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.feature < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.graph < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.lifecycle < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.model < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.monitor < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.plugin < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.profiles < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.project < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.reporting < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.repository < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.rtinfo.* < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.settings < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.toolchain < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.usability < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.* < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.authentication < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.authorization < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.events < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.observers < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.proxy < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.repository < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.resource < plexus.core\n[DEBUG]   Imported: 
> org.codehaus.classworlds < plexus.core\n[DEBUG]   Imported: 
> org.codehaus.plexus.* < plexus.core\n[DEBUG]   Imported: 
> org

[jira] [Commented] (RAT-354) Integration tests fail with new Maven 4.0.0-alpha-12

2024-04-25 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on RAT-354:
-

Commit 1808a3d273e4e1d4b7c76a3b8f13aff057453eb7 in creadur-rat's branch 
refs/heads/master from Philipp Ottlinger
[ https://gitbox.apache.org/repos/asf?p=creadur-rat.git;h=1808a3d2 ]

RAT-354: Remove warning during integration test run that breaks the build with 
Maven 4


> Integration tests fail with new Maven 4.0.0-alpha-12
> 
>
> Key: RAT-354
> URL: https://issues.apache.org/jira/browse/RAT-354
> Project: Apache Rat
>  Issue Type: Bug
>Affects Versions: 0.16.1
>Reporter: Philipp Ottlinger
>Assignee: Philipp Ottlinger
>Priority: Major
> Fix For: 0.17
>
>
> Running the newly published
> {code:shell}
> 22:22 $ mvn --version
> Apache Maven 4.0.0-alpha-12 (e627879aedd8a0c1859e58a527852ae8de1b4878)
> Maven home: ~/maven
> Java version: 1.8.0_192, vendor: Oracle Corporation, runtime: 
> ~/jdk1.8.0_192/jre
> Default locale: de_DE, platform encoding: UTF-8
> OS name: "linux", version: "5.15.0-91-generic", arch: "amd64", family: "unix"
> ✔ ~/creadur-rat [master|✔] 
> {code}
> on RAT yields a build failure from within the integration tests:
> {code:java}
> [INFO] 
> [INFO] — invoker:3.6.0:run (integration-test) @ apache-rat-plugin —
> [INFO] Building: CustomLicense/pom.xml
> [INFO]           CustomLicense/pom.xml  SUCCESS 
> (2.287 s)
> [INFO] Building: it1/pom.xml
> [INFO] run post-build script verify.groovy
> [INFO]           it1/pom.xml .. SUCCESS 
> (2.487 s)
> [INFO] Building: it4_RAT-168/pom.xml
> [INFO] run post-build script verify.groovy
> [INFO]   Assertion failed: 
> assert ! content.contains( '[WARNING]' )
>        | |       |
>        | |       true
>        | 'Apache Maven 4.0.0-alpha-12 
> (e627879aedd8a0c1859e58a527852ae8de1b4878)\nMaven home: 
> /home/hirsch/software/apache-maven-4.0.0-alpha-12\nJava version: 1.8.0_192, 
> vendor: Oracle Corporation, runtime: /home/hirsch/jdk1.8.0_192/jre\nDefault 
> locale: de_DE, platform encoding: UTF-8\nOS name: "linux", version: 
> "5.15.0-91-generic", arch: "amd64", family: "unix"\n[DEBUG] Created adapter 
> factory; available factories [file-lock, rwlock-local, semaphore-local, 
> noop]; available name mappers [discriminating, file-gav, file-hgav, 
> file-static, gav, static]\n[DEBUG] Created new class realm maven.api\n[DEBUG] 
> Importing foreign packages into class realm maven.api\n[DEBUG]   Imported: 
> jakarta.annotation.* < plexus.core\n[DEBUG]   Imported: jakarta.inject.* < 
> plexus.core\n[DEBUG]   Imported: javax.annotation.* < plexus.core\n[DEBUG]   
> Imported: javax.annotation.security.* < plexus.core\n[DEBUG]   Imported: 
> javax.inject.* < plexus.core\n[DEBUG]   Imported: org.apache.maven.* < 
> plexus.core\n[DEBUG]   Imported: org.apache.maven.api < plexus.core\n[DEBUG]  
>  Imported: org.apache.maven.artifact < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.classrealm < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.cli < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.configuration < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.exception < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.execution < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.execution.scope < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.feature < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.graph < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.lifecycle < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.model < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.monitor < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.plugin < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.profiles < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.project < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.reporting < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.repository < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.rtinfo.* < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.settings < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.toolchain < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.usability < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.* < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.authentication < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.authorization < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.events < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.observers < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.proxy < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.reposito

[jira] [Closed] (RAT-354) Integration tests fail with new Maven 4.0.0-alpha-12

2024-04-25 Thread Philipp Ottlinger (Jira)


 [ 
https://issues.apache.org/jira/browse/RAT-354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Philipp Ottlinger closed RAT-354.
-

> Integration tests fail with new Maven 4.0.0-alpha-12
> 
>
> Key: RAT-354
> URL: https://issues.apache.org/jira/browse/RAT-354
> Project: Apache Rat
>  Issue Type: Bug
>Affects Versions: 0.16.1
>Reporter: Philipp Ottlinger
>Assignee: Philipp Ottlinger
>Priority: Major
> Fix For: 0.17
>
>
> Running the newly published
> {code:shell}
> 22:22 $ mvn --version
> Apache Maven 4.0.0-alpha-12 (e627879aedd8a0c1859e58a527852ae8de1b4878)
> Maven home: ~/maven
> Java version: 1.8.0_192, vendor: Oracle Corporation, runtime: 
> ~/jdk1.8.0_192/jre
> Default locale: de_DE, platform encoding: UTF-8
> OS name: "linux", version: "5.15.0-91-generic", arch: "amd64", family: "unix"
> ✔ ~/creadur-rat [master|✔] 
> {code}
> on RAT yields a build failure from within the integration tests:
> {code:java}
> [INFO] 
> [INFO] — invoker:3.6.0:run (integration-test) @ apache-rat-plugin —
> [INFO] Building: CustomLicense/pom.xml
> [INFO]           CustomLicense/pom.xml  SUCCESS 
> (2.287 s)
> [INFO] Building: it1/pom.xml
> [INFO] run post-build script verify.groovy
> [INFO]           it1/pom.xml .. SUCCESS 
> (2.487 s)
> [INFO] Building: it4_RAT-168/pom.xml
> [INFO] run post-build script verify.groovy
> [INFO]   Assertion failed: 
> assert ! content.contains( '[WARNING]' )
>        | |       |
>        | |       true
>        | 'Apache Maven 4.0.0-alpha-12 
> (e627879aedd8a0c1859e58a527852ae8de1b4878)\nMaven home: 
> /home/hirsch/software/apache-maven-4.0.0-alpha-12\nJava version: 1.8.0_192, 
> vendor: Oracle Corporation, runtime: /home/hirsch/jdk1.8.0_192/jre\nDefault 
> locale: de_DE, platform encoding: UTF-8\nOS name: "linux", version: 
> "5.15.0-91-generic", arch: "amd64", family: "unix"\n[DEBUG] Created adapter 
> factory; available factories [file-lock, rwlock-local, semaphore-local, 
> noop]; available name mappers [discriminating, file-gav, file-hgav, 
> file-static, gav, static]\n[DEBUG] Created new class realm maven.api\n[DEBUG] 
> Importing foreign packages into class realm maven.api\n[DEBUG]   Imported: 
> jakarta.annotation.* < plexus.core\n[DEBUG]   Imported: jakarta.inject.* < 
> plexus.core\n[DEBUG]   Imported: javax.annotation.* < plexus.core\n[DEBUG]   
> Imported: javax.annotation.security.* < plexus.core\n[DEBUG]   Imported: 
> javax.inject.* < plexus.core\n[DEBUG]   Imported: org.apache.maven.* < 
> plexus.core\n[DEBUG]   Imported: org.apache.maven.api < plexus.core\n[DEBUG]  
>  Imported: org.apache.maven.artifact < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.classrealm < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.cli < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.configuration < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.exception < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.execution < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.execution.scope < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.feature < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.graph < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.lifecycle < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.model < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.monitor < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.plugin < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.profiles < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.project < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.reporting < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.repository < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.rtinfo.* < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.settings < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.toolchain < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.usability < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.* < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.authentication < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.authorization < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.events < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.observers < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.proxy < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.repository < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.resource < plexus.core\n[DEBUG]   Imported: 
> org.codehaus.classworlds < plexus.core\n[DEBUG]   Imported: 
> org.codehaus.plexus.* < plexus.core\n[DEBUG]   Imported: 
> org.codehaus.plexus.classworlds < plexus.core\n[DEBUG]   Imported: 
> org.codehaus.plexus.component < plexus.core\n[DEBUG]   Im

[jira] [Assigned] (RAT-354) Integration tests fail with new Maven 4.0.0-alpha-12

2024-04-25 Thread Philipp Ottlinger (Jira)


 [ 
https://issues.apache.org/jira/browse/RAT-354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Philipp Ottlinger reassigned RAT-354:
-

Assignee: Philipp Ottlinger

> Integration tests fail with new Maven 4.0.0-alpha-12
> 
>
> Key: RAT-354
> URL: https://issues.apache.org/jira/browse/RAT-354
> Project: Apache Rat
>  Issue Type: Bug
>Affects Versions: 0.16.1
>Reporter: Philipp Ottlinger
>Assignee: Philipp Ottlinger
>Priority: Major
>
> Running the newly published
> {code:shell}
> 22:22 $ mvn --version
> Apache Maven 4.0.0-alpha-12 (e627879aedd8a0c1859e58a527852ae8de1b4878)
> Maven home: ~/maven
> Java version: 1.8.0_192, vendor: Oracle Corporation, runtime: 
> ~/jdk1.8.0_192/jre
> Default locale: de_DE, platform encoding: UTF-8
> OS name: "linux", version: "5.15.0-91-generic", arch: "amd64", family: "unix"
> ✔ ~/creadur-rat [master|✔] 
> {code}
> on RAT yields a build failure from within the integration tests:
> {code:java}
> [INFO] 
> [INFO] — invoker:3.6.0:run (integration-test) @ apache-rat-plugin —
> [INFO] Building: CustomLicense/pom.xml
> [INFO]           CustomLicense/pom.xml  SUCCESS 
> (2.287 s)
> [INFO] Building: it1/pom.xml
> [INFO] run post-build script verify.groovy
> [INFO]           it1/pom.xml .. SUCCESS 
> (2.487 s)
> [INFO] Building: it4_RAT-168/pom.xml
> [INFO] run post-build script verify.groovy
> [INFO]   Assertion failed: 
> assert ! content.contains( '[WARNING]' )
>        | |       |
>        | |       true
>        | 'Apache Maven 4.0.0-alpha-12 
> (e627879aedd8a0c1859e58a527852ae8de1b4878)\nMaven home: 
> /home/hirsch/software/apache-maven-4.0.0-alpha-12\nJava version: 1.8.0_192, 
> vendor: Oracle Corporation, runtime: /home/hirsch/jdk1.8.0_192/jre\nDefault 
> locale: de_DE, platform encoding: UTF-8\nOS name: "linux", version: 
> "5.15.0-91-generic", arch: "amd64", family: "unix"\n[DEBUG] Created adapter 
> factory; available factories [file-lock, rwlock-local, semaphore-local, 
> noop]; available name mappers [discriminating, file-gav, file-hgav, 
> file-static, gav, static]\n[DEBUG] Created new class realm maven.api\n[DEBUG] 
> Importing foreign packages into class realm maven.api\n[DEBUG]   Imported: 
> jakarta.annotation.* < plexus.core\n[DEBUG]   Imported: jakarta.inject.* < 
> plexus.core\n[DEBUG]   Imported: javax.annotation.* < plexus.core\n[DEBUG]   
> Imported: javax.annotation.security.* < plexus.core\n[DEBUG]   Imported: 
> javax.inject.* < plexus.core\n[DEBUG]   Imported: org.apache.maven.* < 
> plexus.core\n[DEBUG]   Imported: org.apache.maven.api < plexus.core\n[DEBUG]  
>  Imported: org.apache.maven.artifact < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.classrealm < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.cli < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.configuration < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.exception < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.execution < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.execution.scope < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.feature < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.graph < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.lifecycle < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.model < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.monitor < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.plugin < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.profiles < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.project < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.reporting < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.repository < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.rtinfo.* < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.settings < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.toolchain < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.usability < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.* < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.authentication < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.authorization < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.events < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.observers < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.proxy < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.repository < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.resource < plexus.core\n[DEBUG]   Imported: 
> org.codehaus.classworlds < plexus.core\n[DEBUG]   Imported: 
> org.codehaus.plexus.* < plexus.core\n[DEBUG]   Imported: 
> org.codehaus.plexus.classworlds < plexus.core\n[DEBUG]   Imported: 
> org.codehaus.plexus.component < plexus.core\n[

[jira] [Resolved] (RAT-354) Integration tests fail with new Maven 4.0.0-alpha-12

2024-04-25 Thread Philipp Ottlinger (Jira)


 [ 
https://issues.apache.org/jira/browse/RAT-354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Philipp Ottlinger resolved RAT-354.
---
Resolution: Fixed

> Integration tests fail with new Maven 4.0.0-alpha-12
> 
>
> Key: RAT-354
> URL: https://issues.apache.org/jira/browse/RAT-354
> Project: Apache Rat
>  Issue Type: Bug
>Affects Versions: 0.16.1
>Reporter: Philipp Ottlinger
>Assignee: Philipp Ottlinger
>Priority: Major
> Fix For: 0.17
>
>
> Running the newly published
> {code:shell}
> 22:22 $ mvn --version
> Apache Maven 4.0.0-alpha-12 (e627879aedd8a0c1859e58a527852ae8de1b4878)
> Maven home: ~/maven
> Java version: 1.8.0_192, vendor: Oracle Corporation, runtime: 
> ~/jdk1.8.0_192/jre
> Default locale: de_DE, platform encoding: UTF-8
> OS name: "linux", version: "5.15.0-91-generic", arch: "amd64", family: "unix"
> ✔ ~/creadur-rat [master|✔] 
> {code}
> on RAT yields a build failure from within the integration tests:
> {code:java}
> [INFO] 
> [INFO] — invoker:3.6.0:run (integration-test) @ apache-rat-plugin —
> [INFO] Building: CustomLicense/pom.xml
> [INFO]           CustomLicense/pom.xml  SUCCESS 
> (2.287 s)
> [INFO] Building: it1/pom.xml
> [INFO] run post-build script verify.groovy
> [INFO]           it1/pom.xml .. SUCCESS 
> (2.487 s)
> [INFO] Building: it4_RAT-168/pom.xml
> [INFO] run post-build script verify.groovy
> [INFO]   Assertion failed: 
> assert ! content.contains( '[WARNING]' )
>        | |       |
>        | |       true
>        | 'Apache Maven 4.0.0-alpha-12 
> (e627879aedd8a0c1859e58a527852ae8de1b4878)\nMaven home: 
> /home/hirsch/software/apache-maven-4.0.0-alpha-12\nJava version: 1.8.0_192, 
> vendor: Oracle Corporation, runtime: /home/hirsch/jdk1.8.0_192/jre\nDefault 
> locale: de_DE, platform encoding: UTF-8\nOS name: "linux", version: 
> "5.15.0-91-generic", arch: "amd64", family: "unix"\n[DEBUG] Created adapter 
> factory; available factories [file-lock, rwlock-local, semaphore-local, 
> noop]; available name mappers [discriminating, file-gav, file-hgav, 
> file-static, gav, static]\n[DEBUG] Created new class realm maven.api\n[DEBUG] 
> Importing foreign packages into class realm maven.api\n[DEBUG]   Imported: 
> jakarta.annotation.* < plexus.core\n[DEBUG]   Imported: jakarta.inject.* < 
> plexus.core\n[DEBUG]   Imported: javax.annotation.* < plexus.core\n[DEBUG]   
> Imported: javax.annotation.security.* < plexus.core\n[DEBUG]   Imported: 
> javax.inject.* < plexus.core\n[DEBUG]   Imported: org.apache.maven.* < 
> plexus.core\n[DEBUG]   Imported: org.apache.maven.api < plexus.core\n[DEBUG]  
>  Imported: org.apache.maven.artifact < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.classrealm < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.cli < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.configuration < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.exception < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.execution < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.execution.scope < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.feature < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.graph < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.lifecycle < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.model < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.monitor < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.plugin < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.profiles < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.project < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.reporting < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.repository < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.rtinfo.* < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.settings < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.toolchain < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.usability < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.* < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.authentication < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.authorization < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.events < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.observers < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.proxy < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.repository < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.resource < plexus.core\n[DEBUG]   Imported: 
> org.codehaus.classworlds < plexus.core\n[DEBUG]   Imported: 
> org.codehaus.plexus.* < plexus.core\n[DEBUG]   Imported: 
> org.codehaus.plexus.classworlds < plexus.core\n[DEBUG]   Imported: 
> org.codehaus.plexus.component <

[jira] [Updated] (RAT-354) Integration tests fail with new Maven 4.0.0-alpha-12

2024-04-25 Thread Philipp Ottlinger (Jira)


 [ 
https://issues.apache.org/jira/browse/RAT-354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Philipp Ottlinger updated RAT-354:
--
Fix Version/s: 0.17

> Integration tests fail with new Maven 4.0.0-alpha-12
> 
>
> Key: RAT-354
> URL: https://issues.apache.org/jira/browse/RAT-354
> Project: Apache Rat
>  Issue Type: Bug
>Affects Versions: 0.16.1
>Reporter: Philipp Ottlinger
>Assignee: Philipp Ottlinger
>Priority: Major
> Fix For: 0.17
>
>
> Running the newly published
> {code:shell}
> 22:22 $ mvn --version
> Apache Maven 4.0.0-alpha-12 (e627879aedd8a0c1859e58a527852ae8de1b4878)
> Maven home: ~/maven
> Java version: 1.8.0_192, vendor: Oracle Corporation, runtime: 
> ~/jdk1.8.0_192/jre
> Default locale: de_DE, platform encoding: UTF-8
> OS name: "linux", version: "5.15.0-91-generic", arch: "amd64", family: "unix"
> ✔ ~/creadur-rat [master|✔] 
> {code}
> on RAT yields a build failure from within the integration tests:
> {code:java}
> [INFO] 
> [INFO] — invoker:3.6.0:run (integration-test) @ apache-rat-plugin —
> [INFO] Building: CustomLicense/pom.xml
> [INFO]           CustomLicense/pom.xml  SUCCESS 
> (2.287 s)
> [INFO] Building: it1/pom.xml
> [INFO] run post-build script verify.groovy
> [INFO]           it1/pom.xml .. SUCCESS 
> (2.487 s)
> [INFO] Building: it4_RAT-168/pom.xml
> [INFO] run post-build script verify.groovy
> [INFO]   Assertion failed: 
> assert ! content.contains( '[WARNING]' )
>        | |       |
>        | |       true
>        | 'Apache Maven 4.0.0-alpha-12 
> (e627879aedd8a0c1859e58a527852ae8de1b4878)\nMaven home: 
> /home/hirsch/software/apache-maven-4.0.0-alpha-12\nJava version: 1.8.0_192, 
> vendor: Oracle Corporation, runtime: /home/hirsch/jdk1.8.0_192/jre\nDefault 
> locale: de_DE, platform encoding: UTF-8\nOS name: "linux", version: 
> "5.15.0-91-generic", arch: "amd64", family: "unix"\n[DEBUG] Created adapter 
> factory; available factories [file-lock, rwlock-local, semaphore-local, 
> noop]; available name mappers [discriminating, file-gav, file-hgav, 
> file-static, gav, static]\n[DEBUG] Created new class realm maven.api\n[DEBUG] 
> Importing foreign packages into class realm maven.api\n[DEBUG]   Imported: 
> jakarta.annotation.* < plexus.core\n[DEBUG]   Imported: jakarta.inject.* < 
> plexus.core\n[DEBUG]   Imported: javax.annotation.* < plexus.core\n[DEBUG]   
> Imported: javax.annotation.security.* < plexus.core\n[DEBUG]   Imported: 
> javax.inject.* < plexus.core\n[DEBUG]   Imported: org.apache.maven.* < 
> plexus.core\n[DEBUG]   Imported: org.apache.maven.api < plexus.core\n[DEBUG]  
>  Imported: org.apache.maven.artifact < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.classrealm < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.cli < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.configuration < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.exception < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.execution < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.execution.scope < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.feature < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.graph < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.lifecycle < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.model < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.monitor < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.plugin < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.profiles < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.project < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.reporting < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.repository < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.rtinfo.* < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.settings < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.toolchain < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.usability < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.* < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.authentication < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.authorization < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.events < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.observers < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.proxy < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.repository < plexus.core\n[DEBUG]   Imported: 
> org.apache.maven.wagon.resource < plexus.core\n[DEBUG]   Imported: 
> org.codehaus.classworlds < plexus.core\n[DEBUG]   Imported: 
> org.codehaus.plexus.* < plexus.core\n[DEBUG]   Imported: 
> org.codehaus.plexus.classworlds < plexus.core\n[DEBUG]   Imported: 
> org.codehaus.plexus.component <

[jira] [Commented] (RAT-355) optionally Export XML configuration file as part of run.

2024-04-25 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on RAT-355:
-

Commit 07a70af7960bb535ddf7e22db221a814996e8d67 in creadur-rat's branch 
refs/heads/master from P. Ottlinger
[ https://gitbox.apache.org/repos/asf?p=creadur-rat.git;h=07a70af7 ]

Merge pull request #243 from Claudenw/addNotes

RAT-355, RAT-366: updated changes.xml

> optionally Export XML configuration file as part of run.
> 
>
> Key: RAT-355
> URL: https://issues.apache.org/jira/browse/RAT-355
> Project: Apache Rat
>  Issue Type: Improvement
>  Components: core engine
>Affects Versions: 0.16
>Reporter: Claude Warren
>Assignee: Claude Warren
>Priority: Major
> Fix For: 0.17
>
>
> Currently multiples inputs are processed into the internal configuration.  
> This is request is to export the configuration as part of the processing of 
> the files.  This will be an optional output into the XML result of the run. 
>  



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


Re: [PR] RAT-355, RAT-366: updated changes.xml [creadur-rat]

2024-04-25 Thread via GitHub


ottlinger merged PR #243:
URL: https://github.com/apache/creadur-rat/pull/243


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@creadur.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Commented] (RAT-366) Switch to Reading preparing header text and processing in one call.

2024-04-25 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on RAT-366:
-

Commit 07a70af7960bb535ddf7e22db221a814996e8d67 in creadur-rat's branch 
refs/heads/master from P. Ottlinger
[ https://gitbox.apache.org/repos/asf?p=creadur-rat.git;h=07a70af7 ]

Merge pull request #243 from Claudenw/addNotes

RAT-355, RAT-366: updated changes.xml

> Switch to Reading preparing header text and processing in one call.
> ---
>
> Key: RAT-366
> URL: https://issues.apache.org/jira/browse/RAT-366
> Project: Apache Rat
>  Issue Type: Improvement
>  Components: core engine
>Affects Versions: 0.16.1
>Reporter: Claude Warren
>Assignee: Claude Warren
>Priority: Minor
> Fix For: 0.17
>
>
> Currently the system spends a fair chunk of time processing input line by 
> line.  The code path is much simplified if instead we read the maximum number 
> of lines that we would process under the old code and process that all at 
> once. 
> This will also improve memory footprint since the full text matcher will not 
> have to keep a copy of all the text it has seen so far, but rather just 
> process the block of text that is passed in.



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


[jira] [Commented] (RAT-366) Switch to Reading preparing header text and processing in one call.

2024-04-25 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on RAT-366:
-

Commit 8d4bb090c1cab596a56d7c4812937fb81ba0020e in creadur-rat's branch 
refs/heads/master from Claude Warren
[ https://gitbox.apache.org/repos/asf?p=creadur-rat.git;h=8d4bb090 ]

updated changes.xml for RAT-355 and RAT-366


> Switch to Reading preparing header text and processing in one call.
> ---
>
> Key: RAT-366
> URL: https://issues.apache.org/jira/browse/RAT-366
> Project: Apache Rat
>  Issue Type: Improvement
>  Components: core engine
>Affects Versions: 0.16.1
>Reporter: Claude Warren
>Assignee: Claude Warren
>Priority: Minor
> Fix For: 0.17
>
>
> Currently the system spends a fair chunk of time processing input line by 
> line.  The code path is much simplified if instead we read the maximum number 
> of lines that we would process under the old code and process that all at 
> once. 
> This will also improve memory footprint since the full text matcher will not 
> have to keep a copy of all the text it has seen so far, but rather just 
> process the block of text that is passed in.



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


[jira] [Commented] (RAT-355) optionally Export XML configuration file as part of run.

2024-04-25 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on RAT-355:
-

Commit 8d4bb090c1cab596a56d7c4812937fb81ba0020e in creadur-rat's branch 
refs/heads/master from Claude Warren
[ https://gitbox.apache.org/repos/asf?p=creadur-rat.git;h=8d4bb090 ]

updated changes.xml for RAT-355 and RAT-366


> optionally Export XML configuration file as part of run.
> 
>
> Key: RAT-355
> URL: https://issues.apache.org/jira/browse/RAT-355
> Project: Apache Rat
>  Issue Type: Improvement
>  Components: core engine
>Affects Versions: 0.16
>Reporter: Claude Warren
>Assignee: Claude Warren
>Priority: Major
> Fix For: 0.17
>
>
> Currently multiples inputs are processed into the internal configuration.  
> This is request is to export the configuration as part of the processing of 
> the files.  This will be an optional output into the XML result of the run. 
>  



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


Re: [PR] RAT-355, RAT-366: updated changes.xml [creadur-rat]

2024-04-25 Thread via GitHub


ottlinger commented on PR #243:
URL: https://github.com/apache/creadur-rat/pull/243#issuecomment-2078117624

   Thanks.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@creadur.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Updated] (RAT-368) Remove unused classes

2024-04-25 Thread Philipp Ottlinger (Jira)


 [ 
https://issues.apache.org/jira/browse/RAT-368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Philipp Ottlinger updated RAT-368:
--
Summary: Remove unused classes  (was: Removed unused classes)

> Remove unused classes
> -
>
> Key: RAT-368
> URL: https://issues.apache.org/jira/browse/RAT-368
> Project: Apache Rat
>  Issue Type: Improvement
>  Components: core engine
>Affects Versions: 0.16.1
>Reporter: Claude Warren
>Assignee: Claude Warren
>Priority: Minor
> Fix For: 0.17
>
>
> There are several classes/interfaces that are either  unused or only used 
> within a set of classes/interfaces that are otherwise unused.  They should be 
> removed from the system.
> In core the following files are unused
>  * ReportTransformer, ReportFailedRuntimeException, ReportTransformerTest are 
> mutually used but not by any class/interface outside the 3.
>  * RatReportAnalysisResultException
>  * FullTestMatchingLicense – used in old style license definition
>  * SimplePatternBasedLicense – used in old style license definition
>  * MimeTyper
>  * ToNameTransformer, ToNameTransformerTest
>  * UnsuitableDocumentException
>  * o.a.rat.header all classes/interfaces in this package are mutually used 
> but not by any class outside the package.
>  



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


[jira] [Updated] (RAT-368) Removed unused classes

2024-04-25 Thread Philipp Ottlinger (Jira)


 [ 
https://issues.apache.org/jira/browse/RAT-368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Philipp Ottlinger updated RAT-368:
--
Fix Version/s: 0.17

> Removed unused classes
> --
>
> Key: RAT-368
> URL: https://issues.apache.org/jira/browse/RAT-368
> Project: Apache Rat
>  Issue Type: Improvement
>  Components: core engine
>Affects Versions: 0.16.1
>Reporter: Claude Warren
>Assignee: Claude Warren
>Priority: Minor
> Fix For: 0.17
>
>
> There are several classes/interfaces that are either  unused or only used 
> within a set of classes/interfaces that are otherwise unused.  They should be 
> removed from the system.
> In core the following files are unused
>  * ReportTransformer, ReportFailedRuntimeException, ReportTransformerTest are 
> mutually used but not by any class/interface outside the 3.
>  * RatReportAnalysisResultException
>  * FullTestMatchingLicense – used in old style license definition
>  * SimplePatternBasedLicense – used in old style license definition
>  * MimeTyper
>  * ToNameTransformer, ToNameTransformerTest
>  * UnsuitableDocumentException
>  * o.a.rat.header all classes/interfaces in this package are mutually used 
> but not by any class outside the package.
>  



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


[jira] [Closed] (RAT-20) [GOOGLE-1] Detection of binaries should be smarter

2024-04-25 Thread Philipp Ottlinger (Jira)


 [ 
https://issues.apache.org/jira/browse/RAT-20?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Philipp Ottlinger closed RAT-20.

Fix Version/s: 0.17
   Resolution: Duplicate

solved via RAT-54

> [GOOGLE-1] Detection of binaries should be smarter
> --
>
> Key: RAT-20
> URL: https://issues.apache.org/jira/browse/RAT-20
> Project: Apache Rat
>  Issue Type: Improvement
>  Components: mime-meta-data
>Reporter: Robert Burrell Donkin
>Assignee: Claude Warren
>Priority: Major
> Fix For: 0.17
>
>
> 
> Right now we use a heuristic to guess if the file is an executable based on
> the filename.  This should get smarter, perhaps sniffing the content of the
> file or something.
> 



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


[jira] [Updated] (RAT-54) MIME Detection Using Tika

2024-04-25 Thread Philipp Ottlinger (Jira)


 [ 
https://issues.apache.org/jira/browse/RAT-54?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Philipp Ottlinger updated RAT-54:
-
Fix Version/s: 0.17

> MIME Detection Using Tika
> -
>
> Key: RAT-54
> URL: https://issues.apache.org/jira/browse/RAT-54
> Project: Apache Rat
>  Issue Type: New Feature
>Affects Versions: 0.7
>Reporter: Robert Burrell Donkin
>Assignee: Claude Warren
>Priority: Major
> Fix For: 0.17
>
>
> Tika provides sophisticated and comprehensive MIME detection. Add support for 
> a Tika based implementation.



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


Re: [PR] RAT-54: Tika based document analyzer [creadur-rat]

2024-04-25 Thread via GitHub


ottlinger commented on code in PR #240:
URL: https://github.com/apache/creadur-rat/pull/240#discussion_r1580070068


##
apache-rat-core/src/main/java/org/apache/rat/api/Document.java:
##
@@ -33,47 +36,416 @@ public interface Document {
  */
 enum Type {
 /** A generated document. */
-GENERATED, 
+GENERATED,
 /** An unknown document type. */
 UNKNOWN,
 /** An archive type document. */
-ARCHIVE, 
+ARCHIVE,
 /** A notice document (e.g. LICENSE file) */
 NOTICE,
 /** A binary file */
 BINARY,
 /** A standard document */
-STANDARD}
+STANDARD;
+
+public static Map documentTypeMap;
+
+public static Type fromContentType(String documentType, Log log) {
+Type result = documentTypeMap.get(documentType);
+if (result == null) {
+log.warn(String.format("Please open a Jira ticket with the 
subject: 'Unknown media type %s in Document.Type'", documentType));
+return UNKNOWN;
+}
+return result;
+}
+
+/*
+ * https://tika.apache.org/3.0.0-BETA/formats.html 
+ */
+static {
+documentTypeMap = new HashMap<>();

Review Comment:
   I created RAT-370 for that.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@creadur.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Created] (RAT-370) Introduce performance test submodule in RAT to detect changes and measure any regressions

2024-04-25 Thread Philipp Ottlinger (Jira)
Philipp Ottlinger created RAT-370:
-

 Summary: Introduce performance test submodule in RAT to detect 
changes and measure any regressions
 Key: RAT-370
 URL: https://issues.apache.org/jira/browse/RAT-370
 Project: Apache Rat
  Issue Type: Improvement
Affects Versions: 0.17
Reporter: Philipp Ottlinger


The upcoming r0.17 contains many changes in the way scanning of contents is 
performed. Thus it would make sense to
* collect various example files
* measure how long it takes to run RAT on these files



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


Re: [PR] WIP: RAT-369: Add spotbugs to build and generate a report [creadur-rat]

2024-04-25 Thread via GitHub


ottlinger commented on code in PR #238:
URL: https://github.com/apache/creadur-rat/pull/238#discussion_r1579991867


##
apache-rat-core/spotbugs_ignore.xml:
##
@@ -0,0 +1,27 @@
+
+
+
+  
+

Re: [PR] WIP: RAT-369: Add spotbugs to build and generate a report [creadur-rat]

2024-04-25 Thread via GitHub


ottlinger commented on code in PR #238:
URL: https://github.com/apache/creadur-rat/pull/238#discussion_r1579940463


##
apache-rat-core/spotbugs_ignore.xml:
##
@@ -0,0 +1,27 @@
+
+
+
+  
+

Re: [PR] WIP: RAT-369: Add spotbugs to build and generate a report [creadur-rat]

2024-04-25 Thread via GitHub


ottlinger commented on code in PR #238:
URL: https://github.com/apache/creadur-rat/pull/238#discussion_r1579989686


##
apache-rat-tasks/src/main/java/org/apache/rat/anttasks/Report.java:
##
@@ -318,7 +319,6 @@ public void log(Level level, String msg) {
 write(Project.MSG_ERR, msg);
 break;
case OFF:
-   break;
default:
break;
 }

Review Comment:
   Done - thanks.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@creadur.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Commented] (RAT-369) Add SpotBugs to the pom files.

2024-04-25 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on RAT-369:
-

Commit ab5a1270c68e12e99a2db5547bb639fbe2ea1016 in creadur-rat's branch 
refs/heads/feature/RAT-369 from Philipp Ottlinger
[ https://gitbox.apache.org/repos/asf?p=creadur-rat.git;h=ab5a1270 ]

RAT-369: Fix whitespaces


> Add SpotBugs to the pom files.
> --
>
> Key: RAT-369
> URL: https://issues.apache.org/jira/browse/RAT-369
> Project: Apache Rat
>  Issue Type: Improvement
>  Components: Client - ant, Client - cli, Client - maven, core engine
>Reporter: Claude Warren
>Assignee: Philipp Ottlinger
>Priority: Major
> Fix For: 0.17
>
>
> Currently we have a number of issues that Spotbugs will detect.  I ran a 
> quick test this afternoon and it found 60 potential bugs.  This ticket is to 
> add spotbugs to the maven build, ensure that no bugs are found and ensure 
> that the build will fail if bugs are found.



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


Re: [PR] TENTACLES-16: Bump org.apache.maven.plugins:maven-pmd-plugin from 3.21.2 to 3.22.0 [creadur-tentacles]

2024-04-25 Thread via GitHub


ottlinger merged PR #120:
URL: https://github.com/apache/creadur-tentacles/pull/120


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@creadur.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] WIP: RAT-369: Add spotbugs to build and generate a report [creadur-rat]

2024-04-25 Thread via GitHub


ottlinger commented on code in PR #238:
URL: https://github.com/apache/creadur-rat/pull/238#discussion_r1579942537


##
apache-rat-plugin/spotbugs_ignore.xml:
##
@@ -0,0 +1,27 @@
+
+
+
+  
+

Re: [PR] WIP: RAT-369: Add spotbugs to build and generate a report [creadur-rat]

2024-04-25 Thread via GitHub


ottlinger commented on code in PR #238:
URL: https://github.com/apache/creadur-rat/pull/238#discussion_r1579940463


##
apache-rat-core/spotbugs_ignore.xml:
##
@@ -0,0 +1,27 @@
+
+
+
+  
+

Re: [PR] updated changes.xml for RAT-355 and RAT-366 [creadur-rat]

2024-04-25 Thread via GitHub


ottlinger commented on code in PR #243:
URL: https://github.com/apache/creadur-rat/pull/243#discussion_r1579937971


##
src/changes/changes.xml:
##
@@ -72,6 +72,12 @@ 
https://maven.apache.org/plugins/maven-changes-plugin/xsd/changes-1.0.0.xsd
 
 -->
 
+  
+Optionally Export XML configuration file as part of run.  Added 
framework to inspect available licenses and matchers.

Review Comment:
   Just minor typos: export and a whitespace between the sentences ;)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@creadur.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Tika based document analyzer - DO NOT MERGE [creadur-rat]

2024-04-25 Thread via GitHub


Claudenw commented on code in PR #240:
URL: https://github.com/apache/creadur-rat/pull/240#discussion_r1579860679


##
apache-rat-core/src/main/java/org/apache/rat/api/Document.java:
##
@@ -33,47 +36,416 @@ public interface Document {
  */
 enum Type {
 /** A generated document. */
-GENERATED, 
+GENERATED,
 /** An unknown document type. */
 UNKNOWN,
 /** An archive type document. */
-ARCHIVE, 
+ARCHIVE,
 /** A notice document (e.g. LICENSE file) */
 NOTICE,
 /** A binary file */
 BINARY,
 /** A standard document */
-STANDARD}
+STANDARD;
+
+public static Map documentTypeMap;
+
+public static Type fromContentType(String documentType, Log log) {
+Type result = documentTypeMap.get(documentType);
+if (result == null) {
+log.warn(String.format("Please open a Jira ticket with the 
subject: 'Unknown media type %s in Document.Type'", documentType));
+return UNKNOWN;
+}
+return result;
+}
+
+/*
+ * https://tika.apache.org/3.0.0-BETA/formats.html 
+ */
+static {
+documentTypeMap = new HashMap<>();

Review Comment:
   Shall we just open a JIRA ticket for this.  I think that collecting some of 
the files will be difficult.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@creadur.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[PR] Bump org.apache.maven.plugins:maven-pmd-plugin from 3.21.2 to 3.22.0 [creadur-tentacles]

2024-04-25 Thread via GitHub


dependabot[bot] opened a new pull request, #120:
URL: https://github.com/apache/creadur-tentacles/pull/120

   Bumps 
[org.apache.maven.plugins:maven-pmd-plugin](https://github.com/apache/maven-pmd-plugin)
 from 3.21.2 to 3.22.0.
   
   Release notes
   Sourced from https://github.com/apache/maven-pmd-plugin/releases";>org.apache.maven.plugins:maven-pmd-plugin's
 releases.
   
   3.22.0
   
   🚀 New features and improvements
   
   https://issues.apache.org/jira/browse/MPMD-379";>[MPMD-379] 
- Upgrade to use PMD 7.0.0 by default (https://redirect.github.com/apache/maven-pmd-plugin/pull/144";>#144) 
https://github.com/mkolesnikov";>@​mkolesnikov
   
   📦 Dependency updates
   
   https://issues.apache.org/jira/browse/MPMD-394";>[MPMD-394] 
- Bump org.apache.maven.plugins:maven-plugins from 41 to 42 (https://redirect.github.com/apache/maven-pmd-plugin/pull/148";>#148) 
https://github.com/dependabot";>@​dependabot
   https://issues.apache.org/jira/browse/MPMD-393";>[MPMD-393] 
- Bump commons-io:commons-io from 2.16.0 to 2.16.1 (https://redirect.github.com/apache/maven-pmd-plugin/pull/147";>#147) 
https://github.com/dependabot";>@​dependabot
   https://issues.apache.org/jira/browse/MPMD-393";>[MPMD-393] 
- Bump commons-io:commons-io from 2.15.1 to 2.16.0 (https://redirect.github.com/apache/maven-pmd-plugin/pull/146";>#146) 
https://github.com/dependabot";>@​dependabot
   Bump apache/maven-gh-actions-shared from 3 to 4 (https://redirect.github.com/apache/maven-pmd-plugin/pull/143";>#143) 
https://github.com/dependabot";>@​dependabot
   Bump org.codehaus.plexus:plexus-resources from 1.2.0 to 1.3.0 (https://redirect.github.com/apache/maven-pmd-plugin/pull/140";>#140) 
https://github.com/dependabot";>@​dependabot
   Bump org.apache.commons:commons-lang3 from 3.12.0 to 3.14.0 (https://redirect.github.com/apache/maven-pmd-plugin/pull/137";>#137) 
https://github.com/dependabot";>@​dependabot
   Bump commons-io:commons-io from 2.11.0 to 2.15.1 (https://redirect.github.com/apache/maven-pmd-plugin/pull/138";>#138) 
https://github.com/dependabot";>@​dependabot
   
   👻 Maintenance
   
   Bump release-drafter/release-drafter from 5 to 6 (https://redirect.github.com/apache/maven-pmd-plugin/pull/142";>#142) 
https://github.com/dependabot";>@​dependabot
   
   
   
   
   Commits
   
   https://github.com/apache/maven-pmd-plugin/commit/a9dfc308edf4affa364762c41eead60187f523c5";>a9dfc30
 [maven-release-plugin] prepare release maven-pmd-plugin-3.22.0
   https://github.com/apache/maven-pmd-plugin/commit/4bc08a93b4632c6bb7482d0e79d3493d425f1e60";>4bc08a9
 (doc) Update release notes for upcoming 3.22.0
   https://github.com/apache/maven-pmd-plugin/commit/2823fa09871a0d6a4296d3c59f52f0034eb220db";>2823fa0
 Bump org.apache.maven.plugins:maven-plugins from 41 to 42 (https://redirect.github.com/apache/maven-pmd-plugin/issues/148";>#148)
   https://github.com/apache/maven-pmd-plugin/commit/89a7cdb594c3b28beafb44d6c0251bc7a4bbd71e";>89a7cdb
 [MPMD-379] Upgrade to use PMD 7.0.0 by default (https://redirect.github.com/apache/maven-pmd-plugin/issues/144";>#144)
   https://github.com/apache/maven-pmd-plugin/commit/f884af3f354aae619a6a97a83be6bf46067a53cf";>f884af3
 Fixups from review (https://redirect.github.com/apache/maven-pmd-plugin/issues/144";>#144)
   https://github.com/apache/maven-pmd-plugin/commit/a3ac53c954b00527d17603c8179d6555b14124d9";>a3ac53c
 Bump commons-io:commons-io from 2.16.0 to 2.16.1 (https://redirect.github.com/apache/maven-pmd-plugin/issues/147";>#147)
   https://github.com/apache/maven-pmd-plugin/commit/4aaf0da7f8337aed08c417ff8a7eb0204a4b925e";>4aaf0da
 Fixups from review (https://redirect.github.com/apache/maven-pmd-plugin/issues/144";>#144)
   https://github.com/apache/maven-pmd-plugin/commit/1528f30a8297a8a463fcb7fd75a8e648205b6afd";>1528f30
 [MPMD-379] Fix build for Java8
   https://github.com/apache/maven-pmd-plugin/commit/193c037a6d2284e9caa7f601323f110ce342bc12";>193c037
 [MPMD-379] Add IT for Java 21
   https://github.com/apache/maven-pmd-plugin/commit/73b40104ccb4a26904f58200ef20f876d0772f4c";>73b4010
 [MPMD-379] Improve upgrading notes
   Additional commits viewable in https://github.com/apache/maven-pmd-plugin/compare/maven-pmd-plugin-3.21.2...maven-pmd-plugin-3.22.0";>compare
 view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-pmd-plugin&package-manager=maven&previous-version=3.21.2&new-version=3.22.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot ac

[jira] [Resolved] (RAT-355) optionally Export XML configuration file as part of run.

2024-04-25 Thread Claude Warren (Jira)


 [ 
https://issues.apache.org/jira/browse/RAT-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claude Warren resolved RAT-355.
---
Resolution: Fixed

Resolved with pull request #228

> optionally Export XML configuration file as part of run.
> 
>
> Key: RAT-355
> URL: https://issues.apache.org/jira/browse/RAT-355
> Project: Apache Rat
>  Issue Type: Improvement
>  Components: core engine
>Affects Versions: 0.16
>Reporter: Claude Warren
>Assignee: Claude Warren
>Priority: Major
> Fix For: 0.17
>
>
> Currently multiples inputs are processed into the internal configuration.  
> This is request is to export the configuration as part of the processing of 
> the files.  This will be an optional output into the XML result of the run. 
>  



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


[jira] [Resolved] (RAT-366) Switch to Reading preparing header text and processing in one call.

2024-04-25 Thread Claude Warren (Jira)


 [ 
https://issues.apache.org/jira/browse/RAT-366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claude Warren resolved RAT-366.
---
Resolution: Fixed

resolved with pull #228

> Switch to Reading preparing header text and processing in one call.
> ---
>
> Key: RAT-366
> URL: https://issues.apache.org/jira/browse/RAT-366
> Project: Apache Rat
>  Issue Type: Improvement
>  Components: core engine
>Affects Versions: 0.16.1
>Reporter: Claude Warren
>Assignee: Claude Warren
>Priority: Minor
> Fix For: 0.17
>
>
> Currently the system spends a fair chunk of time processing input line by 
> line.  The code path is much simplified if instead we read the maximum number 
> of lines that we would process under the old code and process that all at 
> once. 
> This will also improve memory footprint since the full text matcher will not 
> have to keep a copy of all the text it has seen so far, but rather just 
> process the block of text that is passed in.



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


[PR] RAT-368: removed unused files [creadur-rat]

2024-04-25 Thread via GitHub


Claudenw opened a new pull request, #244:
URL: https://github.com/apache/creadur-rat/pull/244

   This is a partial clean up as specified in RAT-368
   The files :
   
   - FullTestMatchingLicense – used in old style license definition
   - SimplePatternBasedLicense – used in old style license definition
   
   Are retained as they are marked as deprecated in 0.16 and will be removed in 
0.18


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@creadur.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[PR] updated changes.xml for RAT-355 and RAT-366 [creadur-rat]

2024-04-25 Thread via GitHub


Claudenw opened a new pull request, #243:
URL: https://github.com/apache/creadur-rat/pull/243

   (no comment)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@creadur.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] WIP: RAT-369: Add spotbugs to build and generate a report [creadur-rat]

2024-04-25 Thread via GitHub


Claudenw commented on code in PR #238:
URL: https://github.com/apache/creadur-rat/pull/238#discussion_r1579490672


##
apache-rat-core/spotbugs_ignore.xml:
##
@@ -0,0 +1,27 @@
+
+
+
+  
+
+
+  
+
+
+  
+
+
+  
+
+
+  
+