You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bval.apache.org by mb...@apache.org on 2017/11/03 22:27:40 UTC

[15/51] [abbrv] bval git commit: fix security policy for security testing profile

fix security policy for security testing profile


Project: http://git-wip-us.apache.org/repos/asf/bval/repo
Commit: http://git-wip-us.apache.org/repos/asf/bval/commit/890c2cc5
Tree: http://git-wip-us.apache.org/repos/asf/bval/tree/890c2cc5
Diff: http://git-wip-us.apache.org/repos/asf/bval/diff/890c2cc5

Branch: refs/heads/master
Commit: 890c2cc5436e9b9a67e9721f0fdb811a86e68828
Parents: 4c52e71
Author: Matt Benson <mb...@apache.org>
Authored: Thu Oct 20 21:10:12 2016 +0000
Committer: Matt Benson <mb...@apache.org>
Committed: Thu Oct 20 21:10:12 2016 +0000

----------------------------------------------------------------------
 bval-jsr/pom.xml                        | 7 -------
 bval-jsr/src/test/resources/java.policy | 2 +-
 2 files changed, 1 insertion(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bval/blob/890c2cc5/bval-jsr/pom.xml
----------------------------------------------------------------------
diff --git a/bval-jsr/pom.xml b/bval-jsr/pom.xml
index 6d1d621..7f773af 100644
--- a/bval-jsr/pom.xml
+++ b/bval-jsr/pom.xml
@@ -119,13 +119,6 @@
                                                 <!-- append extra slash on windows only -->
                                                 <replacestring from="file://" to="file://${slash}" />
                                                 <replacestring from="${file.separator}" to="/" />
-                                                <!-- preserve system-specific file separator -->
-                                                <expandproperties>
-                                                    <propertyset>
-                                                        <propertyref prefix="project." />
-                                                        <globmapper from="*" to="preserve.*" />
-                                                    </propertyset>
-                                                </expandproperties>
                                             </filterchain>
                                         </copy>
                                     </target>

http://git-wip-us.apache.org/repos/asf/bval/blob/890c2cc5/bval-jsr/src/test/resources/java.policy
----------------------------------------------------------------------
diff --git a/bval-jsr/src/test/resources/java.policy b/bval-jsr/src/test/resources/java.policy
index bed31d3..09663d5 100644
--- a/bval-jsr/src/test/resources/java.policy
+++ b/bval-jsr/src/test/resources/java.policy
@@ -21,7 +21,7 @@
 grant
 {
   // let everyone read target dir
-  permission java.io.FilePermission "${preserve.project.build.directory}${/}-", "read";
+  permission java.io.FilePermission "${project.build.directory}${/}-", "read";
 };
 
 // we don't care about the permissions of the testing infrastructure,