This is an automated email from the ASF dual-hosted git repository.

Kusuma04-dev pushed a commit to branch 10.3.x
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git


The following commit(s) were added to refs/heads/10.3.x by this push:
     new 1b1d6f47246 [10.3.x] [NO-ISSUE] Add LICENSE and NOTICE to release 
convenience binaries, with per-artifact bundled third-party appendix (#4091)
1b1d6f47246 is described below

commit 1b1d6f4724699c875d938c83fa9bb631c8d48787
Author: Kusuma04-dev <[email protected]>
AuthorDate: Fri Nov 27 19:16:02 2026 +0530

    [10.3.x] [NO-ISSUE] Add LICENSE and NOTICE to release convenience binaries, 
with per-artifact bundled third-party appendix (#4091)
---
 .../ci/patterns/non-source-files-patterns.txt      |    2 +-
 .rat-excludes                                      |    3 +-
 DISCLAIMER                                         |   13 +
 DISCLAIMER-WIP                                     |   23 -
 NOTICE                                             |    2 +-
 packages/cors-proxy-image/Containerfile            |    2 +
 packages/cors-proxy-image/package.json             |    5 +-
 packages/dev-deployment-base-image/Containerfile   |    2 +
 packages/dev-deployment-base-image/package.json    |    3 +-
 .../Containerfile                                  |    2 +
 .../package.json                                   |    3 +-
 .../Containerfile                                  |    2 +
 .../package.json                                   |    3 +-
 .../Containerfile                                  |    2 +
 .../package.json                                   |    3 +-
 packages/kie-sandbox-webapp-image/Containerfile    |    2 +
 packages/kie-sandbox-webapp-image/package.json     |    3 +-
 packages/kogito-management-console/Containerfile   |    2 +
 packages/kogito-management-console/package.json    |    3 +-
 .../maven-m2-repo-via-http-image/Containerfile     |    2 +
 packages/maven-m2-repo-via-http-image/package.json |    3 +-
 scripts/release/BINARY-LICENSE-APPENDIX.txt        | 1481 ++++++++++++++++++++
 scripts/release/build-legal.js                     |   66 +
 scripts/release/create-source-tarball.sh           |    8 +-
 scripts/release/release-all.sh                     |  187 ++-
 25 files changed, 1756 insertions(+), 71 deletions(-)

diff --git a/.github/supporting-files/ci/patterns/non-source-files-patterns.txt 
b/.github/supporting-files/ci/patterns/non-source-files-patterns.txt
index 3663fa02500..6aaba8134ef 100644
--- a/.github/supporting-files/ci/patterns/non-source-files-patterns.txt
+++ b/.github/supporting-files/ci/patterns/non-source-files-patterns.txt
@@ -8,7 +8,7 @@ docs
 gifs
 repo
 devbox.*
-DISCLAIMER-WIP
+DISCLAIMER
 NOTICE
 .vscode
 .idea
diff --git a/.rat-excludes b/.rat-excludes
index 632e267d8e0..c9426f6f6f1 100644
--- a/.rat-excludes
+++ b/.rat-excludes
@@ -5,7 +5,7 @@
 .prettierignore
 .rat-excludes
 .rat-reports
-DISCLAIMER-WIP
+DISCLAIMER
 _intellij-project/[email protected]
 devbox.lock
 dockerignore
@@ -359,5 +359,6 @@ repo/graph.dot
 repo/repo.iml
 scripts/check-junit-report-results/tests/index.test.js
 scripts/check-junit-report-results/tests/reports/empty.xml
+scripts/release/BINARY-LICENSE-APPENDIX.txt
 scripts/run-script-if/README.md
 scripts/scripts.iml
diff --git a/DISCLAIMER b/DISCLAIMER
new file mode 100644
index 00000000000..c787271ee2f
--- /dev/null
+++ b/DISCLAIMER
@@ -0,0 +1,13 @@
+Apache KIE (incubating) is an effort undergoing incubation at The Apache 
Software
+Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of 
all
+newly accepted projects until a further review indicates that the 
infrastructure,
+communications, and decision making process have stabilized in a manner 
consistent
+with other successful ASF projects. While incubation status is not necessarily 
a
+reflection of the completeness or stability of the code, it does indicate that 
the
+project has yet to be fully endorsed by the ASF.
+
+If you are planning to incorporate this work into your product/project, please 
be
+aware that you will need to conduct a thorough licensing review to determine 
the
+overall implications of including this work. For the current status of this 
project
+through the Apache Incubator visit:
+https://incubator.apache.org/projects/kie.html
diff --git a/DISCLAIMER-WIP b/DISCLAIMER-WIP
deleted file mode 100644
index e445695a323..00000000000
--- a/DISCLAIMER-WIP
+++ /dev/null
@@ -1,23 +0,0 @@
-Apache KIE (incubating) is an effort undergoing incubation at The Apache 
Software
-Foundation (ASF), sponsored by the name of Apache Incubator. Incubation is
-required of all newly accepted projects until a further review indicates that
-the infrastructure, communications, and decision making process have stabilized
-in a manner consistent with other successful ASF projects. While incubation
-status is not necessarily a reflection of the completeness or stability of the
-code, it does indicate that the project has yet to be fully endorsed by the 
ASF.
-
-Some of the incubating project’s releases may not be fully compliant with ASF
-policy. For example, releases may have incomplete or un-reviewed licensing
-conditions. What follows is a list of known issues the project is currently
-aware of (note that this list, by definition, is likely to be incomplete):
-
-* Hibernate, an LGPL project, is being used. Hibernate is in the process of
-  relicensing to ASL v2
-* Some files, particularly test files, and those not supporting comments, may
-  be missing the ASF Licensing Header
-
-If you are planning to incorporate this work into your product/project, please
-be aware that you will need to conduct a thorough licensing review to determine
-the overall implications of including this work. For the current status of this
-project through the Apache Incubator visit:
-https://incubator.apache.org/projects/kie.html
\ No newline at end of file
diff --git a/NOTICE b/NOTICE
index cac3f2013e5..8058b25acd3 100644
--- a/NOTICE
+++ b/NOTICE
@@ -6,4 +6,4 @@ The Apache Software Foundation (http://www.apache.org/).
 
 The Initial Developer of some parts of the framework, which are copied from, 
derived from, or
 inspired by KIE (Knowledge Is Everything) group, is Red Hat, Inc 
(https://www.redhat.com/).
-Copyright Red Hat, Inc. and/or its affiliates.. All Rights Reserved.
+Copyright Red Hat, Inc. and/or its affiliates. All Rights Reserved.
diff --git a/packages/cors-proxy-image/Containerfile 
b/packages/cors-proxy-image/Containerfile
index 2beaad1ff96..9af011afac3 100644
--- a/packages/cors-proxy-image/Containerfile
+++ b/packages/cors-proxy-image/Containerfile
@@ -44,6 +44,8 @@ RUN mkdir $HOME \
 ENV NODE_PATH $NVM_DIR/versions/node/$NODE_VERSION/bin
 ENV PATH $NODE_PATH:$PATH
 
+COPY dist-dev/legal/ /licenses/
+
 COPY --chown=1000:0 dist-dev/cors-proxy $HOME/cors-proxy
 
 EXPOSE $CORS_PROXY_DEFAULT_PORT
diff --git a/packages/cors-proxy-image/package.json 
b/packages/cors-proxy-image/package.json
index 6b0bacbd947..20b2c5eae6b 100644
--- a/packages/cors-proxy-image/package.json
+++ b/packages/cors-proxy-image/package.json
@@ -13,12 +13,13 @@
     "url": "https://github.com/apache/incubator-kie-tools/issues";
   },
   "scripts": {
-    "build:dev": "pnpm cleanup && pnpm copy:cors-proxy-package && 
run-script-if --bool \"$(build-env containerImages.build)\" --then \"pnpm 
docker:build\"",
-    "build:prod": "pnpm cleanup && pnpm copy:cors-proxy-package && 
run-script-if --bool \"$(build-env containerImages.build)\" --then \"pnpm 
docker:build\"",
+    "build:dev": "pnpm cleanup && pnpm copy:cors-proxy-package && pnpm 
copy:legal && run-script-if --bool \"$(build-env containerImages.build)\" 
--then \"pnpm docker:build\"",
+    "build:prod": "pnpm cleanup && pnpm copy:cors-proxy-package && pnpm 
copy:legal && run-script-if --bool \"$(build-env containerImages.build)\" 
--then \"pnpm docker:build\"",
     "cleanup": "rimraf dist-dev && mkdir dist-dev",
     "copy:cors-proxy-package": "run-script-os",
     "copy:cors-proxy-package:linux:darwin": "cp -R 
./node_modules/@kie-tools/cors-proxy/dist/ dist-dev/cors-proxy/",
     "copy:cors-proxy-package:win32": "pnpm powershell \"Copy-Item -R 
./node_modules/@kie-tools/cors-proxy/dist/ dist-dev/cors-proxy/\"",
+    "copy:legal": "node ../../scripts/release/build-legal.js dist-dev/legal",
     "docker:build": "kie-tools--image-builder build -r \"$(build-env 
corsProxyImage.image.registry)\" -a \"$(build-env 
corsProxyImage.image.account)\" -n \"$(build-env corsProxyImage.image.name)\" 
-t \"$(build-env corsProxyImage.image.buildTag)\" --build-arg 
\"CORS_PROXY_DEFAULT_PORT=$(build-env corsProxyImage.image.port)\" --build-arg 
\"CORS_PROXY_DEFAULT_ALLOWED_ORIGINS=$(build-env 
corsProxyImage.image.allowedOrigins)\" --build-arg 
\"CORS_PROXY_DEFAULT_VERBOSE=$(build-env corsProxyImag [...]
   },
   "devDependencies": {
diff --git a/packages/dev-deployment-base-image/Containerfile 
b/packages/dev-deployment-base-image/Containerfile
index e13f6b3bb72..bf10956cd4b 100644
--- a/packages/dev-deployment-base-image/Containerfile
+++ b/packages/dev-deployment-base-image/Containerfile
@@ -37,6 +37,8 @@ RUN microdnf --disableplugin=subscription-manager install -y 
tar gzip \
     && mkdir -p -m 777 /tmp/app \
     && mkdir -p -m 777 /.m2
 
+COPY dist-dev/legal/ /licenses/
+
 COPY dist-dev/dev-deployment-upload-service /usr/local/bin/
 COPY .mvn $HOME_PATH/app/.mvn
 COPY mvnw $HOME_PATH/app
diff --git a/packages/dev-deployment-base-image/package.json 
b/packages/dev-deployment-base-image/package.json
index 2eba28c0782..4c9fbc3fc35 100644
--- a/packages/dev-deployment-base-image/package.json
+++ b/packages/dev-deployment-base-image/package.json
@@ -15,7 +15,8 @@
   "scripts": {
     "build:dev": "run-script-if --bool \"$(build-env containerImages.build)\" 
--then \"pnpm copy-assets\" \"pnpm image:docker:build\"",
     "build:prod": "run-script-if --bool \"$(build-env containerImages.build)\" 
--then \"pnpm copy-assets\" \"pnpm image:docker:build\"",
-    "copy-assets": "rimraf dist-dev && pnpm copy-upload-service-assets",
+    "copy:legal": "node ../../scripts/release/build-legal.js dist-dev/legal 
go",
+    "copy-assets": "rimraf dist-dev && pnpm copy-upload-service-assets && pnpm 
copy:legal",
     "copy-upload-service-assets": "run-script-os",
     "copy-upload-service-assets:linux:darwin": "mkdir -p ./dist-dev && cp -R 
./node_modules/@kie-tools/dev-deployment-upload-service/dist/dev-deployment-upload-service-linux-amd64
 ./dist-dev/dev-deployment-upload-service",
     "copy-upload-service-assets:win32": "pnpm powershell \"Copy-Item -R 
./node_modules/@kie-tools/dev-deployment-upload-service/dist/dev-deployment-upload-service-linux-amd64
 ./dist-dev/dev-deployment-upload-service\"",
diff --git a/packages/dev-deployment-dmn-form-webapp-image/Containerfile 
b/packages/dev-deployment-dmn-form-webapp-image/Containerfile
index 586fed6d0c5..391bfc4e22b 100644
--- a/packages/dev-deployment-dmn-form-webapp-image/Containerfile
+++ b/packages/dev-deployment-dmn-form-webapp-image/Containerfile
@@ -20,6 +20,8 @@ FROM --platform=linux/amd64 
registry.access.redhat.com/ubi9/ubi-minimal:9.5
 ARG DEV_DEPLOYMENT_DMN_FORM_WEBAPP_DEFAULT_PORT=8081
 ENV 
DEV_DEPLOYMENT_DMN_FORM_WEBAPP_PORT=$DEV_DEPLOYMENT_DMN_FORM_WEBAPP_DEFAULT_PORT
 
+COPY dist-dev/legal/ /licenses/
+
 COPY entrypoint.sh dist-dev/image-env-to-json-linux-amd64 
dist-dev/EnvJson.schema.json /tmp/
 
 RUN microdnf --disableplugin=subscription-manager -y install httpd \
diff --git a/packages/dev-deployment-dmn-form-webapp-image/package.json 
b/packages/dev-deployment-dmn-form-webapp-image/package.json
index afe9776058d..a805b067ea5 100644
--- a/packages/dev-deployment-dmn-form-webapp-image/package.json
+++ b/packages/dev-deployment-dmn-form-webapp-image/package.json
@@ -16,13 +16,14 @@
     "build:dev": "pnpm build:prod",
     "build:prod": "pnpm cleanup && pnpm env-json:schema:generate && 
run-script-if --bool \"$(build-env containerImages.build)\" --then \"pnpm 
copy:assets\" \"pnpm image:docker:build\"",
     "cleanup": "rimraf dist-dev && mkdir dist-dev",
-    "copy:assets": "pnpm copy:dmn-form-webapp && pnpm copy:image-env-to-json",
+    "copy:assets": "pnpm copy:dmn-form-webapp && pnpm copy:image-env-to-json 
&& pnpm copy:legal",
     "copy:dmn-form-webapp": "run-script-os",
     "copy:dmn-form-webapp:linux:darwin": "cp -R 
./node_modules/@kie-tools/dev-deployment-dmn-form-webapp/dist/ 
dist-dev/dev-deployment-dmn-form-webapp",
     "copy:dmn-form-webapp:win32": "pnpm powershell \"Copy-Item -R 
./node_modules/@kie-tools/dev-deployment-dmn-form-webapp/dist/ 
dist-dev/dev-deployment-dmn-form-webapp\"",
     "copy:image-env-to-json": "run-script-os",
     "copy:image-env-to-json:linux:darwin": "cp 
./node_modules/@kie-tools/image-env-to-json/dist/image-env-to-json-linux-amd64 
./dist-dev/",
     "copy:image-env-to-json:win32": "pnpm powershell \"Copy-Item 
./node_modules/@kie-tools/image-env-to-json/dist/image-env-to-json-linux-amd64 
./dist-dev/\"",
+    "copy:legal": "node ../../scripts/release/build-legal.js dist-dev/legal 
js,go",
     "create-test-image:build-only": "kie-tools--image-builder build -r 
\"$(build-env devDeploymentDmnFormWebappImage.registry)\" -a \"$(build-env 
devDeploymentDmnFormWebappImage.account)\" -n \"$(build-env 
devDeploymentDmnFormWebappImage.name)\" -t \"$(build-env 
devDeploymentDmnFormWebappImage.buildTag)\"",
     "create-test-image:kind": "kie-tools--image-builder kind -r \"$(build-env 
