You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by bi...@apache.org on 2020/04/14 20:02:42 UTC
[axis-axis2-java-core] 04/14: Avoid SecurityException in codegen
unit tests.
This is an automated email from the ASF dual-hosted git repository.
billblough pushed a commit to branch hermetic-tests
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git
commit 026119965c7a230694de13295188ea8a66a6a959
Author: Andreas Veithen <ve...@apache.org>
AuthorDate: Mon Jan 16 17:51:57 2017 +0000
Avoid SecurityException in codegen unit tests.
---
pom.xml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/pom.xml b/pom.xml
index 7601553..1c4d813 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1323,6 +1323,12 @@
<name>java.io.tmpdir</name>
<value>${project.build.directory}/tmp</value>
</property>
+ <!-- Avoids SecurityException triggered by code that attempts to read config
+ files from the user's home directory. -->
+ <property>
+ <name>user.home</name>
+ <value>${project.build.directory}</value>
+ </property>
</systemProperties>
<argLine>${securityManagerArgs}</argLine>
</configuration>