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:
committed by
Yemdjih Kaze Nasser
parent
fedea8c248
commit
1db6e8d206
@@ -109,10 +109,16 @@ dependencyManagement {
|
|||||||
dependency 'junit:junit:+'
|
dependency 'junit:junit:+'
|
||||||
dependency 'org.mockito:mockito-core:+'
|
dependency 'org.mockito:mockito-core:+'
|
||||||
dependency 'io.github.classgraph:classgraph:4.8.78'
|
dependency 'io.github.classgraph:classgraph:4.8.78'
|
||||||
dependency 'org.dom4j:dom4j:2.1.3'
|
|
||||||
dependency 'org.awaitility:awaitility:4.0.2'
|
dependency 'org.awaitility:awaitility:4.0.2'
|
||||||
dependency 'com.github.spotbugs:spotbugs-annotations:4.0.3'
|
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) {
|
dependencySet(group: 'com.sun.jersey', version: jerseyVersion) {
|
||||||
entry 'jersey-core'
|
entry 'jersey-core'
|
||||||
entry 'jersey-servlet'
|
entry 'jersey-servlet'
|
||||||
@@ -482,7 +488,7 @@ dependencies {
|
|||||||
tomcat "org.apache.tomcat:tomcat:9.0.34@zip"
|
tomcat "org.apache.tomcat:tomcat:9.0.34@zip"
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
errorprone "com.google.errorprone:error_prone_core:2.3.4"
|
errorprone "com.google.errorprone:error_prone_core:2.3.4"
|
||||||
}
|
}
|
||||||
cargo {
|
cargo {
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ dependencies {
|
|||||||
providedRuntime("org.springframework.boot:spring-boot-starter-tomcat")
|
providedRuntime("org.springframework.boot:spring-boot-starter-tomcat")
|
||||||
|
|
||||||
spotbugsPlugins "jp.skypencil.findbugs.slf4j:bug-pattern:1.5.0@jar"
|
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'.
|
// 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.
|
// 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',
|
'com.jayway.jsonpath:json-path',
|
||||||
|
|
||||||
// JAX-B dependencies for JDK 9+
|
// JAX-B dependencies for JDK 9+
|
||||||
"jakarta.xml.bind:jakarta.xml.bind-api",
|
'jakarta.xml.bind:jakarta.xml.bind-api',
|
||||||
"org.dom4j:dom4j",
|
'org.dom4j:dom4j',
|
||||||
|
|
||||||
'com.github.spotbugs:spotbugs-annotations',
|
'com.github.spotbugs:spotbugs-annotations',
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user