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 ve...@apache.org on 2017/01/16 17:51:57 UTC

svn commit: r1779072 - /axis/axis2/java/core/branches/hermetic-tests/pom.xml

Author: veithen
Date: Mon Jan 16 17:51:57 2017
New Revision: 1779072

URL: http://svn.apache.org/viewvc?rev=1779072&view=rev
Log:
Avoid SecurityException in codegen unit tests.

Modified:
    axis/axis2/java/core/branches/hermetic-tests/pom.xml

Modified: axis/axis2/java/core/branches/hermetic-tests/pom.xml
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/branches/hermetic-tests/pom.xml?rev=1779072&r1=1779071&r2=1779072&view=diff
==============================================================================
--- axis/axis2/java/core/branches/hermetic-tests/pom.xml (original)
+++ axis/axis2/java/core/branches/hermetic-tests/pom.xml Mon Jan 16 17:51:57 2017
@@ -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>