Attempt to fix surefire on Appveyor

This commit is contained in:
Antonin Delpeuch 2019-08-28 10:08:22 +01:00
parent a67bc991f9
commit 6c128d6692
9 changed files with 13 additions and 8 deletions

View File

@ -51,6 +51,10 @@ test_script:
refine test refine test
on_failure:
- cmd: |-
dir
cache: cache:
- C:\Users\appveyor\.m2 - C:\Users\appveyor\.m2

View File

@ -64,7 +64,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<version>2.22.0</version> <version>2.22.2</version>
<configuration> <configuration>
<suiteXmlFiles> <suiteXmlFiles>
<suiteXmlFile>tests/conf/tests.xml</suiteXmlFile> <suiteXmlFile>tests/conf/tests.xml</suiteXmlFile>

View File

@ -64,7 +64,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<version>2.22.0</version> <version>${surefire.version}</version>
<configuration> <configuration>
<skip>true</skip> <skip>true</skip>
</configuration> </configuration>

View File

@ -66,7 +66,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<version>2.22.0</version> <version>${surefire.version}</version>
<configuration> <configuration>
<suiteXmlFiles> <suiteXmlFiles>
<suiteXmlFile>tests/conf/tests.xml</suiteXmlFile> <suiteXmlFile>tests/conf/tests.xml</suiteXmlFile>

View File

@ -64,7 +64,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<version>2.22.0</version> <version>${surefire.version}</version>
<configuration> <configuration>
<skip>true</skip> <skip>true</skip>
</configuration> </configuration>

View File

@ -66,7 +66,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<version>2.22.0</version> <version>${surefire.version}</version>
<configuration> <configuration>
<suiteXmlFiles> <suiteXmlFiles>
<suiteXmlFile>tests/conf/tests.xml</suiteXmlFile> <suiteXmlFile>tests/conf/tests.xml</suiteXmlFile>

View File

@ -73,7 +73,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<version>2.22.0</version> <version>${surefire.version}</version>
<configuration> <configuration>
<suiteXmlFiles> <suiteXmlFiles>
<suiteXmlFile>tests/conf/tests.xml</suiteXmlFile> <suiteXmlFile>tests/conf/tests.xml</suiteXmlFile>

View File

@ -80,7 +80,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<version>2.22.0</version> <version>${surefire.version}</version>
<configuration> <configuration>
<suiteXmlFiles> <suiteXmlFiles>
<suiteXmlFile>tests/server/conf/tests.xml</suiteXmlFile> <suiteXmlFile>tests/server/conf/tests.xml</suiteXmlFile>

View File

@ -22,6 +22,7 @@
<jee.path>/</jee.path> <jee.path>/</jee.path>
<jee.port>3333</jee.port> <jee.port>3333</jee.port>
<refine.data>/tmp/refine</refine.data> <refine.data>/tmp/refine</refine.data>
<surefire.version>2.22.2</surefire.version>
<surefireArgs></surefireArgs> <surefireArgs></surefireArgs>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties> </properties>
@ -90,7 +91,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<version>2.22.0</version> <version>${surefire.version}</version>
<configuration> <configuration>
<argLine>${surefireArgs}</argLine> <argLine>${surefireArgs}</argLine>
<suiteXmlFiles> <suiteXmlFiles>