Skip to content

Commit a9eb6c1

Browse files
committed
surefire-cached WIP
1 parent e7a9bf9 commit a9eb6c1

1 file changed

Lines changed: 38 additions & 2 deletions

File tree

pom.xml

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363

6464
<!-- plugins -->
6565
<maven-surefire.version>3.2.5</maven-surefire.version>
66+
<surefire-cached.version>0.4-SNAPSHOT</surefire-cached.version>
6667
<surefire.runOrder>alphabetical</surefire.runOrder>
6768
<failsafe.runOrder>alphabetical</failsafe.runOrder>
6869
<maven.javadoc.skip>true</maven.javadoc.skip>
@@ -290,6 +291,13 @@
290291
</profiles>
291292

292293
<build>
294+
<extensions>
295+
<extension>
296+
<groupId>com.github.seregamorph</groupId>
297+
<artifactId>surefire-cached-extension</artifactId>
298+
<version>${surefire-cached.version}</version>
299+
</extension>
300+
</extensions>
293301
<plugins>
294302
<plugin>
295303
<artifactId>maven-compiler-plugin</artifactId>
@@ -347,26 +355,54 @@
347355
</configuration>
348356
</plugin>
349357
<plugin>
358+
<!-- Replaced with surefire-cached-maven-plugin -->
350359
<artifactId>maven-surefire-plugin</artifactId>
360+
<executions>
361+
<execution>
362+
<id>default-test</id>
363+
<phase>none</phase>
364+
</execution>
365+
</executions>
366+
</plugin>
367+
<plugin>
368+
<groupId>com.github.seregamorph</groupId>
369+
<artifactId>surefire-cached-maven-plugin</artifactId>
370+
<executions>
371+
<execution>
372+
<goals>
373+
<goal>test</goal>
374+
</goals>
375+
</execution>
376+
</executions>
351377
<configuration>
352378
<argLine>-Djava.awt.headless=true -Duser.language=en -Duser.country= -Duser.timezone=UTC
353379
${argLine.addOpens}</argLine>
354380
</configuration>
355381
</plugin>
356382
<plugin>
357-
<artifactId>maven-failsafe-plugin</artifactId>
383+
<groupId>com.github.seregamorph</groupId>
384+
<artifactId>failsafe-cached-maven-plugin</artifactId>
358385
<executions>
359386
<execution>
360387
<goals>
361388
<goal>integration-test</goal>
362-
<goal>verify</goal>
363389
</goals>
364390
</execution>
365391
</executions>
366392
<configuration>
367393
<argLine>-Djava.awt.headless=true -Duser.language=en -Duser.country= -Duser.timezone=UTC</argLine>
368394
</configuration>
369395
</plugin>
396+
<plugin>
397+
<artifactId>maven-failsafe-plugin</artifactId>
398+
<executions>
399+
<execution>
400+
<goals>
401+
<goal>verify</goal>
402+
</goals>
403+
</execution>
404+
</executions>
405+
</plugin>
370406
<plugin>
371407
<artifactId>maven-javadoc-plugin</artifactId>
372408
<version>3.8.0</version>

0 commit comments

Comments
 (0)