devDeploymentDmnFormWebappImage.registry)\" -a \"$(build-env 
devDeploymentDmnFormWebappImage.account)\" -n \"$(build-env 
devDeploymentDmnFormWebappImage.name)\" -t \"$(build-env 
devDeploymentDmnFormWebappImage.buildTag)\" --kind-cluster-name 
kie-sandbox-dev-cluster",
     "create-test-image:minikube": "kie-tools--image-builder minikube -r 
\"$(build-env devDeploymentDmnFormWebappImage.registry)\" -a \"$(build-env 
devDeploymentDmnFormWebappImage.account)\" -n \"$(build-env 
devDeploymentDmnFormWebappImage.name)\" -t \"$(build-env 
devDeploymentDmnFormWebappImage.buildTag)\"",
diff --git a/packages/dev-deployment-quarkus-blank-app-image/Containerfile 
b/packages/dev-deployment-quarkus-blank-app-image/Containerfile
index 798e50fdb3f..ff9da8dcbcd 100644
--- a/packages/dev-deployment-quarkus-blank-app-image/Containerfile
+++ b/packages/dev-deployment-quarkus-blank-app-image/Containerfile
@@ -26,6 +26,8 @@ ENV ROOT_PATH="/"
 ENV 
DEV_DEPLOYMENT__UPLOAD_SERVICE_EXTRACT_TO_DIR=$HOME_PATH/app/src/main/resources
 ENV DEV_DEPLOYMENT__UPLOAD_SERVICE_PORT=8080
 
+COPY dist-dev/legal/ /licenses/
+
 COPY --chown=$USER_ID:$USER_ID dist-dev/quarkus-app $HOME_PATH/app/
 COPY --chown=$USER_ID:$USER_ID dist-dev/settings.xml 
/tmp/kogito/.m2/settings.xml
 
diff --git a/packages/dev-deployment-quarkus-blank-app-image/package.json 
b/packages/dev-deployment-quarkus-blank-app-image/package.json
index b9c37710629..e18a0ba6667 100644
--- a/packages/dev-deployment-quarkus-blank-app-image/package.json
+++ b/packages/dev-deployment-quarkus-blank-app-image/package.json
@@ -16,7 +16,8 @@
     "build": "run-script-if --bool \"$(build-env containerImages.build)\" 
--then \"pnpm m2-repo-via-http:container:run\" \"pnpm copy:assets\" \"pnpm 
image:docker:build\" --finally \"pnpm m2-repo-via-http:container:kill\" 
\"rimraf ./dist/tmp-m2\"",
     "build:dev": "pnpm build",
     "build:prod": "pnpm build",
-    "copy:assets": "rimraf dist-dev && mkdir -p ./dist-dev && pnpm 
copy:quarkus-app && pnpm copy:maven-m2-repo-via-http-image--settings-xml",
+    "copy:assets": "rimraf dist-dev && mkdir -p ./dist-dev && pnpm 
copy:quarkus-app && pnpm copy:maven-m2-repo-via-http-image--settings-xml && 
pnpm copy:legal",
+    "copy:legal": "node ../../scripts/release/build-legal.js dist-dev/legal 
go,quarkus",
     "copy:maven-m2-repo-via-http-image--settings-xml": "run-script-os",
     "copy:maven-m2-repo-via-http-image--settings-xml:linux:darwin": 
"M2_REPO_VIA_HTTP_URL_WITHOUT_PROTOCOL=$(docker inspect -f 
'{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' m2-repo-via-http) 
envsubst < 
./node_modules/@kie-tools/maven-m2-repo-via-http-image/settings.xml.envsubst > 
dist-dev/settings.xml",
     "copy:maven-m2-repo-via-http-image--settings-xml:win32": "pnpm powershell 
\"(Get-Content 
./node_modules/@kie-tools/maven-m2-repo-via-http-image/settings.xml.envsubst) 
-replace '$M2_REPO_VIA_HTTP_URL_WITHOUT_PROTOCOL', $(docker inspect -f 
'{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' m2-repo-via-http) | 
Set-Content ./dist-dev/settings.xml\"",
diff --git a/packages/kie-sandbox-extended-services-image/Containerfile 
b/packages/kie-sandbox-extended-services-image/Containerfile
index f631eb188da..18603159f77 100644
--- a/packages/kie-sandbox-extended-services-image/Containerfile
+++ b/packages/kie-sandbox-extended-services-image/Containerfile
@@ -24,6 +24,8 @@ ARG EXTENDED_SERVICES_DEFAULT_PORT=21345
 
 ENV EXTENDED_SERVICES_PORT=$EXTENDED_SERVICES_DEFAULT_PORT
 
+COPY dist-dev/legal/ /licenses/
+
 COPY --chown=1000:0 dist-dev/kie_sandbox_extended_services 
/kie-sandbox/kie_sandbox_extended_services
 
 EXPOSE $EXTENDED_SERVICES_DEFAULT_PORT
diff --git a/packages/kie-sandbox-extended-services-image/package.json 
b/packages/kie-sandbox-extended-services-image/package.json
index 6c30d737d65..5d9a1eb41f4 100644
--- a/packages/kie-sandbox-extended-services-image/package.json
+++ b/packages/kie-sandbox-extended-services-image/package.json
@@ -16,10 +16,11 @@
     "build:dev": "pnpm cleanup && pnpm copy:assets && run-script-if --bool 
\"$(build-env containerImages.build)\" --then \"pnpm image:docker:build\"",
     "build:prod": "pnpm cleanup && pnpm copy:assets && run-script-if --bool 
\"$(build-env containerImages.build)\" --then \"pnpm image:docker:build\"",
     "cleanup": "rimraf dist-dev && mkdir dist-dev",
-    "copy:assets": "pnpm copy:extended-services-java",
+    "copy:assets": "pnpm copy:extended-services-java && pnpm copy:legal",
     "copy:extended-services-java": "run-script-os",
     "copy:extended-services-java:linux:darwin": "cp -R 
./node_modules/@kie-tools/extended-services-java/dist/extended-services-java 
./dist-dev/kie_sandbox_extended_services",
     "copy:extended-services-java:win32": "pnpm powershell \"Copy-Item 
./node_modules/@kie-tools/extended-services-java/dist/extended-services-java 
./dist-dev/kie_sandbox_extended_services\"",
+    "copy:legal": "node ../../scripts/release/build-legal.js dist-dev/legal 
ext",
     "image:docker:build": "kie-tools--image-builder build -r \"$(build-env 
extendedServicesImageEnv.registry)\" -a \"$(build-env 
extendedServicesImageEnv.account)\" -n \"$(build-env 
extendedServicesImageEnv.name)\" -t \"$(build-env 
extendedServicesImageEnv.buildTag)\" --build-arg 
BUILDER_IMAGE_ARG=\"$(build-env extendedServicesImage.builderImage)\" 
--build-arg \"EXTENDED_SERVICES_DEFAULT_PORT=$(build-env 
extendedServicesImageEnv.port)\""
   },
   "dependencies": {
diff --git a/packages/kie-sandbox-webapp-image/Containerfile 
b/packages/kie-sandbox-webapp-image/Containerfile
index baaf493da21..ea60d41e259 100644
--- a/packages/kie-sandbox-webapp-image/Containerfile
+++ b/packages/kie-sandbox-webapp-image/Containerfile
@@ -20,6 +20,8 @@ FROM --platform=linux/amd64 
registry.access.redhat.com/ubi9/ubi-minimal:9.5
 ARG KIE_SANDBOX_DEFAULT_PORT=8080
 ENV KIE_SANDBOX_DEFAULT_PORT=$KIE_SANDBOX_DEFAULT_PORT
 
+COPY dist-dev/legal/ /licenses/
+
 COPY entrypoint.sh dist-dev/image-env-to-json-linux-amd64 
dist-dev/EnvJson.schema.json /tmp/
 
 RUN microdnf --disableplugin=subscription-manager -y install httpd \
diff --git a/packages/kie-sandbox-webapp-image/package.json 
b/packages/kie-sandbox-webapp-image/package.json
index b3ec1399688..a527cae7d5b 100644
--- a/packages/kie-sandbox-webapp-image/package.json
+++ b/packages/kie-sandbox-webapp-image/package.json
@@ -16,10 +16,11 @@
     "build:dev": "pnpm cleanup && pnpm env-json:schema:generate && pnpm 
copy:assets && run-script-if --bool \"$(build-env containerImages.build)\" 
--then \"pnpm image:docker:build\"",
     "build:prod": "pnpm cleanup && pnpm env-json:schema:generate && pnpm 
copy:assets && run-script-if --bool \"$(build-env containerImages.build)\" 
--then \"pnpm image:docker:build\"",
     "cleanup": "rimraf dist-dev && mkdir dist-dev",
-    "copy:assets": "pnpm copy:online-editor && pnpm copy:image-env-to-json",
+    "copy:assets": "pnpm copy:online-editor && pnpm copy:image-env-to-json && 
pnpm copy:legal",
     "copy:image-env-to-json": "run-script-os",
     "copy:image-env-to-json:linux:darwin": "cp 
./node_modules/@kie-tools/image-env-to-json/dist/image-env-to-json-linux-amd64 
./dist-dev/",
     "copy:image-env-to-json:win32": "pnpm powershell \"Copy-Item 
./node_modules/@kie-tools/image-env-to-json/dist/image-env-to-json-linux-amd64 
./dist-dev/\"",
+    "copy:legal": "node ../../scripts/release/build-legal.js dist-dev/legal 
js,go",
     "copy:online-editor": "run-script-os",
     "copy:online-editor:linux:darwin": "cp -R 
./node_modules/@kie-tools/online-editor/dist/ ./dist-dev/online-editor",
     "copy:online-editor:win32": "pnpm powershell \"Copy-Item -R 
./node_modules/@kie-tools/online-editor/dist/ ./dist-dev/online-editor\"",
diff --git a/packages/kogito-management-console/Containerfile 
b/packages/kogito-management-console/Containerfile
index 3184427552d..0c0bf4f56c3 100644
--- a/packages/kogito-management-console/Containerfile
+++ b/packages/kogito-management-console/Containerfile
@@ -20,6 +20,8 @@ FROM --platform=linux/amd64 
registry.access.redhat.com/ubi9/ubi-minimal:9.5
 ARG KOGITO_MANAGEMENT_CONSOLE_PORT=8080
 ENV KOGITO_MANAGEMENT_CONSOLE_PORT=$KOGITO_MANAGEMENT_CONSOLE_PORT
 
+COPY dist-dev/legal/ /licenses/
+
 COPY entrypoint.sh dist-dev/image-env-to-json-linux-amd64 
dist-dev/EnvJson.schema.json /tmp/
 
 RUN microdnf --disableplugin=subscription-manager -y install httpd \
diff --git a/packages/kogito-management-console/package.json 
b/packages/kogito-management-console/package.json
index 1f28c39e796..fcb36a85ba5 100644
--- a/packages/kogito-management-console/package.json
+++ b/packages/kogito-management-console/package.json
@@ -16,10 +16,11 @@
     "build:dev": "pnpm cleanup && pnpm env-json:schema:generate && pnpm 
copy:assets && run-script-if --bool \"$(build-env containerImages.build)\" 
--then \"pnpm image:docker:build\"",
     "build:prod": "pnpm cleanup && pnpm env-json:schema:generate && pnpm 
copy:assets && run-script-if --bool \"$(build-env containerImages.build)\" 
--then \"pnpm image:docker:build\"",
     "cleanup": "rimraf dist-dev && mkdir dist-dev",
-    "copy:assets": "pnpm copy:webapp-assets && pnpm copy:image-env-to-json",
+    "copy:assets": "pnpm copy:webapp-assets && pnpm copy:image-env-to-json && 
pnpm copy:legal",
     "copy:image-env-to-json": "run-script-os",
     "copy:image-env-to-json:linux:darwin": "cp 
./node_modules/@kie-tools/image-env-to-json/dist/image-env-to-json-linux-amd64 
./dist-dev/",
     "copy:image-env-to-json:win32": "pnpm powershell \"Copy-Item 
./node_modules/@kie-tools/image-env-to-json/dist/image-env-to-json-linux-amd64 
./dist-dev/\"",
+    "copy:legal": "node ../../scripts/release/build-legal.js dist-dev/legal 
js,go",
     "copy:webapp-assets": "run-script-os",
     "copy:webapp-assets:linux:darwin": "cp -R 
./node_modules/@kie-tools/runtime-tools-management-console-webapp/dist/ 
./dist-dev/runtime-tools-management-console-webapp",
     "copy:webapp-assets:win32": "pnpm powershell \"Copy-Item -R 
./node_modules/@kie-tools/runtime-tools-management-console-webapp/dist/ 
./dist-dev/runtime-tools-management-console-webapp\"",
diff --git a/packages/maven-m2-repo-via-http-image/Containerfile 
b/packages/maven-m2-repo-via-http-image/Containerfile
index d65536397af..781cf1c794d 100644
--- a/packages/maven-m2-repo-via-http-image/Containerfile
+++ b/packages/maven-m2-repo-via-http-image/Containerfile
@@ -20,6 +20,8 @@ FROM --platform=linux/amd64 
registry.access.redhat.com/ubi9/ubi-minimal:9.5
 # Argument for configuring the port
 ARG PORT=80
 
+COPY dist-dev/legal/ /licenses/
+
 # Install required packages: httpd and unzip, clean up after installation
 RUN microdnf --disableplugin=subscription-manager -y install httpd \
  && microdnf --disableplugin=subscription-manager clean all
diff --git a/packages/maven-m2-repo-via-http-image/package.json 
b/packages/maven-m2-repo-via-http-image/package.json
index 30d63bd245b..665e35beb69 100644
--- a/packages/maven-m2-repo-via-http-image/package.json
+++ b/packages/maven-m2-repo-via-http-image/package.json
@@ -13,9 +13,10 @@
     "url": "https://github.com/apache/incubator-kie-tools/issues";
   },
   "scripts": {
-    "build": "run-script-if --bool \"$(build-env containerImages.build)\" 
--then \"pnpm image:docker:build\"",
+    "build": "pnpm copy:legal && run-script-if --bool \"$(build-env 
containerImages.build)\" --then \"pnpm image:docker:build\"",
     "build:dev": "pnpm build",
     "build:prod": "pnpm build",
+    "copy:legal": "node ../../scripts/release/build-legal.js dist-dev/legal",
     "image:docker:build": "kie-tools--image-builder build -r \"$(build-env 
