exclude awssdk:s3 from flyway-core dependency [FINERACT-1172]

see https://github.com/apache/fineract/pull/1355
This commit is contained in:
Michael Vorburger
2020-10-04 18:33:41 +03:00
committed by Petri Tuomola
parent e4f0493aa5
commit 66e26beae1
+8 -1
View File
@@ -106,7 +106,6 @@ dependencyManagement {
dependency 'org.drizzle.jdbc:drizzle-jdbc:1.4'
dependency 'com.github.librepdf:openpdf:1.3.22'
dependency 'org.mnode.ical4j:ical4j:3.0.19'
dependency 'org.flywaydb:flyway-core:7.0.0'
dependency 'org.quartz-scheduler:quartz:2.3.2'
dependency 'com.amazonaws:aws-java-sdk-s3:1.11.874'
dependency 'org.ehcache:ehcache:3.9.0'
@@ -131,6 +130,14 @@ dependencyManagement {
dependency 'org.webjars.npm:swagger-ui-dist:3.35.0'
dependency 'org.webjars:webjars-locator-core:0.46'
dependency ('org.flywaydb:flyway-core:7.0.0') {
// https://issues.apache.org/jira/browse/FINERACT-1172
// https://github.com/apache/fineract/pull/1355
// https://github.com/flyway/flyway/issues/2957
// exclude conflicting non-<optional> dependencies from https://github.com/flyway/flyway/blob/master/flyway-core/pom.xml
exclude 'software.amazon.awssdk:s3'
}
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