- Build the license check rename-hop type filter from the whole scope so --since agrees with a full run (PR #16341)
- Skip the 13 license check tests that need git merge-file --object-id on older Git (PR #16341)
- Take the Windows installer Java minimum from pkg.minJavaVersion (PR #16341)
- Drop -XX:-UseBiasedLocking from the Windows service, which Java 25 rejects (PR #16341)
- web-report: build the shipped executables without pkg --debug again; the SBOM check makes its own --debug pass into a folder it deletes
- skip the yarn SBOM steps of ui-ngx, web-ui and web-report with -Dskip.ui.build=true (sbom.ui.skip)
- keep Lombok out of the boot jars: it is needed only to compile and is not in the SBOMs
- list the DigiCert root certificate in the package SBOM of the integration executor
- check in every build that the gateway extension SBOM names the hash of the committed .js, and keep Git from changing the line ends of that file
- license headers: mark packaging/java/build.gradle as modified and update the curation of msa/web-report/pom.xml
Also derive the deb and rpm package version once (pkg.version, 4.4.1~SNAPSHOT for snapshots) and use it for the packages and their purls, so package purls match the installed packages.
- Add pkg.minJavaVersion property and pass it to Gradle as pkgMinJavaVersion (PR #16341)
- Derive the deb and rpm Java package requirements from pkgMinJavaVersion (PR #16341)
- Add bin/java-env, shipped in every package, with the JAVA_HOME java selection and the require_java check (PR #16341)
- Source java-env from the launcher, install.sh and upgrade.sh, failing loudly if it is missing (PR #16341)
- State the minimum Java version in the template.service exit-78 comment from the property (PR #16341)
- Check and run the JAVA_HOME-selected java in install.sh and upgrade.sh, quoted inside the su command (PR #16341)
- Keep rest-client working on Spring Framework 6 and 7 (PR #16341)
- Refuse to start, install or upgrade on Java older than 25 (PR #16341)
- Move the lower-case header names filter from util to http-integrations so rest-client consumers no longer get it (PR #16341)
- Sign the renamed commit so the log.showSignature check in the lineage test can fail (PR #16341)
- Build SkipPathRequestMatcherTest's matcher from the ThingsboardSecurityConfiguration constants (PR #16341)
- Enforce upper-bound convergence of nimbus-jose-jwt (PR #16341)
The Java packaging used a custom thingsboard.package Gradle plugin, built by the
packaging Maven module, for its deb packages. It now applies the public
com.netflix.nebula.ospackage plugin 12.1.1, as the JS packaging already does,
so the packaging module and its Groovy plugin sources are removed.
Introduces four independent flags to skip individual packaging artifacts:
-Dpkg.skip.bootjar=true skip spring-boot repackage (*-boot.jar)
-Dpkg.skip.deb=true skip Gradle buildDeb + Maven attach-artifact
-Dpkg.skip.rpm=true skip Gradle buildRpm
-Dpkg.skip.zip=true skip maven-assembly-plugin Windows ZIP
Adds -Dpkg.skip=true as a single convenience flag that sets all four
at once. msa/pom.xml mirrors the skip-pkg profile to override its own
<pkg.deb.phase>package</pkg.deb.phase> property (child POM properties
have higher priority than parent profile properties in Maven).
msa/* docker modules used ${basedir}/../.. (non-canonical) for main.dir.
maven-enforcer-plugin 3.5.0's osIndependentNameMatch() compares
file.toURI() vs file.getCanonicalFile().toURI() — these differ when the
path contains '..', causing RequireFilesExist to report false-negative.
Fix: replace ${basedir}/../.. with ${maven.multiModuleProjectDirectory}.