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

neilcsmith pushed a commit to branch delivery
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/delivery by this push:
     new 77185eab0f Enable JUnit output processing if the Maven goals include 
failsafe:integration-test
     new 7c99436d83 Merge pull request #6654 from neilcsmith-net/gh6448
77185eab0f is described below

commit 77185eab0f6a40b02364063ae383a0af967ceff2
Author: Neil C Smith <neilcsm...@apache.org>
AuthorDate: Thu Nov 2 12:06:17 2023 +0000

    Enable JUnit output processing if the Maven goals include 
failsafe:integration-test
---
 .../org/netbeans/modules/maven/junit/JUnitOutputProcessorFactory.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/java/maven.junit/src/org/netbeans/modules/maven/junit/JUnitOutputProcessorFactory.java
 
b/java/maven.junit/src/org/netbeans/modules/maven/junit/JUnitOutputProcessorFactory.java
index e9d09d953d..060100b174 100644
--- 
a/java/maven.junit/src/org/netbeans/modules/maven/junit/JUnitOutputProcessorFactory.java
+++ 
b/java/maven.junit/src/org/netbeans/modules/maven/junit/JUnitOutputProcessorFactory.java
@@ -48,8 +48,9 @@ public class JUnitOutputProcessorFactory implements 
ContextOutputProcessorFactor
         if (config.getGoals().contains("test") //NOI18N
             || config.getGoals().contains("integration-test") //NOI18N
             || config.getGoals().contains("surefire:test") //NOI81N
+            || config.getGoals().contains("failsafe:integration-test") //NOI18N
             || config.getGoals().contains("verify")) { //NOI18N
-            Set<OutputProcessor> toReturn = new HashSet<OutputProcessor>();
+            Set<OutputProcessor> toReturn = new HashSet<>();
             if (project != null) {
                 toReturn.add(new JUnitOutputListenerProvider(config));
             }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to