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.
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>