mavenM2RepoViaHttpImage.registry)\" -a \"$(build-env 
mavenM2RepoViaHttpImage.account)\" -n \"$(build-env 
mavenM2RepoViaHttpImage.name)\" -t \"$(build-env 
mavenM2RepoViaHttpImage.buildTag)\""
   },
   "devDependencies": {
diff --git a/scripts/release/BINARY-LICENSE-APPENDIX.txt 
b/scripts/release/BINARY-LICENSE-APPENDIX.txt
new file mode 100644
index 00000000000..61c7a0cc6f6
--- /dev/null
+++ b/scripts/release/BINARY-LICENSE-APPENDIX.txt
@@ -0,0 +1,1481 @@
+#@section *
+
+
+------------------------------------------------------------------------------------
+BUNDLED THIRD-PARTY COMPONENTS
+
+This is the shared license inventory for the binary distributions of Apache 
KIE Tools.
+It follows the Apache License 2.0 text above. build-legal.js writes into each
+distribution only the sections (and license texts) that apply to what it 
contains;
+each component is distributed under its own license terms.
+
+The full text of each license named below (except Public Domain) is reproduced 
at the
+end of this file.
+
+
+#@section js
+1. JavaScript components (web applications, Chrome and VS Code extensions, 
standalone editors)
+------------------------------------------------------------------------------------
+
+Eclipse Public License - v 2.0 (EPL-2.0)
+    elkjs (https://github.com/kieler/elkjs)                 Copyright (c) Kiel 
University and others
+    Bundled by the DMN editor.
+    Source code: https://github.com/kieler/elkjs and 
https://github.com/eclipse/elk
+
+MIT License
+    PatternFly React (@patternfly/react-core, react-icons, react-styles, 
react-table, react-tokens)
+                                                            Copyright (c) 2019 
Red Hat, Inc.
+    Monaco Editor (monaco-editor)                           Copyright (c) 2016 
- present Microsoft Corporation
+    React, React DOM (react, react-dom)                     Copyright (c) 
Facebook, Inc. and its affiliates
+    Lodash (lodash)                                         Copyright OpenJS 
Foundation and other contributors
+                                                            (based on 
Underscore.js, copyright Jeremy Ashkenas,
+                                                            DocumentCloud and 
Investigative Reporters & Editors)
+    buffer (https://github.com/feross/buffer)               Copyright (c) 
Feross Aboukhadijeh, and other contributors
+    safe-buffer (https://github.com/feross/safe-buffer)     Copyright (c) 
Feross Aboukhadijeh
+    focus-trap (https://github.com/focus-trap/focus-trap)   Copyright (c) 
2015-2016 David Clark
+    tabbable (https://github.com/focus-trap/tabbable)       Copyright (c) 2015 
David Clark
+
+BSD-3-Clause License
+    ieee754 (https://github.com/feross/ieee754)             Copyright 2008 
Fair Oaks Labs, Inc.
+
+SIL Open Font License, Version 1.1 (OFL-1.1)
+    Red Hat Display, Red Hat Text and Red Hat Mono fonts (shipped with 
PatternFly)
+                                                            Copyright 2021 The 
Red Hat Project Authors
+                                                            
(https://github.com/RedHatOfficial/RedHatFont)
+
+Other JavaScript dependencies bundled by webpack carry their own 
"*.js.LICENSE.txt" files
+next to the bundles; those files remain applicable.
+
+
+#@section chrome
+1. JavaScript components of the Chrome extension (content script bundled in 
the extension ZIP)
+------------------------------------------------------------------------------------
+
+The extension ZIP does not contain elkjs, PatternFly or the Red Hat fonts; 
those belong to
+the separate editors distribution.
+
+MIT License
+    React, React DOM, Scheduler (react, react-dom, scheduler)   Copyright (c) 
Facebook, Inc. and its affiliates
+    Octokit (@octokit/rest, core, request, request-error, endpoint, graphql, 
auth-token,
+    plugin-paginate-rest, plugin-request-log, plugin-rest-endpoint-methods, 
types)
+                                                            Copyright (c) 
Octokit contributors
+    node-fetch (https://github.com/node-fetch/node-fetch)   Copyright (c) 2016 
David Frank
+    is-plain-object (https://github.com/jonschlinkert/is-plain-object)
+                                                            Copyright (c) 
2014-2017, Jon Schlinkert
+    brace-expansion, balanced-match                         Copyright (c) 2013 
Julian Gruber
+    process (https://github.com/defunctzombie/node-process) Copyright (c) 2013 
Roman Shtylman
+
+ISC License
+    minimatch (https://github.com/isaacs/minimatch)         Copyright (c) 
2011-2023 Isaac Z. Schlueter and Contributors
+    once, wrappy                                            Copyright (c) 
Isaac Z. Schlueter and Contributors
+    universal-user-agent                                    Copyright (c) 
2018, Gregor Martynus
+    deprecation                                             Copyright (c) 
Gregor Martynus and contributors
+
+Apache License 2.0
+    before-after-hook (https://github.com/gr2m/before-after-hook)
+
+
+#@section go
+2. Go components (dev-deployment-upload-service, the dev deployment base image 
and the
+   image-env-to-json executable shipped in the web application images)
+------------------------------------------------------------------------------------
+
+The executables statically link the following components, distributed under 
the BSD
+3-Clause License (the Go license, reproduced below):
+
+    The Go standard library and runtime (https://go.dev)       Copyright 2009 
The Go Authors.
+    golang.org/x/sync (https://pkg.go.dev/golang.org/x/sync)   Copyright 2009 
The Go Authors.
+    golang.org/x/text (https://pkg.go.dev/golang.org/x/text)   Copyright 2009 
The Go Authors.
+    spf13/pflag (https://github.com/spf13/pflag)               Copyright (c) 
2012 Alex Ogier and
+                                                               2012 The Go 
Authors.
+
+The executables also link spf13/cobra and santhosh-tekuri/jsonschema, which 
are licensed
+under the Apache License 2.0.
+
+
+#@section drl
+3. Java components of drools-lsp-server (drl-vscode-extension)
+------------------------------------------------------------------------------------
+
+drools-lsp-server-jar-with-dependencies.jar. Besides Apache License 2.0 
components (e.g.
+Google Guava, Gson, Error Prone annotations, J2ObjC annotations, JSpecify), it 
contains:
+
+Eclipse Public License - v 2.0 (EPL-2.0)
+    Eclipse LSP4J   (org.eclipse.lsp4j, org.eclipse.lsp4j.jsonrpc)
+    Eclipse Xtext   (org.eclipse.xtext.xbase.lib)
+    Eclipse Xtend   (org.eclipse.xtend.lib, org.eclipse.xtend.lib.macro)
+
+BSD-3-Clause License
+    ANTLR 4 runtime 4.13.2 (https://www.antlr.org/)         Copyright (c) 
2012-2022 The ANTLR Project
+    ANTLR 3 runtime 3.5.2  (https://www.antlr3.org/)        Copyright (c) 2010 
Terence Parr
+
+MIT License
+    antlr4-c3 (https://github.com/mike-lischke/antlr4-c3)   Copyright (c) Mike 
Lischke
+    SLF4J API 2.0.17 (https://www.slf4j.org/)               Copyright (c) 
2004-2022 QOS.ch
+
+
+#@section ext
+4. Java components of extended-services-java 
(extended-services-vscode-extension and the
+   sandbox extended services container image)
+------------------------------------------------------------------------------------
+
+The runtime dependency jars (under dist/extended-services-java/lib/main). The 
components
+below are NOT licensed under the Apache License 2.0 alone; all other bundled 
jars are
+licensed under the Apache License 2.0.
+
+Eclipse Public License - v 2.0 (EPL-2.0)
+    org.eclipse.jdt.ecj-3.44.0.jar                         (Eclipse JDT Core 
compiler)
+  Dual-licensed EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0; used 
under EPL-2.0:
+    jakarta.json.jakarta.json-api-2.1.3.jar
+    jakarta.annotation.jakarta.annotation-api-3.0.0.jar
+    jakarta.resource.jakarta.resource-api-2.1.0.jar
+    jakarta.el.jakarta.el-api-6.0.1.jar
+    jakarta.transaction.jakarta.transaction-api-2.0.1.jar
+    jakarta.ws.rs.jakarta.ws.rs-api-3.1.0.jar
+    jakarta.interceptor.jakarta.interceptor-api-2.2.0.jar
+    org.glassfish.expressly.expressly-6.0.0.jar
+    org.eclipse.parsson.parsson-1.1.8.jar
+
+Mozilla Public License, version 2.0 (MPL-2.0)
+    net.sf.saxon.Saxon-HE-12.10.jar                        
(https://www.saxonica.com/)
+    Source code: https://github.com/Saxonica/Saxon-HE
+
+GNU General Public License v2 with the Classpath Exception (GPL-2.0-only WITH 
Classpath-exception-2.0)
+    io.smallrye.classfile.jdk-classfile-backport-26.jar
+
+Eclipse Distribution License - v 1.0 (BSD-3-Clause; copyright holder: Eclipse 
Foundation, Inc.)
+    jakarta.activation.jakarta.activation-api-2.1.4.jar
+    jakarta.xml.bind.jakarta.xml.bind-api-4.0.4.jar
+
+BSD-3-Clause License
+    com.google.protobuf.protobuf-java-3.25.5.jar, protobuf-java-util-3.25.5.jar
+    com.thoughtworks.xstream.xstream-1.4.21.jar
+    org.antlr.antlr-runtime-3.5.2.jar, antlr4-runtime-4.13.2.jar
+    org.ow2.asm.asm-9.11.1.jar, asm-tree-9.11.1.jar, asm-analysis-9.11.1.jar, 
asm-util-9.11.1.jar
+    org.jpmml.pmml-model-1.6.4.jar
+
+BSD-2-Clause License
+    org.crac.crac-1.5.0.jar                                (lib/boot)
+
+MIT License
+    ch.obermuhlner.big-math-2.0.1.jar                      Copyright (c) 2017 
Eric Obermühlner
+    org.slf4j.slf4j-api-2.0.17.jar                         Copyright (c) 
2004-2022 QOS.ch
+    Native Brotli library (https://github.com/google/brotli), bundled in the 
brotli4j native
+    jars com.aayushatharva.brotli4j.native-*-1.23.0.jar (brotli4j itself is 
Apache License 2.0)
+                                                           Copyright (c) 2009, 
2010, 2013-2016 by the Brotli Authors.
+
+MIT-0 License
+    org.reactivestreams.reactive-streams-1.0.4.jar
+
+Indiana University Extreme! Lab Software License (Apache Software License 1.1 
style)
+    io.github.x-stream.mxparser-1.2.2.jar
+
+Public Domain
+    xmlpull.xmlpull-1.1.3.1.jar
+
+Dual-licensed, used under the Apache License 2.0:
+    io.vertx.vertx-*-4.5.34.jar                            (EPL-2.0 OR 
Apache-2.0)
+    org.eclipse.jetty.toolchain.jetty-jakarta-servlet-api-5.0.2.jar   (EPL-1.0 
OR Apache-2.0)
+    com.github.javaparser.javaparser-core-3.27.0.jar       (LGPL-3.0 OR 
Apache-2.0)
+
+Third-party DTDs, entity sets and schemas in 
org.xmlresolver.xmlresolver-5.3.3-data.jar
+(the xmlresolver code itself is Apache License 2.0):
+    W3C DTDs, entity sets and schemas (XHTML, MathML, SVG, XML Schema, XSLT 
3.0, ISO 8879 and
+    ISO 9573-13 entity sets)           Copyright (c) W3C (MIT, ERCIM, Keio, 
Beihang);
+                                       W3C Software and Document Notice and 
License (below)
+    RDDL DTDs (www.rddl.org)           Copyright (c) 2000-2001 Jonathan 
Borden; permission to use,
+                                       copy, modify and distribute is granted 
provided the copyright
+                                       notice and permission paragraph in each 
file are retained
+    XML Catalogs schemas (xmlcatalogs.org, OASIS)
+    Where a file carries its own notice, that notice remains applicable.
+
+
+#@section quarkus
+5. Java components of the dev deployment Quarkus blank app 
(dev-deployment-quarkus-blank-app-image)
+------------------------------------------------------------------------------------
+
+The Maven dependencies of the blank app (pre-populated in the image's local 
Maven repository
+and on the application's runtime classpath). The components below are NOT 
licensed under
+the Apache License 2.0 alone; all other bundled jars are licensed under the 
Apache License 2.0.
+
+Eclipse Public License - v 2.0 (EPL-2.0)
+    org.eclipse.jdt:ecj:3.44.0                             (Eclipse JDT Core 
compiler)
+  Dual-licensed EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0; used 
under EPL-2.0:
+    jakarta.json:jakarta.json-api:2.1.3
+    jakarta.annotation:jakarta.annotation-api:3.0.0
+    jakarta.resource:jakarta.resource-api:2.1.0
+    jakarta.el:jakarta.el-api:6.0.1
+    jakarta.transaction:jakarta.transaction-api:2.0.1
+    jakarta.interceptor:jakarta.interceptor-api:2.2.0
+    jakarta.authentication:jakarta.authentication-api:3.1.0
+    jakarta.authorization:jakarta.authorization-api:3.0.0
+    jakarta.servlet:jakarta.servlet-api:6.0.0
+    jakarta.ws.rs:jakarta.ws.rs-api:3.1.0
+    org.eclipse.parsson:parsson:1.1.8
+  Dual-licensed EPL-2.0 OR BSD-3-Clause (Eclipse Distribution License); used 
under EDL-1.0:
+    jakarta.persistence:jakarta.persistence-api:3.2.0
+    org.locationtech.jts:jts-core:1.19.0
+
+Mozilla Public License, version 2.0 (MPL-2.0)
+    net.sf.saxon:Saxon-HE:12.10                            
(https://www.saxonica.com/)
+    Source code: https://github.com/Saxonica/Saxon-HE
+    com.h2database:h2:2.4.240                              (MPL-2.0 OR 
EPL-1.0; used under MPL-2.0)
+    Source code: https://github.com/h2database/h2database
+
+GNU General Public License v2 with the Classpath Exception (GPL-2.0-only WITH 
Classpath-exception-2.0)
+    io.smallrye.classfile:jdk-classfile-backport:26
+
+Eclipse Distribution License - v 1.0 (BSD-3-Clause; copyright holder: Eclipse 
Foundation, Inc.)
+    jakarta.activation:jakarta.activation-api:2.1.4
+    jakarta.xml.bind:jakarta.xml.bind-api:4.0.4
+    org.eclipse.angus:angus-activation:2.0.3
+    org.glassfish.jaxb:jaxb-core:4.0.8, jaxb-runtime:4.0.6, txw2:4.0.8
+    com.sun.istack:istack-commons-runtime:4.1.2
+
+BSD-3-Clause License
+    com.google.protobuf:protobuf-java:3.25.5, protobuf-java-util:3.25.5
+    com.thoughtworks.xstream:xstream:1.4.21
+    org.antlr:antlr-runtime:3.5.2, antlr4-runtime:4.13.2
+    org.ow2.asm:asm:9.11.1, asm-tree:9.11.1, asm-analysis:9.11.1, 
asm-util:9.11.1
+    org.jpmml:pmml-model:1.6.4
+
+BSD-2-Clause License
+    org.crac:crac:1.5.0
+
+MIT License
+    ch.obermuhlner:big-math:2.0.1                          Copyright (c) 2017 
Eric Obermühlner
+    org.slf4j:slf4j-api:2.0.17                             Copyright (c) 
2004-2022 QOS.ch
+    com.graphql-java:graphql-java:25.0, graphql-java-extended-scalars:24.0
+    Native Brotli library (https://github.com/google/brotli), bundled in the 
brotli4j native
+    jars com.aayushatharva.brotli4j:native-*:1.23.0 (brotli4j itself is Apache 
License 2.0)
+                                                           Copyright (c) 2009, 
2010, 2013-2016 by the Brotli Authors.
+
+MIT-0 License
+    org.reactivestreams:reactive-streams:1.0.4
+
+Indiana University Extreme! Lab Software License (Apache Software License 1.1 
style)
+    io.github.x-stream:mxparser:1.2.2
+
+Public Domain
+    xmlpull:xmlpull:1.1.3.1
+
+Dual-licensed, used under the Apache License 2.0:
+    io.vertx:vertx-*:4.5.34                                (EPL-2.0 OR 
Apache-2.0; some modules EPL-1.0 OR Apache-2.0)
+    org.eclipse.jetty.toolchain:jetty-jakarta-servlet-api:5.0.2   (EPL-1.0 OR 
Apache-2.0)
+    com.github.javaparser:javaparser-core:3.27.0           (LGPL-3.0 OR 
Apache-2.0)
+
+Third-party DTDs, entity sets and schemas in 
org.xmlresolver:xmlresolver:5.3.3:data
+(the xmlresolver code itself is Apache License 2.0):
+    W3C DTDs, entity sets and schemas (XHTML, MathML, SVG, XML Schema, XSLT 
3.0, ISO 8879 and
+    ISO 9573-13 entity sets)           Copyright (c) W3C (MIT, ERCIM, Keio, 
Beihang);
+                                       W3C Software and Document Notice and 
License (below)
+    RDDL DTDs (www.rddl.org)           Copyright (c) 2000-2001 Jonathan 
Borden; permission to use,
+                                       copy, modify and distribute is granted 
provided the copyright
+                                       notice and permission paragraph in each 
file are retained
+    XML Catalogs schemas (xmlcatalogs.org, OASIS)
+    Where a file carries its own notice, that notice remains applicable.
+
+
+
+#@section *
+------------------------------------------------------------------------------------
+LICENSE TEXTS
+------------------------------------------------------------------------------------
+
+#@section js,drl,ext,quarkus,chrome
+====================================================================================
+MIT License
+
+Permission is hereby granted, free of charge, to any person obtaining a copy 
of this
+software and associated documentation files (the "Software"), to deal in the 
Software
+without restriction, including without limitation the rights to use, copy, 
modify, merge,
+publish, distribute, sublicense, and/or sell copies of the Software, and to 
permit persons
+to whom the Software is furnished to do so, subject to the following 
conditions:
+
+The above copyright notice and this permission notice shall be included in all 
copies or
+substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
IMPLIED,
+INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
+PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 
COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 
ACTION OF
+CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 
SOFTWARE
+OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+(The copyright holder of each MIT-licensed component is listed in the sections 
above.)
+
+#@section chrome
+====================================================================================
+ISC License
+
+Permission to use, copy, modify, and/or distribute this software for any 
purpose with or
+without fee is hereby granted, provided that the above copyright notice and 
this
+permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 
REGARD TO
+THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. 
IN NO
+EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR 
CONSEQUENTIAL
+DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 
WHETHER IN
+AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 
IN
+CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+(The copyright holder of each ISC-licensed component is listed in the section 
above.)
+
+
+
+
+#@section js,drl,ext,quarkus
+====================================================================================
+BSD-3-Clause License (also the Eclipse Distribution License - v 1.0)
+
+Redistribution and use in source and binary forms, with or without 
modification, are
+permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this 
list of
+   conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice, 
this list of
+   conditions and the following disclaimer in the documentation and/or other 
materials
+   provided with the distribution.
+
+3. Neither the name of the copyright holder nor the names of its contributors 
may be used
+   to endorse or promote products derived from this software without specific 
prior
+   written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO 
EVENT SHALL
+THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 
INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
PROCUREMENT
+OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 
OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+(The copyright holder of each BSD-3-Clause component is listed in the sections 
above or
+in the component's own files.)
+
+
+#@section ext,quarkus
+====================================================================================
+BSD-2-Clause License
+
+Redistribution and use in source and binary forms, with or without 
modification, are
+permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this 
list of
+   conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice, 
this list of
+   conditions and the following disclaimer in the documentation and/or other 
materials
+   provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO 
EVENT SHALL
+THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 
INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
PROCUREMENT
+OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 
OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+#@section go
+====================================================================================
+The Go license (BSD-3-Clause), for the Go standard library, runtime, 
golang.org/x/sync,
+golang.org/x/text and spf13/pflag
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+   * Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+   * Redistributions in binary form must reproduce the above
+copyright notice, this list of conditions and the following disclaimer
+in the documentation and/or other materials provided with the
+distribution.
+   * Neither the name of Google LLC (Go standard library) or Google Inc.
+(golang.org/x/sync) nor the names of its
+contributors may be used to endorse or promote products derived from
+this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+#@section ext,quarkus
+====================================================================================
+W3C Software and Document Notice and License
+(applies to the W3C DTDs, entity sets and schemas in xmlresolver-*-data.jar)
+
+Schemas and documents from the W3C are being provided by the copyright
+holders under the following license.
+
+License
+
+By obtaining and/or copying this work, you (the licensee) agree that
+you have read, understood, and will comply with the following terms
+and conditions.
+
+Permission to copy, modify, and distribute this work, with or without
+modification, for any purpose and without fee or royalty is hereby
+granted, provided that you include the following on ALL copies of the
+work or portions thereof, including modifications:
+
+* The full text of this NOTICE in a location viewable to users of the
+  redistributed or derivative work.
+
+* Any pre-existing intellectual property disclaimers, notices, or
+  terms and conditions. If none exist, the W3C Software and Document
+  Short Notice should be included.
+
+* Notice of any changes or modifications, through a copyright
+  statement on the new code or document such as "This software or
+  document includes material copied from or derived from [title and
+  URI of the W3C document]. Copyright © [YEAR] W3C® (MIT, ERCIM, Keio,
+  Beihang)."
+
+Disclaimers
+
+THIS WORK IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO
+REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT
+LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY
+PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENT WILL
+NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER
+RIGHTS.
+
+COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL
+OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR
+DOCUMENT.
+
+The name and trademarks of copyright holders may NOT be used in
+advertising or publicity pertaining to the work without specific,
+written prior permission. Title to copyright in this work will at all
+times remain with copyright holders.
+
+
+#@section js,drl,ext,quarkus
+====================================================================================
+Eclipse Public License - v 2.0 (EPL-2.0)
+(applies to the EPL-2.0 components listed above)
+
+Eclipse Public License - v 2.0
+
+    THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE
+    PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION
+    OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
+
+1. DEFINITIONS
+
+"Contribution" means:
+
+  a) in the case of the initial Contributor, the initial content
+     Distributed under this Agreement, and
+
+  b) in the case of each subsequent Contributor:
+     i) changes to the Program, and
+     ii) additions to the Program;
+  where such changes and/or additions to the Program originate from
+  and are Distributed by that particular Contributor. A Contribution
+  "originates" from a Contributor if it was added to the Program by
+  such Contributor itself or anyone acting on such Contributor's behalf.
+  Contributions do not include changes or additions to the Program that
+  are not Modified Works.
+
+"Contributor" means any person or entity that Distributes the Program.
+
+"Licensed Patents" mean patent claims licensable by a Contributor which
+are necessarily infringed by the use or sale of its Contribution alone
+or when combined with the Program.
+
+"Program" means the Contributions Distributed in accordance with this
+Agreement.
+
+"Recipient" means anyone who receives the Program under this Agreement
+or any Secondary License (as applicable), including Contributors.
+
+"Derivative Works" shall mean any work, whether in Source Code or other
+form, that is based on (or derived from) the Program and for which the
+editorial revisions, annotations, elaborations, or other modifications
+represent, as a whole, an original work of authorship.
+
+"Modified Works" shall mean any work in Source Code or other form that
+results from an addition to, deletion from, or modification of the
+contents of the Program, including, for purposes of clarity any new file
+in Source Code form that contains any contents of the Program. Modified
+Works shall not include works that contain only declarations,
+interfaces, types, classes, structures, or files of the Program solely
+in each case in order to link to, bind by name, or subclass the Program
+or Modified Works thereof.
+
+"Distribute" means the acts of a) distributing or b) making available
+in any manner that enables the transfer of a copy.
+
+"Source Code" means the form of a Program preferred for making
+modifications, including but not limited to software source code,
+documentation source, and configuration files.
+
+"Secondary License" means either the GNU General Public License,
+Version 2.0, or any later versions of that license, including any
+exceptions or additional permissions as identified by the initial
+Contributor.
+
+2. GRANT OF RIGHTS
+
+  a) Subject to the terms of this Agreement, each Contributor hereby
+  grants Recipient a non-exclusive, worldwide, royalty-free copyright
+  license to reproduce, prepare Derivative Works of, publicly display,
+  publicly perform, Distribute and sublicense the Contribution of such
+  Contributor, if any, and such Derivative Works.
+
+  b) Subject to the terms of this Agreement, each Contributor hereby
+  grants Recipient a non-exclusive, worldwide, royalty-free patent
+  license under Licensed Patents to make, use, sell, offer to sell,
+  import and otherwise transfer the Contribution of such Contributor,
+  if any, in Source Code or other form. This patent license shall
+  apply to the combination of the Contribution and the Program if, at
+  the time the Contribution is added by the Contributor, such addition
+  of the Contribution causes such combination to be covered by the
+  Licensed Patents. The patent license shall not apply to any other
+  combinations which include the Contribution. No hardware per se is
+  licensed hereunder.
+
+  c) Recipient understands that although each Contributor grants the
+  licenses to its Contributions set forth herein, no assurances are
+  provided by any Contributor that the Program does not infringe the
+  patent or other intellectual property rights of any other entity.
+  Each Contributor disclaims any liability to Recipient for claims
+  brought by any other entity based on infringement of intellectual
+  property rights or otherwise. As a condition to exercising the
+  rights and licenses granted hereunder, each Recipient hereby
+  assumes sole responsibility to secure any other intellectual
+  property rights needed, if any. For example, if a third party
+  patent license is required to allow Recipient to Distribute the
+  Program, it is Recipient's responsibility to acquire that license
+  before distributing the Program.
+
+  d) Each Contributor represents that to its knowledge it has
+  sufficient copyright rights in its Contribution, if any, to grant
+  the copyright license set forth in this Agreement.
+
+  e) Notwithstanding the terms of any Secondary License, no
+  Contributor makes additional grants to any Recipient (other than
+  those set forth in this Agreement) as a result of such Recipient's
+  receipt of the Program under the terms of a Secondary License
+  (if permitted under the terms of Section 3).
+
+3. REQUIREMENTS
+
+3.1 If a Contributor Distributes the Program in any form, then:
+
+  a) the Program must also be made available as Source Code, in
+  accordance with section 3.2, and the Contributor must accompany
+  the Program with a statement that the Source Code for the Program
+  is available under this Agreement, and informs Recipients how to
+  obtain it in a reasonable manner on or through a medium customarily
+  used for software exchange; and
+
+  b) the Contributor may Distribute the Program under a license
+  different than this Agreement, provided that such license:
+     i) effectively disclaims on behalf of all other Contributors all
+     warranties and conditions, express and implied, including
+     warranties or conditions of title and non-infringement, and
+     implied warranties or conditions of merchantability and fitness
+     for a particular purpose;
+
+     ii) effectively excludes on behalf of all other Contributors all
+     liability for damages, including direct, indirect, special,
+     incidental and consequential damages, such as lost profits;
+
+     iii) does not attempt to limit or alter the recipients' rights
+     in the Source Code under section 3.2; and
+
+     iv) requires any subsequent distribution of the Program by any
+     party to be under a license that satisfies the requirements
+     of this section 3.
+
+3.2 When the Program is Distributed as Source Code:
+
+  a) it must be made available under this Agreement, or if the
+  Program (i) is combined with other material in a separate file or
+  files made available under a Secondary License, and (ii) the initial
+  Contributor attached to the Source Code the notice described in
+  Exhibit A of this Agreement, then the Program may be made available
+  under the terms of such Secondary Licenses, and
+
+  b) a copy of this Agreement must be included with each copy of
+  the Program.
+
+3.3 Contributors may not remove or alter any copyright, patent,
+trademark, attribution notices, disclaimers of warranty, or limitations
+of liability ("notices") contained within the Program from any copy of
+the Program which they Distribute, provided that Contributors may add
+their own appropriate notices.
+
+4. COMMERCIAL DISTRIBUTION
+
+Commercial distributors of software may accept certain responsibilities
+with respect to end users, business partners and the like. While this
+license is intended to facilitate the commercial use of the Program,
+the Contributor who includes the Program in a commercial product
+offering should do so in a manner which does not create potential
+liability for other Contributors. Therefore, if a Contributor includes
+the Program in a commercial product offering, such Contributor
+("Commercial Contributor") hereby agrees to defend and indemnify every
+other Contributor ("Indemnified Contributor") against any losses,
+damages and costs (collectively "Losses") arising from claims, lawsuits
+and other legal actions brought by a third party against the Indemnified
+Contributor to the extent caused by the acts or omissions of such
+Commercial Contributor in connection with its distribution of the Program
+in a commercial product offering. The obligations in this section do not
+apply to any claims or Losses relating to any actual or alleged
+intellectual property infringement. In order to qualify, an Indemnified
+Contributor must: a) promptly notify the Commercial Contributor in
+writing of such claim, and b) allow the Commercial Contributor to control,
+and cooperate with the Commercial Contributor in, the defense and any
+related settlement negotiations. The Indemnified Contributor may
+participate in any such claim at its own expense.
+
+For example, a Contributor might include the Program in a commercial
+product offering, Product X. That Contributor is then a Commercial
+Contributor. If that Commercial Contributor then makes performance
+claims, or offers warranties related to Product X, those performance
+claims and warranties are such Commercial Contributor's responsibility
+alone. Under this section, the Commercial Contributor would have to
+defend claims against the other Contributors related to those performance
+claims and warranties, and if a court requires any other Contributor to
+pay any damages as a result, the Commercial Contributor must pay
+those damages.
+
+5. NO WARRANTY
+
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT
+PERMITTED BY APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN "AS IS"
+BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
+IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF
+TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR
+PURPOSE. Each Recipient is solely responsible for determining the
+appropriateness of using and distributing the Program and assumes all
+risks associated with its exercise of rights under this Agreement,
+including but not limited to the risks and costs of program errors,
+compliance with applicable laws, damage to or loss of data, programs
+or equipment, and unavailability or interruption of operations.
+
+6. DISCLAIMER OF LIABILITY
+
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT
+PERMITTED BY APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS
+SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST
+PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE
+EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+7. GENERAL
+
+If any provision of this Agreement is invalid or unenforceable under
+applicable law, it shall not affect the validity or enforceability of
+the remainder of the terms of this Agreement, and without further
+action by the parties hereto, such provision shall be reformed to the
+minimum extent necessary to make such provision valid and enforceable.
+
+If Recipient institutes patent litigation against any entity
+(including a cross-claim or counterclaim in a lawsuit) alleging that the
+Program itself (excluding combinations of the Program with other software
+or hardware) infringes such Recipient's patent(s), then such Recipient's
+rights granted under Section 2(b) shall terminate as of the date such
+litigation is filed.
+
+All Recipient's rights under this Agreement shall terminate if it
+fails to comply with any of the material terms or conditions of this
+Agreement and does not cure such failure in a reasonable period of
+time after becoming aware of such noncompliance. If all Recipient's
+rights under this Agreement terminate, Recipient agrees to cease use
+and distribution of the Program as soon as reasonably practicable.
+However, Recipient's obligations under this Agreement and any licenses
+granted by Recipient relating to the Program shall continue and survive.
+
+Everyone is permitted to copy and distribute copies of this Agreement,
+but in order to avoid inconsistency the Agreement is copyrighted and
+may only be modified in the following manner. The Agreement Steward
+reserves the right to publish new versions (including revisions) of
+this Agreement from time to time. No one other than the Agreement
+Steward has the right to modify this Agreement. The Eclipse Foundation
+is the initial Agreement Steward. The Eclipse Foundation may assign the
+responsibility to serve as the Agreement Steward to a suitable separate
+entity. Each new version of the Agreement will be given a distinguishing
+version number. The Program (including Contributions) may always be
+Distributed subject to the version of the Agreement under which it was
+received. In addition, after a new version of the Agreement is published,
+Contributor may elect to Distribute the Program (including its
+Contributions) under the new version.
+
+Except as expressly stated in Sections 2(a) and 2(b) above, Recipient
+receives no rights or licenses to the intellectual property of any
+Contributor under this Agreement, whether expressly, by implication,
+estoppel or otherwise. All rights in the Program not expressly granted
+under this Agreement are reserved. Nothing in this Agreement is intended
+to be enforceable by any entity that is not a Contributor or Recipient.
+No third-party beneficiary rights are created under this Agreement.
+
+Exhibit A - Form of Secondary Licenses Notice
+
+"This Source Code may also be made available under the following 
+Secondary Licenses when the conditions for such availability set forth 
+in the Eclipse Public License, v. 2.0 are satisfied: {name license(s),
+version(s), and exceptions or additional permissions here}."
+
+  Simply including a copy of this Agreement, including this Exhibit A
+  is not sufficient to license the Source Code under Secondary Licenses.
+
+  If it is not possible or desirable to put the notice in a particular
+  file, then You may include the notice in a location (such as a LICENSE
+  file in a relevant directory) where a recipient would be likely to
+  look for such a notice.
+
+  You may add additional accurate notices of copyright ownership.
+
+
+#@section ext,quarkus
+====================================================================================
+Mozilla Public License Version 2.0 (MPL-2.0)
+(Saxon-HE; source code: https://github.com/Saxonica/Saxon-HE)
+
+Mozilla Public License Version 2.0
+==================================
+
+1. Definitions
+--------------
+
+1.1. "Contributor"
+    means each individual or legal entity that creates, contributes to
+    the creation of, or owns Covered Software.
+
+1.2. "Contributor Version"
+    means the combination of the Contributions of others (if any) used
+    by a Contributor and that particular Contributor's Contribution.
+
+1.3. "Contribution"
+    means Covered Software of a particular Contributor.
+
+1.4. "Covered Software"
+    means Source Code Form to which the initial Contributor has attached
+    the notice in Exhibit A, the Executable Form of such Source Code
+    Form, and Modifications of such Source Code Form, in each case
+    including portions thereof.
+
+1.5. "Incompatible With Secondary Licenses"
+    means
+
+    (a) that the initial Contributor has attached the notice described
+        in Exhibit B to the Covered Software; or
+
+    (b) that the Covered Software was made available under the terms of
+        version 1.1 or earlier of the License, but not also under the
+        terms of a Secondary License.
+
+1.6. "Executable Form"
+    means any form of the work other than Source Code Form.
+
+1.7. "Larger Work"
+    means a work that combines Covered Software with other material, in 
+    a separate file or files, that is not Covered Software.
+
+1.8. "License"
+    means this document.
+
+1.9. "Licensable"
+    means having the right to grant, to the maximum extent possible,
+    whether at the time of the initial grant or subsequently, any and
+    all of the rights conveyed by this License.
+
+1.10. "Modifications"
+    means any of the following:
+
+    (a) any file in Source Code Form that results from an addition to,
+        deletion from, or modification of the contents of Covered
+        Software; or
+
+    (b) any new file in Source Code Form that contains any Covered
+        Software.
+
+1.11. "Patent Claims" of a Contributor
+    means any patent claim(s), including without limitation, method,
+    process, and apparatus claims, in any patent Licensable by such
+    Contributor that would be infringed, but for the grant of the
+    License, by the making, using, selling, offering for sale, having
+    made, import, or transfer of either its Contributions or its
+    Contributor Version.
+
+1.12. "Secondary License"
+    means either the GNU General Public License, Version 2.0, the GNU
+    Lesser General Public License, Version 2.1, the GNU Affero General
+    Public License, Version 3.0, or any later versions of those
+    licenses.
+
+1.13. "Source Code Form"
+    means the form of the work preferred for making modifications.
+
+1.14. "You" (or "Your")
+    means an individual or a legal entity exercising rights under this
+    License. For legal entities, "You" includes any entity that
+    controls, is controlled by, or is under common control with You. For
+    purposes of this definition, "control" means (a) the power, direct
+    or indirect, to cause the direction or management of such entity,
+    whether by contract or otherwise, or (b) ownership of more than
+    fifty percent (50%) of the outstanding shares or beneficial
+    ownership of such entity.
+
+2. License Grants and Conditions
+--------------------------------
+
+2.1. Grants
+
+Each Contributor hereby grants You a world-wide, royalty-free,
+non-exclusive license:
+
+(a) under intellectual property rights (other than patent or trademark)
+    Licensable by such Contributor to use, reproduce, make available,
+    modify, display, perform, distribute, and otherwise exploit its
+    Contributions, either on an unmodified basis, with Modifications, or
+    as part of a Larger Work; and
+
+(b) under Patent Claims of such Contributor to make, use, sell, offer
+    for sale, have made, import, and otherwise transfer either its
+    Contributions or its Contributor Version.
+
+2.2. Effective Date
+
+The licenses granted in Section 2.1 with respect to any Contribution
+become effective for each Contribution on the date the Contributor first
+distributes such Contribution.
+
+2.3. Limitations on Grant Scope
+
+The licenses granted in this Section 2 are the only rights granted under
+this License. No additional rights or licenses will be implied from the
+distribution or licensing of Covered Software under this License.
+Notwithstanding Section 2.1(b) above, no patent license is granted by a
+Contributor:
+
+(a) for any code that a Contributor has removed from Covered Software;
+    or
+
+(b) for infringements caused by: (i) Your and any other third party's
+    modifications of Covered Software, or (ii) the combination of its
+    Contributions with other software (except as part of its Contributor
+    Version); or
+
+(c) under Patent Claims infringed by Covered Software in the absence of
+    its Contributions.
+
+This License does not grant any rights in the trademarks, service marks,
+or logos of any Contributor (except as may be necessary to comply with
+the notice requirements in Section 3.4).
+
+2.4. Subsequent Licenses
+
+No Contributor makes additional grants as a result of Your choice to
+distribute the Covered Software under a subsequent version of this
+License (see Section 10.2) or under the terms of a Secondary License (if
+permitted under the terms of Section 3.3).
+
+2.5. Representation
+
+Each Contributor represents that the Contributor believes its
+Contributions are its original creation(s) or it has sufficient rights
+to grant the rights to its Contributions conveyed by this License.
+
+2.6. Fair Use
+
+This License is not intended to limit any rights You have under
+applicable copyright doctrines of fair use, fair dealing, or other
+equivalents.
+
+2.7. Conditions
+
+Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
+in Section 2.1.
+
+3. Responsibilities
+-------------------
+
+3.1. Distribution of Source Form
+
+All distribution of Covered Software in Source Code Form, including any
+Modifications that You create or to which You contribute, must be under
+the terms of this License. You must inform recipients that the Source
+Code Form of the Covered Software is governed by the terms of this
+License, and how they can obtain a copy of this License. You may not
+attempt to alter or restrict the recipients' rights in the Source Code
+Form.
+
+3.2. Distribution of Executable Form
+
+If You distribute Covered Software in Executable Form then:
+
+(a) such Covered Software must also be made available in Source Code
+    Form, as described in Section 3.1, and You must inform recipients of
+    the Executable Form how they can obtain a copy of such Source Code
+    Form by reasonable means in a timely manner, at a charge no more
+    than the cost of distribution to the recipient; and
+
+(b) You may distribute such Executable Form under the terms of this
+    License, or sublicense it under different terms, provided that the
+    license for the Executable Form does not attempt to limit or alter
+    the recipients' rights in the Source Code Form under this License.
+
+3.3. Distribution of a Larger Work
+
+You may create and distribute a Larger Work under terms of Your choice,
+provided that You also comply with the requirements of this License for
+the Covered Software. If the Larger Work is a combination of Covered
+Software with a work governed by one or more Secondary Licenses, and the
+Covered Software is not Incompatible With Secondary Licenses, this
+License permits You to additionally distribute such Covered Software
+under the terms of such Secondary License(s), so that the recipient of
+the Larger Work may, at their option, further distribute the Covered
+Software under the terms of either this License or such Secondary
+License(s).
+
+3.4. Notices
+
+You may not remove or alter the substance of any license notices
+(including copyright notices, patent notices, disclaimers of warranty,
+or limitations of liability) contained within the Source Code Form of
+the Covered Software, except that You may alter any license notices to
+the extent required to remedy known factual inaccuracies.
+
+3.5. Application of Additional Terms
+
+You may choose to offer, and to charge a fee for, warranty, support,
+indemnity or liability obligations to one or more recipients of Covered
+Software. However, You may do so only on Your own behalf, and not on
+behalf of any Contributor. You must make it absolutely clear that any
+such warranty, support, indemnity, or liability obligation is offered by
+You alone, and You hereby agree to indemnify every Contributor for any
+liability incurred by such Contributor as a result of warranty, support,
+indemnity or liability terms You offer. You may include additional
+disclaimers of warranty and limitations of liability specific to any
+jurisdiction.
+
+4. Inability to Comply Due to Statute or Regulation
+---------------------------------------------------
+
+If it is impossible for You to comply with any of the terms of this
+License with respect to some or all of the Covered Software due to
+statute, judicial order, or regulation then You must: (a) comply with
+the terms of this License to the maximum extent possible; and (b)
+describe the limitations and the code they affect. Such description must
+be placed in a text file included with all distributions of the Covered
+Software under this License. Except to the extent prohibited by statute
+or regulation, such description must be sufficiently detailed for a
+recipient of ordinary skill to be able to understand it.
+
+5. Termination
+--------------
+
+5.1. The rights granted under this License will terminate automatically
+if You fail to comply with any of its terms. However, if You become
+compliant, then the rights granted under this License from a particular
+Contributor are reinstated (a) provisionally, unless and until such
+Contributor explicitly and finally terminates Your grants, and (b) on an
+ongoing basis, if such Contributor fails to notify You of the
+non-compliance by some reasonable means prior to 60 days after You have
+come back into compliance. Moreover, Your grants from a particular
+Contributor are reinstated on an ongoing basis if such Contributor
+notifies You of the non-compliance by some reasonable means, this is the
+first time You have received notice of non-compliance with this License
+from such Contributor, and You become compliant prior to 30 days after
+Your receipt of the notice.
+
+5.2. If You initiate litigation against any entity by asserting a patent
+infringement claim (excluding declaratory judgment actions,
+counter-claims, and cross-claims) alleging that a Contributor Version
+directly or indirectly infringes any patent, then the rights granted to
+You by any and all Contributors for the Covered Software under Section
+2.1 of this License shall terminate.
+
+5.3. In the event of termination under Sections 5.1 or 5.2 above, all
+end user license agreements (excluding distributors and resellers) which
+have been validly granted by You or Your distributors under this License
+prior to termination shall survive termination.
+
+************************************************************************
+*                                                                      *
+*  6. Disclaimer of Warranty                                           *
+*  -------------------------                                           *
+*                                                                      *
+*  Covered Software is provided under this License on an "as is"       *
+*  basis, without warranty of any kind, either expressed, implied, or  *
+*  statutory, including, without limitation, warranties that the       *
+*  Covered Software is free of defects, merchantable, fit for a        *
+*  particular purpose or non-infringing. The entire risk as to the     *
+*  quality and performance of the Covered Software is with You.        *
+*  Should any Covered Software prove defective in any respect, You     *
+*  (not any Contributor) assume the cost of any necessary servicing,   *
+*  repair, or correction. This disclaimer of warranty constitutes an   *
+*  essential part of this License. No use of any Covered Software is   *
+*  authorized under this License except under this disclaimer.         *
+*                                                                      *
+************************************************************************
+
+************************************************************************
+*                                                                      *
+*  7. Limitation of Liability                                          *
+*  --------------------------                                          *
+*                                                                      *
+*  Under no circumstances and under no legal theory, whether tort      *
+*  (including negligence), contract, or otherwise, shall any           *
+*  Contributor, or anyone who distributes Covered Software as          *
+*  permitted above, be liable to You for any direct, indirect,         *
+*  special, incidental, or consequential damages of any character      *
+*  including, without limitation, damages for lost profits, loss of    *
+*  goodwill, work stoppage, computer failure or malfunction, or any    *
+*  and all other commercial damages or losses, even if such party      *
+*  shall have been informed of the possibility of such damages. This   *
+*  limitation of liability shall not apply to liability for death or   *
+*  personal injury resulting from such party's negligence to the       *
+*  extent applicable law prohibits such limitation. Some               *
+*  jurisdictions do not allow the exclusion or limitation of           *
+*  incidental or consequential damages, so this exclusion and          *
+*  limitation may not apply to You.                                    *
+*                                                                      *
+************************************************************************
+
+8. Litigation
+-------------
+
+Any litigation relating to this License may be brought only in the
+courts of a jurisdiction where the defendant maintains its principal
+place of business and such litigation shall be governed by laws of that
+jurisdiction, without reference to its conflict-of-law provisions.
+Nothing in this Section shall prevent a party's ability to bring
+cross-claims or counter-claims.
+
+9. Miscellaneous
+----------------
+
+This License represents the complete agreement concerning the subject
+matter hereof. If any provision of this License is held to be
+unenforceable, such provision shall be reformed only to the extent
+necessary to make it enforceable. Any law or regulation which provides
+that the language of a contract shall be construed against the drafter
+shall not be used to construe this License against a Contributor.
+
+10. Versions of the License
+---------------------------
+
+10.1. New Versions
+
+Mozilla Foundation is the license steward. Except as provided in Section
+10.3, no one other than the license steward has the right to modify or
+publish new versions of this License. Each version will be given a
+distinguishing version number.
+
+10.2. Effect of New Versions
+
+You may distribute the Covered Software under the terms of the version
+of the License under which You originally received the Covered Software,
+or under the terms of any subsequent version published by the license
+steward.
+
+10.3. Modified Versions
+
+If you create software not governed by this License, and you want to
+create a new license for such software, you may create and use a
+modified version of this License if you rename the license and remove
+any references to the name of the license steward (except to note that
+such modified license differs from this License).
+
+10.4. Distributing Source Code Form that is Incompatible With Secondary
+Licenses
+
+If You choose to distribute Source Code Form that is Incompatible With
+Secondary Licenses under the terms of this version of the License, the
+notice described in Exhibit B of this License must be attached.
+
+Exhibit A - Source Code Form License Notice
+-------------------------------------------
+
+  This Source Code Form is subject to the terms of the Mozilla Public
+  License, v. 2.0. If a copy of the MPL was not distributed with this
+  file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+If it is not possible or desirable to put the notice in a particular
+file, then You may include the notice in a location (such as a LICENSE
+file in a relevant directory) where a recipient would be likely to look
+for such a notice.
+
+You may add additional accurate notices of copyright ownership.
+
+Exhibit B - "Incompatible With Secondary Licenses" Notice
+---------------------------------------------------------
+
+  This Source Code Form is "Incompatible With Secondary Licenses", as
+  defined by the Mozilla Public License, v. 2.0.
+
+
+#@section ext,quarkus
+====================================================================================
+MIT No Attribution (MIT-0)
+(applies to org.reactivestreams.reactive-streams; copyright is held by its 
authors)
+
+
+Permission is hereby granted, free of charge, to any person obtaining a copy 
of this
+software and associated documentation files (the "Software"), to deal in the 
Software
+without restriction, including without limitation the rights to use, copy, 
modify,
+merge, publish, distribute, sublicense, and/or sell copies of the Software, 
and to
+permit persons to whom the Software is furnished to do so.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
IMPLIED,
+INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
+PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 
COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 
ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+#@section ext,quarkus
+====================================================================================
+Indiana University Extreme! Lab Software License
+(applies to io.github.x-stream.mxparser)
+
+LICENSE FOR THE Extreme! Lab PullParser
+
+Copyright (c) 2002 The Trustees of Indiana University. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without 
modification, are permitted provided that the following conditions are met:
+
+1) All redistributions of source code must retain the above copyright notice, 
the list of authors in the original source code, this list of conditions and 
the disclaimer listed in this license;
+
+2) All redistributions in binary form must reproduce the above copyright 
notice, this list of conditions and the disclaimer listed in this license in 
the documentation and/or other materials provided with the distribution;
+
+3) Any documentation included with all redistributions must include the 
following acknowledgement:
+
+     "This product includes software developed by the Indiana University 
Extreme! Lab. For further information please visit 
http://www.extreme.indiana.edu/";
+
+Alternatively, this acknowledgment may appear in the software itself, and 
wherever such third-party acknowledgments normally appear.
+
+4) The name "Indiana Univeristy" and "Indiana Univeristy Extreme! Lab" shall 
not be used to endorse or promote products derived from this software without 
prior written permission from Indiana University. For written permission, 
please contact http://www.extreme.indiana.edu/.
+
+5) Products derived from this software may not use "Indiana Univeristy" name 
nor may "Indiana Univeristy" appear in their name, without prior written 
permission of the Indiana University. Indiana University provides no 
reassurances that the source code provided does not infringe the patent or any 
other intellectual property rights of any other entity. Indiana University 
disclaims any liability to any recipient for claims brought by any other entity 
based on infringement of intellectual p [...]
+
+LICENSEE UNDERSTANDS THAT SOFTWARE IS PROVIDED "AS IS" FOR WHICH NO WARRANTIES 
AS TO CAPABILITIES OR ACCURACY ARE MADE. INDIANA UNIVERSITY GIVES NO WARRANTIES 
AND MAKES NO REPRESENTATION THAT SOFTWARE IS FREE OF INFRINGEMENT OF THIRD 
PARTY PATENT, COPYRIGHT, OR OTHER PROPRIETARY RIGHTS. INDIANA UNIVERSITY MAKES 
NO WARRANTIES THAT SOFTWARE IS FREE FROM "BUGS", "VIRUSES", "TROJAN HORSES", 
"TRAP DOORS", "WORMS", OR OTHER HARMFUL CODE. LICENSEE ASSUMES THE ENTIRE RISK 
AS TO THE PERFORMANCE O [...]
+
+
+#@section ext,quarkus
+====================================================================================
+Eclipse Public License - v 1.0 (EPL-1.0)
+(applies to org.eclipse.jetty.toolchain.jetty-jakarta-servlet-api, used under 
the Apache License 2.0)
+
+THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC 
LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM 
CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
+
+1. DEFINITIONS
+
+"Contribution" means:
+     a) in the case of the initial Contributor, the initial code and 
documentation distributed under this Agreement, and
+     b) in the case of each subsequent Contributor:
+          i) changes to the Program, and
+          ii) additions to the Program;
+
+where such changes and/or additions to the Program originate from and are 
distributed by that particular Contributor. A Contribution 'originates' from a 
Contributor if it was added to the Program by such Contributor itself or anyone 
acting on such Contributor's behalf. Contributions do not include additions to 
the Program which: (i) are separate modules of software distributed in 
conjunction with the Program under their own license agreement, and (ii) are 
not derivative works of the Program.
+"Contributor" means any person or entity that distributes the Program.
+
+"Licensed Patents" mean patent claims licensable by a Contributor which are 
necessarily infringed by the use or sale of its Contribution alone or when 
combined with the Program.
+
+"Program" means the Contributions distributed in accordance with this 
Agreement.
+
+"Recipient" means anyone who receives the Program under this Agreement, 
including all Contributors.
+
+2. GRANT OF RIGHTS
+
+     a) Subject to the terms of this Agreement, each Contributor hereby grants 
Recipient a non-exclusive, worldwide, royalty-free copyright license to 
reproduce, prepare derivative works of, publicly display, publicly perform, 
distribute and sublicense the Contribution of such Contributor, if any, and 
such derivative works, in source code and object code form.
+
+     b) Subject to the terms of this Agreement, each Contributor hereby grants 
Recipient a non-exclusive, worldwide, royalty-free patent license under 
Licensed Patents to make, use, sell, offer to sell, import and otherwise 
transfer the Contribution of such Contributor, if any, in source code and 
object code form. This patent license shall apply to the combination of the 
Contribution and the Program if, at the time the Contribution is added by the 
Contributor, such addition of the Contri [...]
+
+     c) Recipient understands that although each Contributor grants the 
licenses to its Contributions set forth herein, no assurances are provided by 
any Contributor that the Program does not infringe the patent or other 
intellectual property rights of any other entity. Each Contributor disclaims 
any liability to Recipient for claims brought by any other entity based on 
infringement of intellectual property rights or otherwise. As a condition to 
exercising the rights and licenses granted [...]
+
+     d) Each Contributor represents that to its knowledge it has sufficient 
copyright rights in its Contribution, if any, to grant the copyright license 
set forth in this Agreement.
+
+3. REQUIREMENTS
+A Contributor may choose to distribute the Program in object code form under 
its own license agreement, provided that:
+
+     a) it complies with the terms and conditions of this Agreement; and
+
+     b) its license agreement:
+          i) effectively disclaims on behalf of all Contributors all 
warranties and conditions, express and implied, including warranties or 
conditions of title and non-infringement, and implied warranties or conditions 
of merchantability and fitness for a particular purpose;
+          ii) effectively excludes on behalf of all Contributors all liability 
for damages, including direct, indirect, special, incidental and consequential 
damages, such as lost profits;
+          iii) states that any provisions which differ from this Agreement are 
offered by that Contributor alone and not by any other party; and
+          iv) states that source code for the Program is available from such 
Contributor, and informs licensees how to obtain it in a reasonable manner on 
or through a medium customarily used for software exchange.
+
+When the Program is made available in source code form:
+
+     a) it must be made available under this Agreement; and
+
+     b) a copy of this Agreement must be included with each copy of the 
Program.
+Contributors may not remove or alter any copyright notices contained within 
the Program.
+
+Each Contributor must identify itself as the originator of its Contribution, 
if any, in a manner that reasonably allows subsequent Recipients to identify 
the originator of the Contribution.
+
+4. COMMERCIAL DISTRIBUTION
+Commercial distributors of software may accept certain responsibilities with 
respect to end users, business partners and the like. While this license is 
intended to facilitate the commercial use of the Program, the Contributor who 
includes the Program in a commercial product offering should do so in a manner 
which does not create potential liability for other Contributors. Therefore, if 
a Contributor includes the Program in a commercial product offering, such 
Contributor ("Commercial Con [...]
+
+For example, a Contributor might include the Program in a commercial product 
offering, Product X. That Contributor is then a Commercial Contributor. If that 
Commercial Contributor then makes performance claims, or offers warranties 
related to Product X, those performance claims and warranties are such 
Commercial Contributor's responsibility alone. Under this section, the 
Commercial Contributor would have to defend claims against the other 
Contributors related to those performance claims  [...]
+
+5. NO WARRANTY
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN 
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR 
IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, 
NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each 
Recipient is solely responsible for determining the appropriateness of using 
and distributing the Program and assumes all risks associated with its exercise 
of rights under this Ag [...]
+
+6. DISCLAIMER OF LIABILITY
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY 
CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST 
PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 
WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS 
GRANTED HEREUNDER, EVEN IF [...]
+
+7. GENERAL
+
+If any provision of this Agreement is invalid or unenforceable under 
applicable law, it shall not affect the validity or enforceability of the 
remainder of the terms of this Agreement, and without further action by the 
parties hereto, such provision shall be reformed to the minimum extent 
necessary to make such provision valid and enforceable.
+
+If Recipient institutes patent litigation against any entity (including a 
cross-claim or counterclaim in a lawsuit) alleging that the Program itself 
(excluding combinations of the Program with other software or hardware) 
infringes such Recipient's patent(s), then such Recipient's rights granted 
under Section 2(b) shall terminate as of the date such litigation is filed.
+
+All Recipient's rights under this Agreement shall terminate if it fails to 
comply with any of the material terms or conditions of this Agreement and does 
not cure such failure in a reasonable period of time after becoming aware of 
such noncompliance. If all Recipient's rights under this Agreement terminate, 
Recipient agrees to cease use and distribution of the Program as soon as 
reasonably practicable. However, Recipient's obligations under this Agreement 
and any licenses granted by Reci [...]
+
+Everyone is permitted to copy and distribute copies of this Agreement, but in 
order to avoid inconsistency the Agreement is copyrighted and may only be 
modified in the following manner. The Agreement Steward reserves the right to 
publish new versions (including revisions) of this Agreement from time to time. 
No one other than the Agreement Steward has the right to modify this Agreement. 
The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation 
may assign the respons [...]
+
+This Agreement is governed by the laws of the State of New York and the 
intellectual property laws of the United States of America. No party to this 
Agreement will bring a legal action under this Agreement more than one year 
after the cause of action arose. Each party waives its rights to a jury trial 
in any resulting litigation.
+
+
+#@section ext,quarkus
+====================================================================================
+GNU General Public License, version 2 (GPL-2.0-only) with the Classpath 
Exception
+(applies to io.smallrye.classfile.jdk-classfile-backport)
+
+GNU GENERAL PUBLIC LICENSE
+Version 2, June 1991
+
+Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
+
+Everyone is permitted to copy and distribute verbatim copies of this license 
document, but changing it is not allowed.
+
+Preamble
+
+The licenses for most software are designed to take away your freedom to share 
and change it. By contrast, the GNU General Public License is intended to 
guarantee your freedom to share and change free software--to make sure the 
software is free for all its users. This General Public License applies to most 
of the Free Software Foundation's software and to any other program whose 
authors commit to using it. (Some other Free Software Foundation software is 
covered by the GNU Lesser General [...]
+
+When we speak of free software, we are referring to freedom, not price. Our 
General Public Licenses are designed to make sure that you have the freedom to 
distribute copies of free software (and charge for this service if you wish), 
that you receive source code or can get it if you want it, that you can change 
the software or use pieces of it in new free programs; and that you know you 
can do these things.
+
+To protect your rights, we need to make restrictions that forbid anyone to 
deny you these rights or to ask you to surrender the rights. These restrictions 
translate to certain responsibilities for you if you distribute copies of the 
software, or if you modify it.
+
+For example, if you distribute copies of such a program, whether gratis or for 
a fee, you must give the recipients all the rights that you have. You must make 
sure that they, too, receive or can get the source code. And you must show them 
these terms so they know their rights.
+
+We protect your rights with two steps: (1) copyright the software, and (2) 
offer you this license which gives you legal permission to copy, distribute 
and/or modify the software.
+
+Also, for each author's protection and ours, we want to make certain that 
everyone understands that there is no warranty for this free software. If the 
software is modified by someone else and passed on, we want its recipients to 
know that what they have is not the original, so that any problems introduced 
by others will not reflect on the original authors' reputations.
+
+Finally, any free program is threatened constantly by software patents. We 
wish to avoid the danger that redistributors of a free program will 
individually obtain patent licenses, in effect making the program proprietary. 
To prevent this, we have made it clear that any patent must be licensed for 
everyone's free use or not licensed at all.
+
+The precise terms and conditions for copying, distribution and modification 
follow.
+
+TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+0. This License applies to any program or other work which contains a notice 
placed by the copyright holder saying it may be distributed under the terms of 
this General Public License. The "Program", below, refers to any such program 
or work, and a "work based on the Program" means either the Program or any 
derivative work under copyright law: that is to say, a work containing the 
Program or a portion of it, either verbatim or with modifications and/or 
translated into another language. ( [...]
+
+Activities other than copying, distribution and modification are not covered 
by this License; they are outside its scope. The act of running the Program is 
not restricted, and the output from the Program is covered only if its contents 
constitute a work based on the Program (independent of having been made by 
running the Program). Whether that is true depends on what the Program does.
+
+1. You may copy and distribute verbatim copies of the Program's source code as 
you receive it, in any medium, provided that you conspicuously and 
appropriately publish on each copy an appropriate copyright notice and 
disclaimer of warranty; keep intact all the notices that refer to this License 
and to the absence of any warranty; and give any other recipients of the 
Program a copy of this License along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and you may 
at your option offer warranty protection in exchange for a fee.
+
+2. You may modify your copy or copies of the Program or any portion of it, 
thus forming a work based on the Program, and copy and distribute such 
modifications or work under the terms of Section 1 above, provided that you 
also meet all of these conditions:
+
+     a) You must cause the modified files to carry prominent notices stating 
that you changed the files and the date of any change.
+
+     b) You must cause any work that you distribute or publish, that in whole 
or in part contains or is derived from the Program or any part thereof, to be 
licensed as a whole at no charge to all third parties under the terms of this 
License.
+
+     c) If the modified program normally reads commands interactively when 
run, you must cause it, when started running for such interactive use in the 
most ordinary way, to print or display an announcement including an appropriate 
copyright notice and a notice that there is no warranty (or else, saying that 
you provide a warranty) and that users may redistribute the program under these 
conditions, and telling the user how to view a copy of this License. 
(Exception: if the Program itself [...]
+
+These requirements apply to the modified work as a whole. If identifiable 
sections of that work are not derived from the Program, and can be reasonably 
considered independent and separate works in themselves, then this License, and 
its terms, do not apply to those sections when you distribute them as separate 
works. But when you distribute the same sections as part of a whole which is a 
work based on the Program, the distribution of the whole must be on the terms 
of this License, whose p [...]
+
+Thus, it is not the intent of this section to claim rights or contest your 
rights to work written entirely by you; rather, the intent is to exercise the 
right to control the distribution of derivative or collective works based on 
the Program.
+
+In addition, mere aggregation of another work not based on the Program with 
the Program (or with a work based on the Program) on a volume of a storage or 
distribution medium does not bring the other work under the scope of this 
License.
+
+3. You may copy and distribute the Program (or a work based on it, under 
Section 2) in object code or executable form under the terms of Sections 1 and 
2 above provided that you also do one of the following:
+
+     a) Accompany it with the complete corresponding machine-readable source 
code, which must be distributed under the terms of Sections 1 and 2 above on a 
medium customarily used for software interchange; or,
+
+     b) Accompany it with a written offer, valid for at least three years, to 
give any third party, for a charge no more than your cost of physically 
performing source distribution, a complete machine-readable copy of the 
corresponding source code, to be distributed under the terms of Sections 1 and 
2 above on a medium customarily used for software interchange; or,
+
+     c) Accompany it with the information you received as to the offer to 
distribute corresponding source code. (This alternative is allowed only for 
noncommercial distribution and only if you received the program in object code 
or executable form with such an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for making 
modifications to it. For an executable work, complete source code means all the 
source code for all modules it contains, plus any associated interface 
definition files, plus the scripts used to control compilation and installation 
of the executable. However, as a special exception, the source code distributed 
need not include anything that is normally distributed (in either source or 
binary form) with the major co [...]
+
+If distribution of executable or object code is made by offering access to 
copy from a designated place, then offering equivalent access to copy the 
source code from the same place counts as distribution of the source code, even 
though third parties are not compelled to copy the source along with the object 
code.
+
+4. You may not copy, modify, sublicense, or distribute the Program except as 
expressly provided under this License. Any attempt otherwise to copy, modify, 
sublicense or distribute the Program is void, and will automatically terminate 
your rights under this License. However, parties who have received copies, or 
rights, from you under this License will not have their licenses terminated so 
long as such parties remain in full compliance.
+
+5. You are not required to accept this License, since you have not signed it. 
However, nothing else grants you permission to modify or distribute the Program 
or its derivative works. These actions are prohibited by law if you do not 
accept this License. Therefore, by modifying or distributing the Program (or 
any work based on the Program), you indicate your acceptance of this License to 
do so, and all its terms and conditions for copying, distributing or modifying 
the Program or works ba [...]
+
+6. Each time you redistribute the Program (or any work based on the Program), 
the recipient automatically receives a license from the original licensor to 
copy, distribute or modify the Program subject to these terms and conditions. 
You may not impose any further restrictions on the recipients' exercise of the 
rights granted herein. You are not responsible for enforcing compliance by 
third parties to this License.
+
+7. If, as a consequence of a court judgment or allegation of patent 
infringement or for any other reason (not limited to patent issues), conditions 
are imposed on you (whether by court order, agreement or otherwise) that 
contradict the conditions of this License, they do not excuse you from the 
conditions of this License. If you cannot distribute so as to satisfy 
simultaneously your obligations under this License and any other pertinent 
obligations, then as a consequence you may not dist [...]
+
+If any portion of this section is held invalid or unenforceable under any 
particular circumstance, the balance of the section is intended to apply and 
the section as a whole is intended to apply in other circumstances.
+
+It is not the purpose of this section to induce you to infringe any patents or 
other property right claims or to contest validity of any such claims; this 
section has the sole purpose of protecting the integrity of the free software 
distribution system, which is implemented by public license practices. Many 
people have made generous contributions to the wide range of software 
distributed through that system in reliance on consistent application of that 
system; it is up to the author/dono [...]
+
+This section is intended to make thoroughly clear what is believed to be a 
consequence of the rest of this License.
+
+8. If the distribution and/or use of the Program is restricted in certain 
countries either by patents or by copyrighted interfaces, the original 
copyright holder who places the Program under this License may add an explicit 
geographical distribution limitation excluding those countries, so that 
distribution is permitted only in or among countries not thus excluded. In such 
case, this License incorporates the limitation as if written in the body of 
this License.
+
+9. The Free Software Foundation may publish revised and/or new versions of the 
General Public License from time to time. Such new versions will be similar in 
spirit to the present version, but may differ in detail to address new problems 
or concerns.
+
+Each version is given a distinguishing version number. If the Program 
specifies a version number of this License which applies to it and "any later 
version", you have the option of following the terms and conditions either of 
that version or of any later version published by the Free Software Foundation. 
If the Program does not specify a version number of this License, you may 
choose any version ever published by the Free Software Foundation.
+
+10. If you wish to incorporate parts of the Program into other free programs 
whose distribution conditions are different, write to the author to ask for 
permission. For software which is copyrighted by the Free Software Foundation, 
write to the Free Software Foundation; we sometimes make exceptions for this. 
Our decision will be guided by the two goals of preserving the free status of 
all derivatives of our free software and of promoting the sharing and reuse of 
software generally.
+
+NO WARRANTY
+
+11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR 
THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE 
STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE 
PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, 
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 
FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND 
PERFORMANCE OF THE PROGRAM IS WITH YOU.  [...]
+
+12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL 
ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE 
PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR 
INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA 
BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 
FAILURE OF THE PROGRAM TO  [...]
+
+END OF TERMS AND CONDITIONS
+
+How to Apply These Terms to Your New Programs
+
+If you develop a new program, and you want it to be of the greatest possible 
use to the public, the best way to achieve this is to make it free software 
which everyone can redistribute and change under these terms.
+
+To do so, attach the following notices to the program. It is safest to attach 
them to the start of each source file to most effectively convey the exclusion 
of warranty; and each file should have at least the "copyright" line and a 
pointer to where the full notice is found.
+
+     one line to give the program's name and an idea of what it does. 
Copyright (C) yyyy name of author
+
+     This program is free software; you can redistribute it and/or modify it 
under the terms of the GNU General Public License as published by the Free 
Software Foundation; either version 2 of the License, or (at your option) any 
later version.
+
+     This program is distributed in the hope that it will be useful, but 
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more 
details.
+
+     You should have received a copy of the GNU General Public License along 
with this program; if not, write to the Free Software Foundation, Inc., 51 
Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Also add information 
on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this when it 
starts in an interactive mode:
+
+     Gnomovision version 69, Copyright (C) year name of author Gnomovision 
comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free 
software, and you are welcome to redistribute it under certain conditions; type 
`show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate 
parts of the General Public License. Of course, the commands you use may be 
called something other than `show w' and `show c'; they could even be 
mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your 
school, if any, to sign a "copyright disclaimer" for the program, if necessary. 
Here is a sample; alter the names:
+
+     Yoyodyne, Inc., hereby disclaims all copyright interest in the program 
`Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+signature of Ty Coon, 1 April 1989 Ty Coon, President of Vice
+
+
+CLASSPATH EXCEPTION
+
+Linking this library statically or dynamically with other modules is making a 
combined work based on this library. Thus, the terms and conditions of the GNU 
General Public License cover the whole combination.
+
+As a special exception, the copyright holders of this library give you 
permission to link this library with independent modules to produce an 
executable, regardless of the license terms of these independent modules, and 
to copy and distribute the resulting executable under terms of your choice, 
provided that you also meet, for each linked independent module, the terms and 
conditions of the license of that module. An independent module is a module 
which is not derived from or based on thi [...]
+
+
+
+#@section js
+====================================================================================
+SIL Open Font License, Version 1.1 (OFL-1.1)
+(applies to the Red Hat Display, Red Hat Text and Red Hat Mono fonts;
+Copyright 2021 The Red Hat Project Authors 
(https://github.com/RedHatOfficial/RedHatFont))
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
\ No newline at end of file
diff --git a/scripts/release/build-legal.js b/scripts/release/build-legal.js
new file mode 100755
index 00000000000..ba74ed66c17
--- /dev/null
+++ b/scripts/release/build-legal.js
@@ -0,0 +1,66 @@
+#!/usr/bin/env node
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+// Writes the LICENSE and NOTICE of the binary distributions of Apache KIE 
Tools into <dest-dir>.
+//   LICENSE = <repo root>/LICENSE + the entries of 
scripts/release/BINARY-LICENSE-APPENDIX.txt selected by <profile>
+//   NOTICE  = <repo root>/NOTICE
+// BINARY-LICENSE-APPENDIX.txt is the single shared inventory of bundled 
third-party components. It is split in blocks
+// by "#@section <a>,<b>" marker lines ("*" = always). <profile> is a 
comma-separated list of sections:
+//   js      JavaScript bundles (PatternFly, Monaco, React, Lodash, elkjs, Red 
Hat fonts, ...)
+//   chrome  JavaScript bundled in the Chrome extension ZIP (React, Octokit, 
minimatch, ...; no elkjs/PatternFly/fonts)
+//   go      Go binaries (dev-deployment-upload-service, image-env-to-json)
+//   drl     drools-lsp-server jar
+//   ext     extended-services-java jars
+//   quarkus Maven dependencies of the dev deployment Quarkus blank app image
+// Without <profile> only the root LICENSE is written (artifacts that bundle 
no third-party component).
+// Usage: node build-legal.js <dest-dir> [profile]
+
+const fs = require("fs");
+const path = require("path");
+
+const destDir = process.argv[2];
+const profile = (process.argv[3] || "").split(",").filter(Boolean);
+if (!destDir) {
+  console.error("Usage: node build-legal.js <dest-dir> [profile]");
+  process.exit(1);
+}
+
+const repoRoot = path.resolve(__dirname, "..", "..");
+let license = fs.readFileSync(path.join(repoRoot, "LICENSE"), "utf8");
+
+if (profile.length > 0) {
+  let include = false;
+  const lines = fs.readFileSync(path.join(__dirname, 
"BINARY-LICENSE-APPENDIX.txt"), "utf8").split("\n");
+  const selected = [];
+  for (const line of lines) {
+    const marker = line.match(/^#@section (.+)$/);
+    if (marker) {
+      const sections = marker[1].split(",").map((s) => s.trim());
+      include = sections.includes("*") || sections.some((s) => 
profile.includes(s));
+    } else if (include) {
+      selected.push(line);
+    }
+  }
+  license += "\n" + selected.join("\n");
+}
+
+fs.mkdirSync(destDir, { recursive: true });
+fs.writeFileSync(path.join(destDir, "LICENSE"), license);
+fs.copyFileSync(path.join(repoRoot, "NOTICE"), path.join(destDir, "NOTICE"));
diff --git a/scripts/release/create-source-tarball.sh 
b/scripts/release/create-source-tarball.sh
index 16d52d90d18..c01cdeb0e16 100755
--- a/scripts/release/create-source-tarball.sh
+++ b/scripts/release/create-source-tarball.sh
@@ -22,7 +22,7 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
 REPO_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
 
 # Creates apache-kie-<version>-incubating-sources.zip with both incubator-kie 
and incubator-kie-tools,
-# plus BUILD, DISCLAIMER-WIP and merged LICENSE/NOTICE files.
+# plus BUILD, DISCLAIMER and merged LICENSE/NOTICE files.
 
 usage() {
     echo "Usage: $0 <version> [--git-ref <ref>] [--kie-git-ref <ref>] 
[--kie-repo <url|path>] [--output-dir <dir>]"
@@ -119,7 +119,7 @@ rm -f 
"$STAGE/incubator-kie/kogito-gradle-plugin-test/gradle/wrapper/gradle-wrap
 # --- Top-level files 
--------------------------------------------------------------------------------------------
 KIE_DIR="$STAGE/incubator-kie"
 TOOLS_DIR="$STAGE/incubator-kie-tools"
-for f in LICENSE NOTICE DISCLAIMER-WIP; do
+for f in LICENSE NOTICE DISCLAIMER; do
     for d in "$KIE_DIR" "$TOOLS_DIR"; do
         [[ -f "$d/$f" ]] || { echo "ERROR: $f not found in $d"; exit 1; }
     done
@@ -150,7 +150,7 @@ awk 'BEGIN { RS = ""; ORS = "\n\n" }
      f == 1 { seen[p] = 1; print p; next }
      !(p in seen) { print p }' "$KIE_DIR/NOTICE" "$TOOLS_DIR/NOTICE" > 
"$STAGE/NOTICE"
 
-cp "$TOOLS_DIR/DISCLAIMER-WIP" "$STAGE/DISCLAIMER-WIP"
+cp "$TOOLS_DIR/DISCLAIMER" "$STAGE/DISCLAIMER"
 
 # BUILD: tool versions come from the tools repository so they cannot drift.
 tool_version() {
@@ -220,7 +220,7 @@ echo "Created: $ZIPFILE ($SIZE)"
 
 # The root of the zip must contain exactly these entries (LC_ALL=C: 
locale-independent order).
 actual_entries=$(unzip -Z1 "$ZIPFILE" | awk -F/ -v root="$ROOT_DIR_NAME" '$1 
== root && $2 != "" {print $2}' | LC_ALL=C sort -u | paste -sd' ' -)
-expected_entries="BUILD DISCLAIMER-WIP LICENSE NOTICE incubator-kie 
incubator-kie-tools"
+expected_entries="BUILD DISCLAIMER LICENSE NOTICE incubator-kie 
incubator-kie-tools"
 if [[ "$actual_entries" != "$expected_entries" ]]; then
     echo "ERROR: unexpected content in $ROOT_DIR_NAME/"
     echo "  expected: $expected_entries"
diff --git a/scripts/release/release-all.sh b/scripts/release/release-all.sh
index 5a34a1295d4..009e02030a1 100755
--- a/scripts/release/release-all.sh
+++ b/scripts/release/release-all.sh
@@ -149,6 +149,90 @@ upload_github_asset() {
         "${UPLOAD_URL}?name=${asset_name}"
 }
 
+# ---------------------------------------------------------------------------
+# Helpers: LICENSE / NOTICE for convenience binaries
+# One NOTICE (root NOTICE) and one shared license inventory 
(BINARY-LICENSE-APPENDIX.txt). build-legal.js writes
+# root LICENSE + only the inventory sections that apply to an artifact. Select 
them per call with
+# LEGAL_PROFILE=<comma-separated sections: js,chrome,go,drl,ext,quarkus> 
(unset = root LICENSE only, nothing third-party bundled).
+# The container images get the same files at build time (the `copy:legal` 
script of each *-image package).
+# ---------------------------------------------------------------------------
+LEGAL_DIR="$(mktemp -d)"
+legal_dir() {
+    local p="${LEGAL_PROFILE:-}" d
+    d="${LEGAL_DIR}/${p:-root}"
+    [[ -f "${d}/LICENSE" ]] || node "${SCRIPT_DIR}/build-legal.js" "${d}" 
"${p}"
+    echo "${d}"
+}
+
+# Copies LICENSE and NOTICE into a directory. Optional 2nd arg: sub-directory 
name inside it.
+# KEEP_EXISTING_LICENSE=true: keep a LICENSE already shipped by the package 
(it can carry its own third-party
+# copyright, e.g. @kie-tools-core/monaco-editor); NOTICE is always added.
+add_legal_to_dir() {
+    local dir="$1" sub="${2:-}"
+    [[ -n "${sub}" ]] && { dir="${dir}/${sub}"; mkdir -p "${dir}"; }
+    if [[ "${KEEP_EXISTING_LICENSE:-false}" != "true" || ! -f "${dir}/LICENSE" 
]]; then
+        cp "$(legal_dir)/LICENSE" "${dir}/LICENSE"
+    fi
+    cp "$(legal_dir)/NOTICE" "${dir}/NOTICE"
+}
+
+# Adds LICENSE and NOTICE at the root of an existing .zip file.
+add_legal_to_zip() {
+    zip -q -j "$1" "$(legal_dir)/LICENSE" "$(legal_dir)/NOTICE"
+}
+
+# Adds LICENSE and NOTICE to a .tar.gz/.tgz. Optional 2nd arg: sub-directory 
inside the archive.
+add_legal_to_targz() {
+    local archive="$1" sub="${2:-}"
+    local tmp entries=() entry
+    tmp="$(mktemp -d)"
+    tar -xzf "${archive}" -C "${tmp}"
+    add_legal_to_dir "${tmp}" "${sub}"
+    # Repack with top-level names (no leading "./"): `npm publish` cannot read 
tarballs that
+    # have a "./" entry (fails with ENOENT package.json).
+    for entry in "${tmp}"/* "${tmp}"/.[!.]*; do
+        [[ -e "${entry}" ]] && entries+=("$(basename "${entry}")")
+    done
+    tar -czf "${archive}" -C "${tmp}" "${entries[@]}"
+    rm -rf "${tmp}"
+}
+
+# Adds LICENSE.txt and NOTICE.txt to extension/ inside a .vsix (replaces the 
plain Apache LICENSE).
+add_legal_to_vsix() {
+    local vsix="$1" tmp
+    tmp="$(mktemp -d)"
+    mkdir -p "${tmp}/extension"
+    cp "$(legal_dir)/LICENSE" "${tmp}/extension/LICENSE.txt"
+    cp "$(legal_dir)/NOTICE" "${tmp}/extension/NOTICE.txt"
+    (cd "${tmp}" && zip -q "${vsix}" extension/LICENSE.txt 
extension/NOTICE.txt)
+    rm -rf "${tmp}"
+}
+
+# Packs every public workspace package into <dest_dir> (*.tgz) and adds 
LICENSE + NOTICE
+# (package/LICENSE, package/NOTICE) to each tarball. Used for both the RC zip 
and publishing,
+# so that the tarballs published to the registry carry the same legal files.
+pack_public_npm_packages_with_legal() {
+    local dest_dir="$1" pub_filter
+    mkdir -p "${dest_dir}"
+    pub_filter=$(pnpm -r exec bash -c \
+        'if [[ $(jq -r ".private" package.json) != "true" ]]; then echo "-F 
$(jq -r ".name" package.json)"; fi')
+    pnpm ${pub_filter} exec bash -c "pnpm pack --pack-destination ${dest_dir}"
+    for tgz in "${dest_dir}"/*.tgz; do
+        # Packages shipping third-party files listed in the root LICENSE 
(XSDs, DefaultBackend.js) get the root
+        # LICENSE; the standalone editors and webpack-bundled webapps bundle 
JavaScript libraries and fonts. All
+        # others keep their own package LICENSE (never replaced) and get 
NOTICE.
+        case "$(tar -xzOf "${tgz}" package/package.json | jq -r ".name")" in
+            
@kie-tools/dmn-editor-standalone|@kie-tools/bpmn-editor-standalone|\
+@kie-tools/runtime-tools-management-console-webapp|@kie-tools/runtime-tools-process-dev-ui-webapp)
+                LEGAL_PROFILE=js add_legal_to_targz "${tgz}" "package" ;;
+            
@kie-tools/dmn-marshaller|@kie-tools/bpmn-marshaller|@kie-tools/xml-parser-ts-codegen)
+                add_legal_to_targz "${tgz}" "package" ;;
+            *)
+                KEEP_EXISTING_LICENSE=true add_legal_to_targz "${tgz}" 
"package" ;;
+        esac
+    done
+}
+
 # ---------------------------------------------------------------------------
 # 1. NPM packages
 # ---------------------------------------------------------------------------
@@ -167,12 +251,10 @@ release_npm_packages() {
     if [[ "${RC_MODE}" == "true" ]]; then
         local tmp_dir="${ARTIFACTS_DIR}/npm-packages-tmp"
         local 
zip_file="apache-kie-${VERSION}-incubating-tools-npm-packages.zip"
-        mkdir -p "${tmp_dir}" "${ARTIFACTS_DIR}"
-        local pub_filter
-        pub_filter=$(pnpm -r exec bash -c \
-            'if [[ $(jq -r ".private" package.json) != "true" ]]; then echo 
"-F $(jq -r ".name" package.json)"; fi')
-        pnpm ${pub_filter} exec bash -c "pnpm pack --pack-destination 
${tmp_dir}"
+        mkdir -p "${ARTIFACTS_DIR}"
+        pack_public_npm_packages_with_legal "${tmp_dir}"
         (cd "${tmp_dir}" && zip -r "${ARTIFACTS_DIR}/${zip_file}" .)
+        add_legal_to_zip "${ARTIFACTS_DIR}/${zip_file}"
         rm -rf "${tmp_dir}"
         echo "RC artifact: ${ARTIFACTS_DIR}/${zip_file}"
     fi
@@ -188,18 +270,22 @@ release_npm_packages() {
         echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > "${npmrc_tmp}"
         export NPM_CONFIG_USERCONFIG="${npmrc_tmp}"
 
-        local pub_filter
-        pub_filter=$(pnpm -r exec bash -c \
-            'if [[ $(jq -r ".private" package.json) != "true" ]]; then echo 
"-F $(jq -r ".name" package.json)"; fi')
-        pnpm ${pub_filter} exec bash -c '
-            PKG_NAME=$(jq -r ".name" package.json)
-            if ! npm view ${PKG_NAME}@'"${VERSION}"' name --userconfig 
"'"${npmrc_tmp}"'" &>/dev/null; then
-                echo "Publishing ${PKG_NAME}@'"${VERSION}"'"
-                pnpm publish --no-git-checks --access public --userconfig 
"'"${npmrc_tmp}"'"
+        # Publish the same tarballs that carry LICENSE + NOTICE (a plain `pnpm 
publish` would
+        # not include NOTICE, nor the root LICENSE for packages without their 
own).
+        local publish_dir
+        publish_dir="$(mktemp -d)"
+        pack_public_npm_packages_with_legal "${publish_dir}"
+        for tgz in "${publish_dir}"/*.tgz; do
+            local PKG_NAME
+            PKG_NAME=$(tar -xzOf "${tgz}" package/package.json | jq -r ".name")
+            if ! npm view "${PKG_NAME}@${VERSION}" name --userconfig 
"${npmrc_tmp}" &>/dev/null; then
+                echo "Publishing ${PKG_NAME}@${VERSION}"
+                npm publish "${tgz}" --access public --userconfig 
"${npmrc_tmp}"
             else
-                echo "Skipping ${PKG_NAME}@'"${VERSION}"' (already published)"
+                echo "Skipping ${PKG_NAME}@${VERSION} (already published)"
             fi
-        '
+        done
+        rm -rf "${publish_dir}"
         rm -f "${npmrc_tmp}"
         trap - EXIT
         echo "NPM packages published."
@@ -226,15 +312,21 @@ release_chrome_extensions() {
         return 1
     fi
 
-    if [[ "${RC_MODE}" == "true" ]]; then
+    # The copies in ARTIFACTS_DIR carry LICENSE + NOTICE; --publish uploads 
them to the Chrome Web Store.
+    local 
chrome_zip="${ARTIFACTS_DIR}/apache-kie-${VERSION}-incubating-business-automation-chrome-extension.zip"
+    if [[ "${RC_MODE}" == "true" || "${PUBLISH}" == "true" ]]; then
         mkdir -p "${ARTIFACTS_DIR}"
-        cp "${kie_editors_zip}" \
-            
"${ARTIFACTS_DIR}/apache-kie-${VERSION}-incubating-business-automation-chrome-extension.zip"
+        cp "${kie_editors_zip}" "${chrome_zip}"
+        # The extension ZIP only bundles the content script (no elkjs, 
PatternFly or fonts: those are in the editors ZIP).
+        LEGAL_PROFILE=chrome add_legal_to_zip "${chrome_zip}"
+    fi
 
+    if [[ "${RC_MODE}" == "true" ]]; then
         local tmp_kie="${ARTIFACTS_DIR}/kie-editors-tmp"
         mkdir -p "${tmp_kie}"
         [[ -d "packages/chrome-extension-pack-kogito-kie-editors/dist/fonts" 
]] && cp -r packages/chrome-extension-pack-kogito-kie-editors/dist/fonts 
"${tmp_kie}/"
         cp packages/chrome-extension-pack-kogito-kie-editors/dist/*-envelope.* 
"${tmp_kie}/" 2>/dev/null || true
+        LEGAL_PROFILE=js add_legal_to_dir "${tmp_kie}"
         (cd "${tmp_kie}" && zip -r \
             
"${ARTIFACTS_DIR}/apache-kie-${VERSION}-incubating-business-automation-chrome-extension-editors.zip"
 .)
         rm -rf "${tmp_kie}"
@@ -291,7 +383,7 @@ release_chrome_extensions() {
         }
 
         if [[ -n "${CHROME_KIE_EDITORS_EXTENSION_ID:-}" ]]; then
-            _chrome_upload "${CHROME_KIE_EDITORS_EXTENSION_ID}" 
"${kie_editors_zip}"
+            _chrome_upload "${CHROME_KIE_EDITORS_EXTENSION_ID}" "${chrome_zip}"
             _chrome_publish "${CHROME_KIE_EDITORS_EXTENSION_ID}"
             echo "Chrome extension published."
         else
@@ -324,7 +416,8 @@ release_vscode() {
         pnpm ${filter} build:prod
     fi
 
-    if [[ "${RC_MODE}" == "true" ]]; then
+    # The copies in ARTIFACTS_DIR carry LICENSE + NOTICE; --publish publishes 
and uploads these copies.
+    if [[ "${RC_MODE}" == "true" || "${PUBLISH}" == "true" ]]; then
         mkdir -p "${ARTIFACTS_DIR}"
         for ext in "${!EXTENSIONS[@]}"; do
             local suffix="${EXTENSIONS[$ext]}"
@@ -334,6 +427,13 @@ release_vscode() {
                 local 
dest="${ARTIFACTS_DIR}/apache-kie-${VERSION}-incubating-${suffix}.vsix"
                 echo "  COPY  $(basename "${dest}")"
                 cp "${vsix}" "${dest}"
+                case "${ext}" in
+                    
dmn-vscode-extension|bpmn-vscode-extension|pmml-vscode-extension|vscode-extension-kogito-bundle|vscode-extension-kie-ba-bundle)
+                                                        LEGAL_PROFILE=js 
add_legal_to_vsix "${dest}" ;;
+                    extended-services-vscode-extension) LEGAL_PROFILE=ext 
add_legal_to_vsix "${dest}" ;;
+                    drl-vscode-extension)               LEGAL_PROFILE=drl 
add_legal_to_vsix "${dest}" ;;
+                    *)                                  add_legal_to_vsix 
"${dest}" ;;
+                esac
             else
                 echo "  SKIP  ${ext} (no .vsix found)"
             fi
@@ -348,10 +448,11 @@ release_vscode() {
         fi
         echo "Publishing to VSCode Marketplace..."
         for ext in "${!EXTENSIONS[@]}"; do
-            find "packages/${ext}" -maxdepth 2 -name "*.vsix" | while read -r 
vsix; do
-                echo "  Publishing: ${vsix}"
-                npx vsce publish --packagePath "${vsix}" --pat "${VSCE_PAT}"
-            done
+            local 
artifact="${ARTIFACTS_DIR}/apache-kie-${VERSION}-incubating-${EXTENSIONS[$ext]}.vsix"
+            if [[ -f "${artifact}" ]]; then
+                echo "  Publishing: ${artifact}"
+                npx vsce publish --packagePath "${artifact}" --pat 
"${VSCE_PAT}"
+            fi
         done
         echo "VSCode extensions published."
     fi
@@ -359,9 +460,13 @@ release_vscode() {
     if [[ "${PUBLISH}" == "true" && -n "${UPLOAD_URL:-}" && -n 
"${GITHUB_TOKEN:-}" ]]; then
         echo "Uploading .vsix files to GitHub Release..."
         for ext in "${!EXTENSIONS[@]}"; do
-            find "packages/${ext}" -maxdepth 2 -name "*.vsix" | while read -r 
vsix; do
-                upload_github_asset "${vsix}" "$(basename "${vsix}")" 
"application/zip"
-            done
+            local 
artifact="${ARTIFACTS_DIR}/apache-kie-${VERSION}-incubating-${EXTENSIONS[$ext]}.vsix"
+            if [[ -f "${artifact}" ]]; then
+                # Keep the asset name of the .vsix built by vsce (e.g. 
dmn-vscode-extension-<version>.vsix).
+                local original_vsix
+                original_vsix=$(find "packages/${ext}" -maxdepth 2 -name 
"*.vsix" | head -1)
+                upload_github_asset "${artifact}" "$(basename 
"${original_vsix}")" "application/zip"
+            fi
         done
     fi
 }
@@ -548,6 +653,7 @@ release_helm_charts() {
         local tmp_dir
         tmp_dir=$(mktemp -d)
         cp -r "${chart_dir}/." "${tmp_dir}/chart"
+        add_legal_to_dir "${tmp_dir}/chart"
         sed -i.bak "s/^version:.*/version: ${VERSION}/" 
"${tmp_dir}/chart/Chart.yaml"
         sed -i.bak "s/^appVersion:.*/appVersion: \"${VERSION}\"/" 
"${tmp_dir}/chart/Chart.yaml"
         rm -f "${tmp_dir}/chart/Chart.yaml.bak"
@@ -635,6 +741,11 @@ release_github_pages() {
             if [[ -d "${src}" ]]; then
                 echo "  ZIP  ${zip_name}"
                 (cd "${src}" && zip -r "${ARTIFACTS_DIR}/${zip_name}" .)
+                if [[ "${zip_name}" == *sandbox-webapp.zip ]]; then
+                    LEGAL_PROFILE=js add_legal_to_zip 
"${ARTIFACTS_DIR}/${zip_name}"
+                else
+                    add_legal_to_zip "${ARTIFACTS_DIR}/${zip_name}"
+                fi
             else
                 echo "  SKIP  ${zip_name} (${src} not found)"
             fi
@@ -683,12 +794,14 @@ release_github_pages() {
             rm -rf "${editors_dir}" && mkdir -p "${editors_dir}"
             rm -rf editors/latest && ln -s "${VERSION}" editors/latest
             cp -r "${online_dist}/." .
+            LEGAL_PROFILE=js add_legal_to_dir .
 
             if [[ -d "${chrome_dist}" ]]; then
                 local chrome_dir="chrome-extension/${VERSION}"
                 rm -rf "${chrome_dir}" && mkdir -p "${chrome_dir}"
                 cp -r "${chrome_dist}/fonts" "${chrome_dir}/" 2>/dev/null || 
true
                 cp "${chrome_dist}"/*-envelope.* "${chrome_dir}/" 2>/dev/null 
|| true
+                LEGAL_PROFILE=js add_legal_to_dir "${chrome_dir}"
             fi
             git add .
             git commit -m "Deploy ${VERSION} (Online Editor + Chrome Extension 
editors)" \
@@ -710,6 +823,7 @@ release_github_pages() {
                 # orphan branch contains only the intended accelerator content.
                 git rm -rf . --quiet 2>/dev/null || true
                 cp -r "${accel_content}/." .
+                add_legal_to_dir .
                 git add .
                 git commit -m "Apache KIE Sandbox Quarkus Accelerator 
${VERSION}"
                 git tag "${VERSION}"
@@ -746,19 +860,21 @@ release_dev_deployment_upload_service() {
         
["dev-deployment-upload-service-windows-amd64-${VERSION}.tar.gz"]="apache-kie-${VERSION}-incubating-sandbox-dev-deployment-upload-service-windows-x86.tar.gz"
     )
 
-    if [[ "${RC_MODE}" == "true" ]]; then
+    # The copies in ARTIFACTS_DIR carry LICENSE + NOTICE; --publish uploads 
these copies.
+    if [[ "${RC_MODE}" == "true" || "${PUBLISH}" == "true" ]]; then
         mkdir -p "${ARTIFACTS_DIR}"
         for src_name in "${!PLATFORM_MAP[@]}"; do
             local rc_name="${PLATFORM_MAP[$src_name]}"
             if [[ -f "${dist}/${src_name}" ]]; then
                 cp "${dist}/${src_name}" "${ARTIFACTS_DIR}/${rc_name}"
+                LEGAL_PROFILE=go add_legal_to_targz 
"${ARTIFACTS_DIR}/${rc_name}"
                 echo "  COPY  ${rc_name}"
             else
                 echo "ERROR: Artifact ${dist}/${src_name} not found"
                 return 1
             fi
         done
-        echo "RC artifacts in: ${ARTIFACTS_DIR}"
+        echo "Artifacts in: ${ARTIFACTS_DIR}"
     fi
 
     if [[ "${PUBLISH}" == "true" ]]; then
@@ -767,10 +883,17 @@ release_dev_deployment_upload_service() {
             return 1
         fi
         for src_name in "${!PLATFORM_MAP[@]}"; do
-            upload_github_asset "${dist}/${src_name}" "${src_name}" 
"application/gzip"
-            if [[ -f "${dist}/${src_name}.sha256" ]]; then
-                upload_github_asset "${dist}/${src_name}.sha256" 
"${src_name}.sha256" "text/plain"
+            local artifact="${ARTIFACTS_DIR}/${PLATFORM_MAP[$src_name]}"
+            # getDevDeploymentUploadService.sh downloads "<src_name>" and 
verifies it against "<src_name>.sha256",
+            # so the assets keep their original names and the checksum is 
recomputed for the repacked tarball.
+            local sha256_file="${artifact}.sha256"
+            if command -v sha256sum &>/dev/null; then
+                sha256sum "${artifact}" | awk '{print $1}' > "${sha256_file}"
+            else
+                shasum -a 256 "${artifact}" | awk '{print $1}' > 
"${sha256_file}"
             fi
+            upload_github_asset "${artifact}" "${src_name}" "application/gzip"
+            upload_github_asset "${sha256_file}" "${src_name}.sha256" 
"text/plain"
         done
         echo "dev-deployment-upload-service binaries uploaded."
     fi


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to