downgrade tomcat-el-api to v7x; not technically spec compliant but the TCK passes and it is a provided/optional dependency anyway
Project: http://git-wip-us.apache.org/repos/asf/bval/repo Commit: http://git-wip-us.apache.org/repos/asf/bval/commit/53552526 Tree: http://git-wip-us.apache.org/repos/asf/bval/tree/53552526 Diff: http://git-wip-us.apache.org/repos/asf/bval/diff/53552526 Branch: refs/heads/master Commit: 53552526067c39d53ba620f3edaa1be8e70d41f5 Parents: e10ec52 Author: Matt Benson <[email protected]> Authored: Thu Oct 20 21:06:54 2016 +0000 Committer: Matt Benson <[email protected]> Committed: Thu Oct 20 21:06:54 2016 +0000 ---------------------------------------------------------------------- bval-jsr/pom.xml | 7 ------- bval-jsr/src/test/resources/java.policy | 3 ++- pom.xml | 2 +- 3 files changed, 3 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bval/blob/53552526/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/53552526/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..af0c429 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, @@ -94,6 +94,7 @@ 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/53552526/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 2c32174..3db944d 100644 --- a/pom.xml +++ b/pom.xml @@ -363,7 +363,7 @@ <dependency> <groupId>org.apache.tomcat</groupId> <artifactId>tomcat-el-api</artifactId> - <version>8.0.21</version> + <version>7.0.72</version> <scope>provided</scope> </dependency> </dependencies>
