From 93317ff07a4709bb1b0bd7690459fa81630fa3d4 Mon Sep 17 00:00:00 2001 From: Slawomir Jaranowski <s.jaranowski@gmail.com> Date: Tue, 24 Sep 2024 08:23:57 +0200 Subject: [PATCH] [SUREFIRE-2269] Allow fail during clean in surefire-its --- surefire-its/pom.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/surefire-its/pom.xml b/surefire-its/pom.xml index 4e42b55488..13d8f36806 100644 --- a/surefire-its/pom.xml +++ b/surefire-its/pom.xml @@ -114,6 +114,7 @@ </includes> </resource> </resources> + <plugins> <plugin> <artifactId>maven-help-plugin</artifactId> @@ -241,5 +242,18 @@ </plugins> </build> </profile> + <profile> + <id>github</id> + <activation> + <property> + <name>env.GITHUB_ACTIONS</name> + </property> + </activation> + <properties> + <!-- workaround for SUREFIRE-2269 --> + <maven.clean.failOnError>false</maven.clean.failOnError> + <maven.clean.verbose>true</maven.clean.verbose> + </properties> + </profile> </profiles> </project>