The check ran with maven-antrun-plugin in the validate phase. That plugin makes Maven resolve the dependencies of the application module, which fails in 'mvn validate' on a clean machine, where the other modules are not built yet. The check is now a maven-enforcer-plugin rule, which needs no dependency resolution.
- 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
The image SBOMs were made by sbom-docker-images.sh, run after the release build. The image goal of sbom-maven-plugin now finds the pushed images, scans them and attaches the SBOMs itself, so the push profiles bind it to the phase that pushes the image, right after the pushes, with the tags they push. The script is removed.
sbom.skip is true by default, so a normal build makes no SBOMs. -Dsbom.skip=false turns them on: jar and package SBOMs in any build, and image SBOMs as well in a build with a push profile.
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.
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.
Phase 2 of the AI WebSocket channel: ChannelTbAiTransport over TbAiChannelClient,
TbAiRequestExecutor running tb.request frames on loopback as the user, TbAiTransportSelector
with SSE fallback and back-off (TB_AI_CHANNEL_ENABLED, TB_AI_CHANNEL_FALLBACK_BACKOFF_MINUTES),
approvals over the channel via TbAiChannelRegistry, clientOrigin from SystemSecurityService.
Uses thingsboard-ai common 2.1.8-SNAPSHOT.
Activating any other root profile (skip-pkg, skip-pkg-without-*) switches off the
activeByDefault packaging profile, which held the only build-info execution, so such builds
had no build-info.properties and ProjectInfo failed at runtime. The jar plugin config
(logback.xml exclusion, manifest) moves out of the profile for the same reason.
Packages built without the UI are incomplete, so -Dskip.yarn=true and
-Dskip.ui.build=true now imply -Dpkg.skip=true through dedicated profiles
in the root pom and msa/pom.xml.
This replaces the module-level pkg.skip.zip properties in msa/js-executor
and msa/web-ui, which shadowed the root skip-pkg profile and made
-Dpkg.skip=true build their Windows ZIPs again.