Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate and use upcoming RAT 0.17 #570

Open
ottlinger opened this issue Dec 3, 2024 · 0 comments
Open

Migrate and use upcoming RAT 0.17 #570

ottlinger opened this issue Dec 3, 2024 · 0 comments
Assignees

Comments

@ottlinger
Copy link
Owner

ottlinger commented Dec 3, 2024

Changes are in #571

[INFO] --- apache-rat:0.17-SNAPSHOT:check (default) @ mailclena ---
[WARNING]  Parameter 'addDefaultLicenseMatchers' (user property 'rat.addDefaultLicenseMatchers') is deprecated: Use <config>.
[WARNING]  Parameter 'excludes' is deprecated: Deprecated for removal since 0.17: Use <inputExclude> instead.
[WARNING]  Parameter 'useDefaultExcludes' (user property 'rat.useDefaultExcludes') is deprecated: When set to true specifies that the STANDARD_PATTERNS are excluded, as are the STANDARD_SCMS patterns. Use the various InputExclude and InputInclude elements to explicitly specify what to include or exclude.
[WARNING]  Parameter 'useEclipseDefaultExcludes' (user property 'rat.useEclipseDefaultExcludes') is deprecated: When set to true specifies that the ECLIPSE patterns are excluded. Use "inputIncludeStd ECLIPSE" to override.
[WARNING]  Parameter 'useIdeaDefaultExcludes' (user property 'rat.useIdeaDefaultExcludes') is deprecated: When set to true specifies that the IDEA patterns are excluded. Use "inputIncludeStd IDEA" to override.
[WARNING]  Parameter 'useMavenDefaultExcludes' (user property 'rat.useMavenDefaultExcludes') is deprecated: When set to true specifies that the MAVEN patterns are excluded. Use "inputIncludeStd MAVEN" to override.
[WARNING] Option [-e, --exclude] used. Deprecated for removal since 0.17: Use --input-exclude instead.
[INFO] Excluding patterns: **/.mvn/**/*, **/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 MAVEN collection.
[INFO] Excluding ECLIPSE collection.
[INFO] Excluding IDEA collection.
[INFO] Processing exclude file from STANDARD_SCMS.
[INFO] Excluding STANDARD_SCMS collection.
[INFO] Excluding MISC collection.
[INFO] Excluding HIDDEN_DIR collection.
[INFO] HIDDEN_DIR does not have a defined collection for exclusion.
[INFO] RAT summary:
[INFO]   Approved:  0
[INFO]   Archives:  0
[INFO]   Binaries:  2
[INFO]   Document types:  3
[INFO]   Generated:  0
[INFO]   License categories:  1
[INFO]   License names:  1
[INFO]   Notices:  1
[INFO]   Standards:  12
[INFO]   Unapproved:  12
[INFO]   Unknown:  0
[ERROR] Unexpected count for UNAPPROVED, limit is [0,0].  Count: 12
[INFO] UNAPPROVED (Unapproved) is a count of unapproved licenses.
[WARNING] *****************************************************
Generated at: 2024-12-03T12:09:35+01:00

Files with unapproved licenses:
  /.gitattributes
  /pom.xml
  /src/main/java/de/aikiit/mailclena/MailClena.java
  /src/main/java/de/aikiit/mailclena/MailClenaParameterParser.java
  /src/main/java/de/aikiit/mailclena/MailConfiguration.java
  /src/main/java/de/aikiit/mailclena/mail/MailClient.java
  /src/test/java/de/aikiit/mailclena/MailClenaCommandLineOptionsTest.java
  /src/test/java/de/aikiit/mailclena/MailClenaParameterParserTest.java
  /src/test/java/de/aikiit/mailclena/MailClenaTest.java
  /src/test/java/de/aikiit/mailclena/MailConfigurationTest.java
  /src/test/java/de/aikiit/mailclena/mail/MailClientCommandsTest.java
  /src/test/java/de/aikiit/mailclena/mail/MailClientTest.java
[INFO] --------------------------------------------------------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] --------------------------------------------------------------------------------------------------------------------------
[INFO] Total time:  23.610 s
[INFO] Finished at: 2024-12-03T12:09:35+01:00
[INFO] --------------------------------------------------------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.17-SNAPSHOT:check (default) on project mailclena: Counter(s) UNAPPROVED exceeded minimum or maximum values. See RAT report in: '/home/user/Documents/workspace/mailclena/target/rat.txt'. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the '-e' switch
[ERROR] Re-run Maven using the '-X' switch to enable verbose output
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/RatCheckException
✘-1 ~/Documents/workspace/mailclena [master|✚ 1⚑ 1]
12:09 $

Locally created branch:
feature/RAT017

@ottlinger ottlinger self-assigned this Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant