You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by st...@apache.org on 2020/05/15 19:17:55 UTC

[deltaspike] branch master updated: DELTASPIKE-1409 disable test-control tests for Weld2

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

struberg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/deltaspike.git


The following commit(s) were added to refs/heads/master by this push:
     new 70b5893  DELTASPIKE-1409 disable test-control tests for Weld2
70b5893 is described below

commit 70b589387e94fc21d201f10b8b930362cbee07f7
Author: Mark Struberg <st...@apache.org>
AuthorDate: Fri May 15 21:16:24 2020 +0200

    DELTASPIKE-1409 disable test-control tests for Weld2
    
    Weld2 has a problem with handling @Alternative classes which got vetoed.
    Those tests work perfectly fine on Weld1, Weld3, OWB (any version) and
    various EE containers. It's just broken on Weld2.
---
 deltaspike/modules/test-control/impl/pom.xml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/deltaspike/modules/test-control/impl/pom.xml b/deltaspike/modules/test-control/impl/pom.xml
index 5c12ddd..1c24e07 100644
--- a/deltaspike/modules/test-control/impl/pom.xml
+++ b/deltaspike/modules/test-control/impl/pom.xml
@@ -190,6 +190,22 @@
 
                 <!-- The remaining bits of this profile are located under deltaspike/parent/code/pom.xml -->
             </dependencies>
+
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-surefire-plugin</artifactId>
+                        <configuration>
+                            <!--
+                                Weld2 behaves weird when it comes to excluding @Alternative classes
+                                Those tests work fine with Weld1, Weld3 and all OWB versions, but not with Weld2
+                            -->
+                            <skip>true</skip>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
         </profile>
         <profile>
             <id>Weld3</id>