Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
ab18e73
RAT-530: Switch to 0.18 SNAPSHOT
ottlinger Dec 27, 2025
0575662
RAT-530: Switch to 0.18 SNAPSHOT
ottlinger Dec 27, 2025
d7395d2
Revert "RAT-530: Switch to 0.18 SNAPSHOT"
ottlinger Dec 27, 2025
b0a5fb8
RAT-530: prepare site for 018
ottlinger Dec 27, 2025
5fbf261
RAT-530: Adapt changelog for 0.18
ottlinger Dec 30, 2025
b921c76
RAT-530: Prepare for a 0.18 release
ottlinger Dec 30, 2025
fbdc26a
Merge branch 'master' into feature/RAT-530
ottlinger Jan 6, 2026
4cf6ddc
Bump org.apache:apache from 35 to 36
dependabot[bot] Jan 7, 2026
1222485
RAT-498: Raise minimal Maven version to be compliant with ASF parent …
ottlinger Jan 7, 2026
b24ed88
RAT-293: Add more logging to sonarcloud problems
ottlinger Jan 7, 2026
13ffd24
RAT-440: Add changelog entry about doxia/xhtml upgrade
ottlinger Jan 25, 2026
eb381de
Merge branch 'master' into feature/RAT-530
ottlinger Jan 29, 2026
ecb7acb
RAT-293: Try adding sonar.org manually
ottlinger Jan 29, 2026
fab2ea9
RAT-293, INFRA-27608: Switch to org level repo secret
ottlinger Jan 31, 2026
42e05d7
Bump org.apache.maven.plugins:maven-compiler-plugin
dependabot[bot] Feb 2, 2026
91bf690
INFRA-27608, RAT-293: Add debug step for sonarcloud secret
ottlinger Feb 2, 2026
a4a06cd
INFRA-27608, RAT-293: Tweak branch configuration to see if secrets ar…
ottlinger Feb 2, 2026
18862c2
INFRA-27608, RAT-293: Document that secrets are not visible if branch…
ottlinger Feb 2, 2026
e9a71d5
RAT-293: Reduce log noise in sonarcloud build step
ottlinger Feb 2, 2026
9696f35
RAT-293: Do not run SonarCloud scan if triggered by dependabot
ottlinger Feb 2, 2026
93771f4
RAT-293: Do not run SonarCloud scan if triggered by dependabot
ottlinger Feb 2, 2026
ee5bbab
RAT-293: Remove debugging output
ottlinger Feb 2, 2026
8143f45
RAT-293: Try to fix the master sonarcloud build
ottlinger Feb 3, 2026
897ef77
Bump com.gradle:develocity-maven-extension from 2.3.2 to 2.3.3
dependabot[bot] Feb 2, 2026
6f6ba0d
Bump org.apache.maven.plugin-testing:maven-plugin-testing-harness
dependabot[bot] Feb 9, 2026
f619167
Bump org.apache.maven.plugins:maven-dependency-plugin
dependabot[bot] Feb 9, 2026
7006552
Bump com.gradle:develocity-maven-extension from 2.3.3 to 2.3.4
dependabot[bot] Feb 12, 2026
a04c6e5
Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.4 to 3.5.5
dependabot[bot] Feb 23, 2026
13d55eb
Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.5.4 to 3.5.5
dependabot[bot] Feb 23, 2026
a9902a6
Bump actions/upload-artifact from 6 to 7
dependabot[bot] Feb 27, 2026
709cbac
Bump org.mockito:mockito-bom from 5.21.0 to 5.22.0
dependabot[bot] Mar 2, 2026
0a0d825
Bump org.apache.maven.plugins:maven-resources-plugin from 3.4.0 to 3.5.0
dependabot[bot] Mar 6, 2026
b8bdabf
Bump mavenVersion from 3.9.12 to 3.9.13
dependabot[bot] Mar 9, 2026
5a3cd59
RAT-530: Adapt download page to current regulations, checksums from d…
ottlinger Mar 10, 2026
9f67424
RAT-498: Use mvn 3.9.13
ottlinger Mar 11, 2026
652f36e
RAT-530: Introduce AI-improved release description
ottlinger Mar 11, 2026
fbcfd72
RAT-498, RAT-530: Integrate dependabot changes and prepare release notes
ottlinger Mar 11, 2026
b397f37
RAT-530: Add combined release notes with 0.18 contents
ottlinger Mar 11, 2026
8edddae
RAT-530: Reverse order of migration guide entries, newest top
ottlinger Mar 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .buildtools/generateStagingSiteInWebpageRepo
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
./mvnw -B package site site:stage

# DEVHINT: with trailing slash please!
targetDirectory=../creadur-site/rat100/
targetDirectory=../creadur-site/rat018/

