mirror of https://github.com/apache/druid.git
Fix skipTests build flag (#12716)
* fix skipTests * Skip console UTs with skipTests * Use skipTests in skip-tests profile
This commit is contained in:
parent
068bea6334
commit
c09b5a2294
8
pom.xml
8
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>
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
<artifactId>frontend-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<skip>${druid.console.skip}</skip>
|
||||
<skipTests>${skipUTs}</skipTests>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
|
|
Loading…
Reference in New Issue