mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-01 03:20:20 +02:00
allow to set excludedGroups on command line
This commit is contained in:
@@ -94,7 +94,7 @@ on your shell:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
mvn test
|
mvn test
|
||||||
mvn test -Dgroups=flaky,slow
|
mvn test -DexcludedGroups= -Dgroups=flaky,slow
|
||||||
mvn test '-Dgroups=!slow'
|
mvn test '-Dgroups=!slow'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
3
pom.xml
3
pom.xml
@@ -7,6 +7,7 @@
|
|||||||
<name>ripme</name>
|
<name>ripme</name>
|
||||||
<url>http://rip.rarchives.com</url>
|
<url>http://rip.rarchives.com</url>
|
||||||
<properties>
|
<properties>
|
||||||
|
<excludedGroups>flaky</excludedGroups>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
</properties>
|
</properties>
|
||||||
<dependencyManagement>
|
<dependencyManagement>
|
||||||
@@ -145,7 +146,7 @@
|
|||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
<version>3.0.0-M5</version>
|
<version>3.0.0-M5</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<excludedGroups>flaky</excludedGroups>
|
<excludedGroups>${excludedGroups}</excludedGroups>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
|
Reference in New Issue
Block a user