echo "Copying site resources into asf-site repo under $targetDirectory"
cp -rvf target/staging/* $targetDirectory > /dev/null
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
run: ./mvnw -e -B -V -ntp clean install

- name: Archive integration failure
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v7
if: failure()
with:
name: reporting-integration-test-failure-logs-${{ matrix.os }}-JDK${{ matrix.java }}-PR${{ github.run_id }}
Expand All @@ -72,7 +72,7 @@ jobs:
apache-rat-core/target/test-classes/ReportTest/**

- name: Archive test failure
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v7
if: failure()
with:
name: test-failure-logs-${{ matrix.os }}-JDK${{ matrix.java }}-PR${{ github.run_id }}
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: SonarQube
on:
push:
# RAT-293: Global secrets are not visible on dependabot runs thus block if triggered by Dependabot
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
if: github.actor != 'dependabot[bot]'
name: Build and analyze
runs-on: ubuntu-latest
steps:
Expand All @@ -32,5 +34,5 @@ jobs:
restore-keys: ${{ runner.os }}-m2
- name: Build and analyze at ASF-sonarcloud
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: ./mvnw -X -e verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=apache_creadur-rat -Dsonar.token=${SONAR_TOKEN}
SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
run: ./mvnw verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=apache_creadur-rat -Dsonar.organization=apache -Dsonar.token=${SONAR_TOKEN}
2 changes: 1 addition & 1 deletion .mvn/extensions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<extension>
<groupId>com.gradle</groupId>
<artifactId>develocity-maven-extension</artifactId>
<version>2.3.2</version>
<version>2.3.4</version>
</extension>
<extension>
<groupId>com.gradle</groupId>
Expand Down
2 changes: 1 addition & 1 deletion .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
wrapperVersion=3.3.4
distributionType=only-script
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.12/apache-maven-3.9.12-bin.zip
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.13/apache-maven-3.9.13-bin.zip
263 changes: 84 additions & 179 deletions RELEASE-NOTES.txt

Large diffs are not rendered by default.

85 changes: 85 additions & 0 deletions RELEASE_NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,88 @@
RAT 0.18
========
This intermediate release addresses a severe performance issue encountered during RAT runs in version 0.17.
The issue has been resolved by reducing the sample size used for Tika charset detection
from 12,000 bytes to 256 bytes (thanks to Ryan Schmitt).

In addition, the Java language level required to build RAT has been raised to 17.
However, we recommend using at least JDK 21 due to a Javadoc issue affecting certain JDK versions (tracked under RAT-497).
RAT now also uses UTF-8 as its default character set.

These changes allowed us to adopt more modern language features, resolve numerous CVEs in dependent plugins and libraries,
and integrate with SonarCloud’s code analysis.

This release also includes a range of bug fixes, minor improvements, and dependency updates.
Furthermore, RAT’s generated report is now produced in XHTML5, and excessive INFO-level logging in the Maven plugin has been reduced.

Many thanks to all contributors and to our users for their valuable feedback.

Changes in this version include:

New features:
o RAT-440: Upgrade to doxia 2.0.0 and generate XHTML5 reports during RAT runs (fixes multiple CVEs implicitly).
Thanks to guptas6est.
o RAT-475, RAT-533: Speedup tests and avoid garbage collection workaround by changing to CleanupMode.NONE in jUnit's TempDir usages.
Thanks to Ryan Schmitt.
o RAT-293: Add integration of RAT into SonarCloud analysis now that JDK8 is dropped
and generate a test coverage report with JaCoCo.
o RAT-478: Due to the switch to Java17 language level we use UTF-8 as default charset to process configuration
and exclusion configuration files within RAT.
o RAT-478: Switch to Java17 language level in Creadur RAT. Due to RAT-497 we cannot generate Javadocs/the site
with JDK17, thus use JDK21 to build the project.
o RAT-524: Fixes case-sensitive detection time of underlying file system and removed MAVEN StandardCollection
from default Maven processing to improve overall processing time.
o RAT-504: Provide a migration guide to specific RAT versions for downstream users.
o RAT-513: Introduce new standard exclusion collection for Gradle projects. Thanks to Robert Stupp.
o RAT-501: Changed '/.externalToolBuilders' to '/.externalToolBuilders/**' in the ECLIPSE standard exclusion list
and added '**/bin/**' to ignore generated binary folders in Eclipse IDE. Thanks to pottlinger.

Fixed Bugs:
o RAT-533: Reduce sample size of charset detection from 12000 to 256 byte (Tika) to increase I/O performance of RAT scans.
Thanks to Ryan Schmitt.
o RAT-531: Fix NPE that license families is null if licenses are defined manually, reported by huangxiaoping from Hudi.
Thanks to huangxiaoping.
o RAT-512: Bugfix to mark PDF files as binary instead of standard files as they do not contain licenses.
Thanks to Niels Basjes.
o RAT-526: New version of maven-resources-plugin does not by default include hidden files, adapt our test setup accordingly.
o RAT-490: Update commons-lang3 to 3.20.0 to avoid deprecation warnings when building with JDK25
(Use of the three-letter time zone ID 'ACT' is deprecated and it will be removed in a future release).
Thanks to Lenny Primark.
o RAT-497: Fix javadoc generation problem with JDK17 (javadoc:javadoc) by removing reference to method itself and
fix other javadoc errors in IXmlWriter, but combined javadoc/site build still fails with certain JDK versions.
o RAT-500: Do not throw an exception if no arguments are provided in CLI, encourage to use --help instead.
o RAT-507: Fix CopyrightMatcher parsing issues if input contains non-space or formatting characters.
o RAT-501: Fix pom configuration issues from migration to using RAT 0.17.

Changes:
o RAT-498: Update assertj from 3.27.6 to 4.0.0-M1 and use bom for dependency management.
o RAT-498: Update plexus-utils from 3.5.1 to 3.6.0.
o RAT-498: Update exec-maven-plugin from 3.6.1 to 3.6.3.
o RAT-498: Update junit from 5.13.4 to 6.1.0-M1.
o RAT-498: Update mockito from 4.11.0 to 5.22.0 and use bom for dependency management.
o RAT-498: Update tika from 2.9.4 to 3.2.3 due to CVE-2025-66516.
o RAT-508: Removed excess INFO logging in Maven plugin.
Run with -X or use the verbose option in order to see output on debug level.
Thanks to Gary D. Gregory.
o RAT-498: Update Maven wrapper to v3.9.13.
o RAT-498: Update org.codehaus.plexus:plexus-testing from 1.6.0 to 2.1.0. Thanks to dependabot.
o RAT-498: Update maven-antrun-plugin from 3.1.0 to 3.2.0. Thanks to dependabot.
o RAT-498: Update actions/upload-artifact from 4 to 7. Thanks to dependabot.
o RAT-498: Update maven-plugin-annotations, maven-plugin-plugin and maven-plugin-report-plugin from 3.15.1 to 3.15.2. Thanks to dependabot.
o RAT-498: Update plugin-testing-harness from 3.3.0 to 3.5.1. Thanks to dependabot.
o RAT-498: Update develocity-maven-extension from 2.2 to 2.3.4. Thanks to dependabot.
o RAT-498: Update commons-io from 2.20.0 to 2.21.0. Thanks to dependabot.
o RAT-498: Update actions/checkout from 5 to 6. Thanks to dependabot.
o RAT-498: Update taglist-maven-plugin from 3.2.1 to 3.2.2. Thanks to dependabot.
o RAT-498: Update maven-resources-plugin from 3.3.1 to 3.5.0. Thanks to dependabot.
o RAT-498: Update commons-text from 1.14.0 to 1.15.0. Thanks to dependabot.
o RAT-498: Update actions/cache from 4 to 5. Thanks to dependabot.
o RAT-498: Update ASF parent pom org.apache:apache from 35 to 37 and minimum required Maven version set to 3.9. Thanks to dependabot.
o RAT-498: Update animal-sniffer-plugin from 1.26 to 1.27. Thanks to dependabot.
o RAT-498: Update maven-compiler-plugin from 3.14.1 to 3.15.0. Thanks to dependabot.
o RAT-498: Update maven-dependency-plugin from 3.9.0 to 3.10.0. Thanks to dependabot.
o RAT-498: Update maven-surefire-plugin from 3.5.4 to 3.5.5. Thanks to dependabot.
o RAT-498: Update maven-failsafe-plugin from 3.5.4 to 3.5.5. Thanks to dependabot.

RAT 0.17
========
Apart from many dependency updates and multiple bugfixes, this release brings
Expand Down
2 changes: 1 addition & 1 deletion apache-rat-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-project</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.18-SNAPSHOT</version>
</parent>
<artifactId>apache-rat-core</artifactId>
<packaging>jar</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
import org.apache.rat.utils.DefaultLog;
import org.apache.rat.utils.Log;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.io.CleanupMode;
import org.junit.jupiter.api.io.TempDir;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
import org.apache.rat.utils.DefaultLog;
import org.apache.rat.utils.Log;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.io.CleanupMode;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

import org.apache.rat.ConfigurationException;
import org.apache.rat.utils.ExtendedIterator;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.io.CleanupMode;
import org.junit.jupiter.api.io.TempDir;
Expand Down
2 changes: 1 addition & 1 deletion apache-rat-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>apache-rat-project</artifactId>
<groupId>org.apache.rat</groupId>
<version>1.0.0-SNAPSHOT</version>
<version>0.18-SNAPSHOT</version>
</parent>
<artifactId>apache-rat-plugin</artifactId>
<packaging>maven-plugin</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
import org.apache.rat.utils.DefaultLog;
import org.codehaus.plexus.component.configurator.ComponentConfigurationException;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.io.CleanupMode;
Expand Down
2 changes: 1 addition & 1 deletion apache-rat-tasks/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-project</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.18-SNAPSHOT</version>
</parent>
<artifactId>apache-rat-tasks</artifactId>
<packaging>jar</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@
import org.apache.rat.utils.DefaultLog;
import org.apache.rat.utils.Log;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.condition.EnabledIf;
import org.junit.jupiter.api.condition.EnabledOnOs;
import org.junit.jupiter.api.condition.OS;
import org.junit.jupiter.api.io.CleanupMode;
import org.junit.jupiter.api.io.TempDir;
import org.junit.jupiter.params.ParameterizedTest;
Expand Down
2 changes: 1 addition & 1 deletion apache-rat-testdata/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-project</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.18-SNAPSHOT</version>
</parent>
<artifactId>apache-rat-testdata</artifactId>
<name>Apache Creadur RAT::Testdata</name>
Expand Down
2 changes: 1 addition & 1 deletion apache-rat-tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-project</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.18-SNAPSHOT</version>
</parent>
<artifactId>apache-rat-tools</artifactId>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion apache-rat/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-project</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.18-SNAPSHOT</version>
</parent>
<artifactId>apache-rat</artifactId>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion apache-rat/src/site/markdown/migration_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ As each RAT release introduce new functionality its configuration needs to be ch

The subpages listed here help you to make the most out of the corresponding version of RAT:

* [0.17](./migrationguide/0.17.html)
* [0.18](./migrationguide/0.18.html)
* [0.17](./migrationguide/0.17.html)
20 changes: 10 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</parent>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-project</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.18-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Apache Creadur RAT</name>
<url>https://creadur.apache.org/rat/</url>
Expand Down Expand Up @@ -53,24 +53,24 @@ agnostic home for software distribution comprehension and audit tools.
<assertj.version>4.0.0-M1</assertj.version>
<javaVersion>17</javaVersion>
<tika.version>3.2.3</tika.version>
<mockito.version>5.21.0</mockito.version>
<mockito.version>5.22.0</mockito.version>
<maven.compiler.source>${javaVersion}</maven.compiler.source>
<maven.compiler.target>${javaVersion}</maven.compiler.target>
<!-- This is the version of Maven required to use the RAT Maven Plugin -->
<mavenMinVersion>3.9</mavenMinVersion>
<mavenVersion>3.9.12</mavenVersion>
<mavenVersion>3.9.13</mavenVersion>
<creadur.jira.id>RAT</creadur.jira.id>
<velocity.core.version>2.4.1</velocity.core.version>
<velocity.tools.version>3.1</velocity.tools.version>
<!-- maven plugin versions -->
<mavenPluginTestingVersion>3.5.0</mavenPluginTestingVersion>
<mavenPluginTestingVersion>3.5.1</mavenPluginTestingVersion>
<mavenPluginPluginVersion>3.15.2</mavenPluginPluginVersion>
<mavenChangesVersion>3.0.0-M3</mavenChangesVersion>
<mavenJavadocPluginVersion>3.12.0</mavenJavadocPluginVersion>
<mavenPmdPluginVersion>3.28.0</mavenPmdPluginVersion>
<!-- Used to generate download page for RAT during site builds, please adapt versions manually BEFORE doing a release -->
<!-- START - adapt manually before doing a release -->
<previousRatVersion>0.17</previousRatVersion>
<previousRatVersion>0.18</previousRatVersion>
<currentSnapshotRatVersion>1.0.0-SNAPSHOT</currentSnapshotRatVersion>
<!-- END - adapt manually before doing a release -->
</properties>
Expand Down Expand Up @@ -570,7 +570,7 @@ agnostic home for software distribution comprehension and audit tools.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.14.1</version>
<version>3.15.0</version>
<configuration>
<release>${javaVersion}</release>
<source>${javaVersion}</source>
Expand All @@ -585,7 +585,7 @@ agnostic home for software distribution comprehension and audit tools.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.9.0</version>
<version>3.10.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -658,7 +658,7 @@ agnostic home for software distribution comprehension and audit tools.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.4.0</version>
<version>3.5.0</version>
<configuration>
<propertiesEncoding>ISO-8859-1</propertiesEncoding>
<addDefaultExcludes>false</addDefaultExcludes>
Expand All @@ -667,12 +667,12 @@ agnostic home for software distribution comprehension and audit tools.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>3.5.4</version>
<version>3.5.5</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.4</version>
<version>3.5.5</version>
<configuration>
<forkCount>1</forkCount>
<!-- RAT-293: We need to append to the existing arguments in order for code coverage to work -->
Expand Down
Loading