This is an automated email from the ASF dual-hosted git repository.

olamy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git


The following commit(s) were added to refs/heads/master by this push:
     new 7eb1c7dde Use only verify goal (#3631)
7eb1c7dde is described below

commit 7eb1c7dde2caf2ddb22189c198020ea9733b1962
Author: Olivier Lamy <[email protected]>
AuthorDate: Sun Nov 22 21:28:11 2026 +1000

    Use only verify goal (#3631)
    
    * Use only verify goal
    
    Signed-off-by: Olivier Lamy <[email protected]>
    
    * Really fix only verify run
    
    Signed-off-by: Olivier Lamy <[email protected]>
    
    ---------
    
    Signed-off-by: Olivier Lamy <[email protected]>
---
 .github/workflows/maven-verify.yml | 2 +-
 Jenkinsfile                        | 2 +-
 surefire-its/pom.xml               | 4 +++-
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/maven-verify.yml 
b/.github/workflows/maven-verify.yml
index 4c33a5281..386d53870 100644
--- a/.github/workflows/maven-verify.yml
+++ b/.github/workflows/maven-verify.yml
@@ -40,7 +40,7 @@ jobs:
       # Gives Surefire2151ToolchainForkDiscoveryIT a toolchain JDK that really 
differs from
       # the JVM running Maven. Without it the test never gets to the fork it 
is about.
       # Only the x64 bash runners expand this; elsewhere it is empty and the 
test skips.
-      verify-goal: 'clean install -nsu -P run-its 
"-Dsurefire.test.toolchain.jdkHome=$JAVA_HOME_25_X64"'
+      verify-goal: 'clean verify -nsu -P run-its 
"-Dsurefire.test.toolchain.jdkHome=$JAVA_HOME_25_X64"'
       verify-fail-fast: false
       # Investigation reasons: Some tests generate custom files, standard 
reports and logs.
       # Remove the line with `*-jvmRun*-events.bin` pattern if large streams 
should be investigated.
diff --git a/Jenkinsfile b/Jenkinsfile
index b32c4a654..1d31cbcfe 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -36,7 +36,7 @@ final def mavens = ['3.x.x']
 final def jdks = [21]
 
 final def options = ['-e', '-V', '-B', '-nsu', '-P', 'run-its']
-final def goals = ['clean', 'install']
+final def goals = ['clean', 'verify']
 final def goalsDepl = ['clean', 'deploy']
 final Map stages = [:]
 
diff --git a/surefire-its/pom.xml b/surefire-its/pom.xml
index 77276a638..39cbaa9a6 100644
--- a/surefire-its/pom.xml
+++ b/surefire-its/pom.xml
@@ -260,9 +260,11 @@
             <artifactId>maven-invoker-plugin</artifactId>
             <configuration>
               
<localRepositoryPath>${settings.localRepository}</localRepositoryPath>
-              <!-- the plugins only fetch the provider when tests run, so 
invoker would not install it otherwise -->
+              <!-- the ITs use these but surefire-its does not depend on them, 
so invoker would not install them otherwise -->
               <extraArtifacts>
                 
<extraArtifact>org.apache.maven.surefire:surefire-junit-platform:${project.version}:jar</extraArtifact>
+                
<extraArtifact>org.apache.maven.surefire:surefire-shadefire:${project.version}:jar</extraArtifact>
+                
<extraArtifact>org.apache.maven.plugins:maven-surefire-report-plugin:${project.version}:jar</extraArtifact>
               </extraArtifacts>
             </configuration>
             <executions>

Reply via email to