fix ClasspathHellDuplicatesCheckRuleTest (FINERACT-966)

and prevent FINERACT-940 related javax.xml.parsers problems

as per https://github.com/spotbugs/spotbugs/issues/1128
This commit is contained in:
Michael Vorburger
2020-05-29 06:13:23 +01:00
committed by Yemdjih Kaze Nasser
parent fedea8c248
commit 1db6e8d206
2 changed files with 11 additions and 4 deletions
+8 -2
View File
@@ -109,10 +109,16 @@ dependencyManagement {
dependency 'junit:junit:+'
dependency 'org.mockito:mockito-core:+'
dependency 'io.github.classgraph:classgraph:4.8.78'
dependency 'org.dom4j:dom4j:2.1.3'
dependency 'org.awaitility:awaitility:4.0.2'
dependency 'com.github.spotbugs:spotbugs-annotations:4.0.3'
dependency ('org.dom4j:dom4j:2.1.3') {
exclude 'relaxngDatatype:relaxngDatatype' // already in com.sun.xml.bind:jaxb-osgi:2.3.0.1
// FINERACT-940 && FINERACT-966 https://github.com/spotbugs/spotbugs/issues/1128
exclude 'xpp3:xpp3'
exclude 'pull-parser:pull-parser'
}
dependencySet(group: 'com.sun.jersey', version: jerseyVersion) {
entry 'jersey-core'
entry 'jersey-servlet'
@@ -482,7 +488,7 @@ dependencies {
tomcat "org.apache.tomcat:tomcat:9.0.34@zip"
}
dependencies {
dependencies {
errorprone "com.google.errorprone:error_prone_core:2.3.4"
}
cargo {
+3 -2
View File
@@ -20,6 +20,7 @@ dependencies {
providedRuntime("org.springframework.boot:spring-boot-starter-tomcat")
spotbugsPlugins "jp.skypencil.findbugs.slf4j:bug-pattern:1.5.0@jar"
spotbugs 'com.github.spotbugs:spotbugs:4.0.3'
// Never use "compile" scope, but make all dependencies either 'implementation', 'runtimeOnly' or 'testCompile'.
// Note that we never use 'api', because Fineract at least currently is a simple monolithic application ("WAR"), not a library.
@@ -70,8 +71,8 @@ dependencies {
'com.jayway.jsonpath:json-path',
// JAX-B dependencies for JDK 9+
"jakarta.xml.bind:jakarta.xml.bind-api",
"org.dom4j:dom4j",
'jakarta.xml.bind:jakarta.xml.bind-api',
'org.dom4j:dom4j',
'com.github.spotbugs:spotbugs-annotations',
)