Commit ea6ba18d authored by Benedikt Kleinmeier's avatar Benedikt Kleinmeier
Browse files

In "pom.xml" files, set "failIfNoTests" to "false".

Otherwise, a module is flagged as error if no unit tests were executed at all.
parent eff139a6
Pipeline #54801 passed with stage
in 46 seconds
...@@ -170,14 +170,12 @@ ...@@ -170,14 +170,12 @@
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<version>2.19</version> <version>2.19</version>
<configuration> <configuration>
<!-- Sets the VM argument line used when unit tests are run. -->
<argLine>${surefireArgLine}</argLine> <argLine>${surefireArgLine}</argLine>
<!-- Skips unit tests if the value of skip.unit.tests property is true --> <failIfNoTests>false</failIfNoTests>
<skipTests>${skip.unit.tests}</skipTests>
<!-- Excludes integration tests when unit tests are run. -->
<excludes> <excludes>
<exclude></exclude> <exclude></exclude>
</excludes> </excludes>
<skipTests>${skip.unit.tests}</skipTests>
</configuration> </configuration>
</plugin> </plugin>
......
...@@ -95,14 +95,12 @@ ...@@ -95,14 +95,12 @@
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<version>2.19</version> <version>2.19</version>
<configuration> <configuration>
<!-- Sets the VM argument line used when unit tests are run. -->
<argLine>${surefireArgLine}</argLine> <argLine>${surefireArgLine}</argLine>
<!-- Skips unit tests if the value of skip.unit.tests property is true --> <failIfNoTests>false</failIfNoTests>
<skipTests>${skip.unit.tests}</skipTests>
<!-- Excludes integration tests when unit tests are run. -->
<excludes> <excludes>
<exclude></exclude> <exclude></exclude>
</excludes> </excludes>
<skipTests>${skip.unit.tests}</skipTests>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
......
...@@ -59,14 +59,12 @@ ...@@ -59,14 +59,12 @@
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<version>2.19</version> <version>2.19</version>
<configuration> <configuration>
<!-- Sets the VM argument line used when unit tests are run. -->
<argLine>${surefireArgLine}</argLine> <argLine>${surefireArgLine}</argLine>
<!-- Skips unit tests if the value of skip.unit.tests property is true --> <failIfNoTests>false</failIfNoTests>
<skipTests>${skip.unit.tests}</skipTests>
<!-- Excludes integration tests when unit tests are run. -->
<excludes> <excludes>
<exclude></exclude> <exclude></exclude>
</excludes> </excludes>
<skipTests>${skip.unit.tests}</skipTests>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
......
...@@ -71,14 +71,12 @@ ...@@ -71,14 +71,12 @@
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<version>2.19</version> <version>2.19</version>
<configuration> <configuration>
<!-- Sets the VM argument line used when unit tests are run. -->
<argLine>${surefireArgLine}</argLine> <argLine>${surefireArgLine}</argLine>
<!-- Skips unit tests if the value of skip.unit.tests property is true --> <failIfNoTests>false</failIfNoTests>
<skipTests>${skip.unit.tests}</skipTests>
<!-- Excludes integration tests when unit tests are run. -->
<excludes> <excludes>
<exclude></exclude> <exclude></exclude>
</excludes> </excludes>
<skipTests>${skip.unit.tests}</skipTests>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment