revert too-big commit
Project: http://git-wip-us.apache.org/repos/asf/bval/repo Commit: http://git-wip-us.apache.org/repos/asf/bval/commit/1ad2c15f Tree: http://git-wip-us.apache.org/repos/asf/bval/tree/1ad2c15f Diff: http://git-wip-us.apache.org/repos/asf/bval/diff/1ad2c15f Branch: refs/heads/master Commit: 1ad2c15f78752584d02f99c38b95e2adb7e515fe Parents: 5355252 Author: Matt Benson <[email protected]> Authored: Thu Oct 20 21:07:40 2016 +0000 Committer: Matt Benson <[email protected]> Committed: Thu Oct 20 21:07:40 2016 +0000 ---------------------------------------------------------------------- bval-jsr/pom.xml | 7 +++++++ bval-jsr/src/test/resources/java.policy | 3 +-- pom.xml | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bval/blob/1ad2c15f/bval-jsr/pom.xml ---------------------------------------------------------------------- diff --git a/bval-jsr/pom.xml b/bval-jsr/pom.xml index 7f773af..6d1d621 100644 --- a/bval-jsr/pom.xml +++ b/bval-jsr/pom.xml @@ -119,6 +119,13 @@ <!-- 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/1ad2c15f/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 af0c429..bed31d3 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 "${project.build.directory}${/}-", "read"; + permission java.io.FilePermission "${preserve.project.build.directory}${/}-", "read"; }; // we don't care about the permissions of the testing infrastructure, @@ -94,7 +94,6 @@ grant codeBase "file://${project.build.outputDirectory}/-" { permission java.lang.RuntimePermission "accessClassInPackage.com.sun.xml.internal.bind.*"; permission java.lang.RuntimePermission "accessDeclaredMembers"; - permission java.lang.RuntimePermission "getClassLoader"; permission java.lang.reflect.ReflectPermission "suppressAccessChecks"; permission java.io.FilePermission "${user.home}/.m2/repository/-", "read"; permission java.util.PropertyPermission "*", "read"; http://git-wip-us.apache.org/repos/asf/bval/blob/1ad2c15f/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 3db944d..2c32174 100644 --- a/pom.xml +++ b/pom.xml @@ -363,7 +363,7 @@ <dependency> <groupId>org.apache.tomcat</groupId> <artifactId>tomcat-el-api</artifactId> - <version>7.0.72</version> + <version>8.0.21</version> <scope>provided</scope> </dependency> </dependencies>
