With --ce-ref, CE was the history of the merge bases of HEAD and the CE ref.
When the CE ref is a branch of the unified codebase, such as master, those
merge bases are relicensed commits themselves, so a downstream repository whose
history does not come from CE alone compared against the unified code. The CE
bases below a relicensed merge base are now the CE commits beneath it, found
with the relicensing commit as without --ce-ref.
- Restamp ten files whose header does not match their CE provenance:
EntityDatabaseSchemaService.java, js-resource.component.ts and
DataValidationException.java are identical to CE and take the Apache
header; the 4.3.1.6 cluster migration, TbClusterStore and their tests exist
in CE lts-4.3 and common/transport/snmp/pom.xml lost a CE dependency, so they
take the ce-modified header.
- Remove the DataValidationException.java curation: CE has had an identical
file at the same path since December 2025.
- Remove 29 curations that repeat the header the check decides by itself.
- Delete trendz-settings.component.html and comparison-keys-table.component.html
at their old locations: their components moved and no longer reference them,
and the relicensing commit left only a license header in them.
The check compared each branch against a CE counterpart branch fetched from
thingsboard/thingsboard, which is now the unified codebase itself, so every
file was compared with itself and 5,468 files were reported with a wrong
header.
CE is now the history that does not contain the relicensing commit
31936b09d2. The check compares each file against the latest CE commits merged
into the branch:
- a path that exists in CE is apache when its content equals a CE version or a
clean merge of its CE versions, and ce-modified otherwise;
- a new path is busl unless it is at least 50% similar to a CE file or CE
history had this path, which needs a decision;
- --ce-ref keeps the previous mode of comparing against a fetched CE ref.
The third header kind is named after its template, license-header-busl.txt,
and curations use busl instead of pe-only. --fix also removes redundant
curations and curations of files that are no longer in scope, and the check
lists redundant curations.
- Group tomcat, commons-lang3 version properties under spring-boot.version
- Drop thymeleaf override (PE-only dependency, not present in CE)
- Drop lz4 plumbing: kafka-clients 3.9.2 and cassandra-all 5.0.7 now transitively ship at.yawk.lz4:lz4-java, making the Dec 2025 CVE hack obsolete
Build hygiene for developers who rebuild lts-4.2 frequently: cleans the
pom.xml sources that generate noise without any code change.
- Pin maven-clean-plugin to 3.5.0 (latest stable) via a
<maven-clean-plugin.version> property, matching the convention already
used for surefire/install/deploy/jar plugins. Removes 55 "version is
missing" warnings plus the cascading "Some problems were encountered
while building the effective model" messages for every child module.
- Extend license-maven-plugin excludes for files that never carry a
license header: **/lombok.config, **/eslint.config.mjs,
**/config.monitoring, **/valkey-certs/**, **/data/certs/**, **/*.otf.
Directory-scoped patterns are used instead of broad extension globs
(**/*.crt, **/*.key, **/*.pem) so a stray cert dropped outside these
directories still raises a warning.
- Exclude sjk-jfr5 / sjk-jfr6 / sjk-nps transitive deps from cassandra-all
in tools/pom.xml. Their published POMs declare system-scope deps against
unresolved ${jmc5.path}, ${jmc6.path}, ${visualvm.path} properties,
producing 7 ERROR-level lines on every build. No ThingsBoard code imports
sjk, jmc, or netbeans profiler classes.
Net impact: 1040 -> 843 WARNING lines, 7 -> 0 ERROR lines. Build still
green. Full categorization of remaining warnings and Tier 2/3 migration
plan is tracked in issue #15481.