From d65407912d6506a56c5db78384f5eba723a912ed Mon Sep 17 00:00:00 2001 From: Rick Herrick <jrherrick@wustl.edu> Date: Wed, 24 Aug 2016 16:35:58 -0500 Subject: [PATCH] XNAT-4482 Removed old Saxon dependencies, which used a configuration file format that became unsupported as of Java 8. Replaced with last open release of primary Saxon 9.1.0.8 library (newer Saxon-HE library changed API so that PipelineManager didn't compile, and other XPath implementations would also require migrating that same code). --- build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.gradle b/build.gradle index 78832236..808fae3f 100644 --- a/build.gradle +++ b/build.gradle @@ -14,6 +14,7 @@ def vCargo = '1.4.18' def vSlf4j = '1.7.15' def vLog4j = '1.2.17' def vJunit = '4.12' +// def vSaxon = '9.7.0-7' def vSaxon = '9.1.0.8' def vGroovy = '2.4.6' def vJython = '2.7.0' @@ -271,6 +272,9 @@ configurations { all*.exclude group: 'org.nrg.xdat', module: 'beans' all*.exclude group: 'org.nrg.xnat', module: 'web' all*.exclude group: 'net.sf.saxon', module: 'saxon' + all*.exclude group: 'net.sf.saxon', module: 'saxon-dom' + all*.exclude group: 'net.sf.saxon', module: 'saxon-xpath' + all*.exclude group: 'net.sf.saxon', module: 'Saxon-B' all*.exclude group: 'stax', module: 'stax-api' all*.exclude group: 'xml-apis', module: 'xml-apis' all*.exclude module: 'commons-beanutils-core' @@ -389,6 +393,7 @@ dependencies { compile "org.codehaus.groovy:groovy-all:${vGroovy}" compile "org.python:jython-standalone:${vJython}" + // compile "net.sf.saxon:Saxon-HE:${vSaxon}" compile "net.sourceforge.saxon:saxon:${vSaxon}" compile "xalan:xalan:2.7.2" -- GitLab