Author: asoldano
Date: 2013-09-10 12:09:55 -0400 (Tue, 10 Sep 2013)
New Revision: 17906
Modified:
stack/cxf/trunk/modules/testsuite/pom.xml
Log:
[JBWS-3685][UNDERTOW-102] Adding 'secmgr' maven profile for excluding tests
failing with security manager enabled on server side
Modified: stack/cxf/trunk/modules/testsuite/pom.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/pom.xml 2013-09-06 06:19:25 UTC (rev 17905)
+++ stack/cxf/trunk/modules/testsuite/pom.xml 2013-09-10 16:09:55 UTC (rev 17906)
@@ -260,6 +260,8 @@
</goals>
<configuration>
<skip>false</skip>
+ <excludes combine.children="append">
+ </excludes>
<includes>
<include>**/*Test.java</include>
<include>**/*TestCase.java</include>
@@ -851,7 +853,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>${surefire.jvm.args} ${surefire.jvm.management.args}
${surefire.default-mgmt-serurity.args}
-Djava.endorsed.dirs=${project.build.directory}/endorsed</argLine>
- <excludes>
+ <excludes combine.children="append">
<!--# JAX-RPC removed in EE 7 -->
<exclude>org/jboss/test/ws/jaxrpc/**</exclude>
@@ -888,6 +890,27 @@
</plugins>
</build>
</profile>
+
+ <!--
+ Name: secmgr
+ Descr: Additional testsuite exclusions when running against a container with security
manager enabled
+ -->
+ <profile>
+ <id>secmgr</id>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <excludes combine.children="append">
+ <!-- [UNDERTOW-102] Permission check failed for
("java.lang.RuntimePermission" "MODIFY_UNDERTOW_SECURITY_CONTEXT")
-->
+
<exclude>org/jboss/test/ws/jaxws/samples/asynch/AsynchTestCase*</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
<!--
Name: no-jboss-bind-address
Show replies by date