Running lang under a security manager and LANG-744.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1165437 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2011-09-05 22:20:44 +00:00
parent c014f1c13c
commit 7dc2291733
1 changed files with 26 additions and 12 deletions

20
pom.xml
View File

@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
project
<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
@ -475,13 +475,27 @@ project
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<executions>
<execution>
<id>plain</id>
<configuration>
<includes>
<include>**/*Test.java</include>
</includes>
<!-- Test [LANG-744] StringUtils throws java.security.AccessControlException on Google App Engine. -->
<!-- <argLine>-Djava.security.manager -Djava.security.policy=${basedir}/src/test/resources/java.policy</argLine> -->
</configuration>
</execution>
<!--
<execution>
<id>security-manager</id>
<configuration>
<includes>
<include>**/*Test.java</include>
</includes>
<argLine>-Djava.security.manager -Djava.security.policy=${basedir}/src/test/resources/java.policy</argLine>
</configuration>
</execution>
-->
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>