diff --git a/TEST_FAST.md b/TEST_FAST.md
index fbea72db9c..11f8969fca 100644
--- a/TEST_FAST.md
+++ b/TEST_FAST.md
@@ -42,10 +42,12 @@ Use `-Dpkg.skip=true` to skip all packaging at once (equivalent to all four flag
|----------------------------|-------------------------------------------|--------------------------------------------------------------|
| `-Dpkg.skip=true` | All of the below (bootjar + deb + rpm + zip) | Yes |
| `-Dpkg.skip.bootjar=true` | `spring-boot:repackage` (`*-boot.jar`) | Yes — tests use the regular `.jar`, not the fat boot jar |
-| `-Dpkg.skip.deb=true` | Gradle `buildDeb` + Maven `attach-artifact` | Yes — MSA docker modules copy the DEB from `target/` directly |
+| `-Dpkg.skip.deb=true` | Gradle `buildDeb` | Yes — MSA docker modules copy the DEB from `target/` directly |
| `-Dpkg.skip.rpm=true` | Gradle `buildRpm` | Yes — no test depends on the RPM |
| `-Dpkg.skip.zip=true` | `maven-assembly-plugin` Windows ZIP | Yes — no test depends on the ZIP |
+`-Dskip.yarn=true` and `-Dskip.ui.build=true` imply `-Dpkg.skip=true`: packages built without the UI are incomplete.
+
## Testcontainers compatibility with the Docker API workaround
In case your tests failed to run testcontainers due to unsupported Docker API version
diff --git a/msa/js-executor/pom.xml b/msa/js-executor/pom.xml
index 063ad3e14d..82128b0e0e 100644
--- a/msa/js-executor/pom.xml
+++ b/msa/js-executor/pom.xml
@@ -30,6 +30,13 @@
package
${project.build.directory}/package/linux
${project.build.directory}/package/windows
+
+ ${skip.yarn}
pre-integration-test
@@ -112,7 +119,7 @@
test
- ${maven.test.skip}
+ ${yarn.test.skip}
--mutex network run test
@@ -206,6 +213,18 @@
+
+ skip-yarn-test
+
+
+ maven.test.skip
+ true
+
+
+
+ true
+
+
yarn-start
diff --git a/msa/pom.xml b/msa/pom.xml
index 052102f508..0e169b1da8 100644
--- a/msa/pom.xml
+++ b/msa/pom.xml
@@ -55,10 +55,7 @@
-
+
skip-deb
@@ -71,9 +68,9 @@
none
-
+
skip-pkg
@@ -86,6 +83,31 @@
none
+
+
+ skip-pkg-without-yarn
+
+
+ skip.yarn
+ true
+
+
+
+ none
+
+
+
+ skip-pkg-without-ui-build
+
+
+ skip.ui.build
+ true
+
+
+
+ none
+
+
black-box-tests
diff --git a/msa/web-ui/pom.xml b/msa/web-ui/pom.xml
index 927cd21a1b..311b4b976b 100644
--- a/msa/web-ui/pom.xml
+++ b/msa/web-ui/pom.xml
@@ -60,6 +60,9 @@
target
${basedir}
+
+ ${skip.ui.build}
diff --git a/pom.xml b/pom.xml
index 4b239194a8..a1136afd0f 100755
--- a/pom.xml
+++ b/pom.xml
@@ -28,20 +28,27 @@
17
17
${basedir}
+
+ ${skip.yarn}
none
none
false
-
+
false
@@ -50,11 +57,6 @@
module depends on the ZIP artifact, so this flag can be toggled freely without
breaking downstream modules. -->
false
-
- ${pkg.package.phase}
thingsboard
${project.name}
/var/log/${pkg.name}
@@ -215,31 +217,46 @@
-
+
- skip-deb
+ skip-pkg
- pkg.skip.deb
+ pkg.skip
true
- none
+ true
+ true
+ true
+ true
-
+
- skip-pkg
+ skip-pkg-without-yarn
- pkg.skip
+ skip.yarn
+ true
+
+
+
+ true
+ true
+ true
+ true
+
+
+
+ skip-pkg-without-ui-build
+
+
+ skip.ui.build
true
@@ -248,7 +265,6 @@
true
true
true
- none
@@ -538,21 +554,6 @@
-
- org.apache.maven.plugins
- maven-jar-plugin
-
-
- **/logback.xml
-
-
-
- ${pkg.implementationTitle}
- ${project.version}
-
-
-
-
org.springframework.boot
spring-boot-maven-plugin
@@ -565,6 +566,8 @@
${pkg.skip.bootjar}
${pkg.mainClass}
boot
+
+ false
ZIP
true
true
@@ -579,7 +582,6 @@
repackage
- build-info
@@ -641,28 +643,9 @@
${pkg.skip.zip}
-
-
-
-
-
- org.codehaus.mojo
- build-helper-maven-plugin
-
-
- attach-deb
- ${pkg.deb.phase}
-
- attach-artifact
-
-
-
-
- ${project.build.directory}/${pkg.name}.deb
- deb
- deb
-
-
+
+ false
@@ -718,6 +701,18 @@
org.apache.maven.plugins
maven-jar-plugin
${jar-plugin.version}
+
+
+
+ **/logback.xml
+
+
+
+ ${pkg.implementationTitle}
+ ${project.version}
+
+
+
org.apache.maven.plugins
@@ -728,6 +723,20 @@
org.springframework.boot
spring-boot-maven-plugin
${spring-boot.version}
+
+
+
+ build-info
+
+ build-info
+
+
+
+ false
+
+
+
org.thingsboard
diff --git a/ui-ngx/pom.xml b/ui-ngx/pom.xml
index a9324f651c..c577e62fdc 100644
--- a/ui-ngx/pom.xml
+++ b/ui-ngx/pom.xml
@@ -37,6 +37,9 @@
target
${basedir}
+
+ ${skip.ui.build}
@@ -71,6 +74,14 @@
+
+
+ org.apache.maven.plugins
+ maven-deploy-plugin
+
+ true
+
+