use surefire 3.0.0 M7 SNAPSHOT so we can restore running all tests with -Dmaven.test.failure.ignore=true (#8036)

* test surefire 3.0.0-M7-SNAPSHOT and restore -Dmaven.test.failure.ignore=true
* add apache snapshots repository

Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
This commit is contained in:
Olivier Lamy 2022-05-24 10:44:47 +10:00 committed by GitHub
parent d2df269752
commit cb496f7447
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -141,7 +141,7 @@ def mavenBuild(jdk, cmdline, mvnName) {
"MAVEN_OPTS=-Xms2g -Xmx4g -Djava.awt.headless=true"]) { "MAVEN_OPTS=-Xms2g -Xmx4g -Djava.awt.headless=true"]) {
configFileProvider( configFileProvider(
[configFile(fileId: 'oss-settings.xml', variable: 'GLOBAL_MVN_SETTINGS')]) { [configFile(fileId: 'oss-settings.xml', variable: 'GLOBAL_MVN_SETTINGS')]) {
sh "mvn --no-transfer-progress -s $GLOBAL_MVN_SETTINGS -Pci --show-version --batch-mode --errors -Djetty.testtracker.log=true $cmdline" sh "mvn --no-transfer-progress -s $GLOBAL_MVN_SETTINGS -Pci --show-version --batch-mode --errors -Djetty.testtracker.log=true -Dmaven.test.failure.ignore=true $cmdline"
} }
} }
} }

15
pom.xml
View File

@ -132,7 +132,7 @@
<maven.resources.plugin.version>3.2.0</maven.resources.plugin.version> <maven.resources.plugin.version>3.2.0</maven.resources.plugin.version>
<maven.shade.plugin.version>3.2.4</maven.shade.plugin.version> <maven.shade.plugin.version>3.2.4</maven.shade.plugin.version>
<maven.site.plugin.version>3.10.0</maven.site.plugin.version> <maven.site.plugin.version>3.10.0</maven.site.plugin.version>
<maven.surefire.plugin.version>3.0.0-M5</maven.surefire.plugin.version> <maven.surefire.plugin.version>3.0.0-M7-SNAPSHOT</maven.surefire.plugin.version>
<maven.source.plugin.version>3.2.1</maven.source.plugin.version> <maven.source.plugin.version>3.2.1</maven.source.plugin.version>
<maven.war.plugin.version>3.3.2</maven.war.plugin.version> <maven.war.plugin.version>3.3.2</maven.war.plugin.version>
<spotbugs.maven.plugin.version>4.7.0.0</spotbugs.maven.plugin.version> <spotbugs.maven.plugin.version>4.7.0.0</spotbugs.maven.plugin.version>
@ -168,6 +168,19 @@
<url>https://github.com/eclipse/jetty.project</url> <url>https://github.com/eclipse/jetty.project</url>
</scm> </scm>
<pluginRepositories>
<pluginRepository>
<id>apache.snapshots</id>
<url>https://repository.apache.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<modules> <modules>
<module>build</module> <module>build</module>
<!-- <module>documentation</module>--> <!-- <module>documentation</module>-->