This is an automated email from the ASF dual-hosted git repository.
cwylie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/master by this push:
new c09b5a2294 Fix skipTests build flag (#12716)
c09b5a2294 is described below
commit c09b5a2294f7d4357ed0484f7e1d6c5088b9b450
Author: Rohan Garg <[email protected]>
AuthorDate: Thu Jun 30 10:29:26 2022 +0530
Fix skipTests build flag (#12716)
* fix skipTests
* Skip console UTs with skipTests
* Use skipTests in skip-tests profile
---
pom.xml | 8 ++++----
web-console/pom.xml | 1 +
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/pom.xml b/pom.xml
index ebe9893557..8aa6b4c71b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -132,8 +132,9 @@
the "new" integration tests. To skip just the unit tests (but run
the
new integration tests by setting the required profile), use
-DskipUTs=true.
-->
- <skipUTs>false</skipUTs>
- <skipITs>false</skipITs>
+ <skipTests>false</skipTests>
+ <skipUTs>${skipTests}</skipUTs>
+ <skipITs>${skipTests}</skipITs>
</properties>
<modules>
@@ -1935,8 +1936,7 @@
<activeByDefault>false</activeByDefault>
</activation>
<properties>
- <skipUTs>true</skipUTs> <!-- Skip only UTs -->
- <skipITs>true</skipITs> <!-- ITs are also behind a profile -->
+ <skipTests>true</skipTests> <!-- skips both UTs and ITs -->
<jacoco.skip>true</jacoco.skip>
</properties>
</profile>
diff --git a/web-console/pom.xml b/web-console/pom.xml
index ebad222efa..c6bfc328f5 100644
--- a/web-console/pom.xml
+++ b/web-console/pom.xml
@@ -45,6 +45,7 @@
<artifactId>frontend-maven-plugin</artifactId>
<configuration>
<skip>${druid.console.skip}</skip>
+ <skipTests>${skipUTs}</skipTests>
</configuration>
<executions>
<execution>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]