Skip to content

Commit a919aef

Browse files
authored
surefire-cached-extension adoption (#6)
1 parent 40ad9bf commit a919aef

File tree

2 files changed

+34
-9
lines changed

2 files changed

+34
-9
lines changed

.mvn/extensions.xml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<extensions>
3-
<!--
4-
https://docs.gradle.com/develocity/maven-extension/current/
5-
This extension is used for maven build optimization and enhanced caching.
6-
Config: develocity.xml
7-
Use "-Ddevelocity.cache.local.enabled=false" to disable build cache optimizations.
8-
-->
93
<extension>
10-
<groupId>com.gradle</groupId>
11-
<artifactId>develocity-maven-extension</artifactId>
12-
<version>2.0</version>
4+
<!-- https://github.com/seregamorph/maven-surefire-cached -->
5+
<groupId>com.github.seregamorph</groupId>
6+
<artifactId>surefire-cached-extension</artifactId>
7+
<version>0.12</version>
138
</extension>
149
</extensions>

.mvn/surefire-cached.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"//": "Configuration for Maven surefire-cached-extension",
3+
"common": {
4+
"inputIgnoredProperties": [
5+
"java.version",
6+
"os.arch",
7+
"os.name"
8+
],
9+
"cacheExcludes": [
10+
]
11+
},
12+
"surefire": {
13+
"artifacts": {
14+
"surefire-reports": {
15+
"includes": [
16+
"surefire-reports/TEST-*.xml"
17+
]
18+
}
19+
}
20+
},
21+
"failsafe": {
22+
"artifacts": {
23+
"failsafe-reports": {
24+
"includes": [
25+
"failsafe-reports/TEST-*.xml"
26+
]
27+
}
28+
}
29+
}
30+
}

0 commit comments

Comments
 (0)