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 <[email protected]> Authored: Thu Oct 20 21:10:12 2016 +0000 Committer: Matt Benson <[email protected]> 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,
