Upgrade to Liquibase 4.22.0

Closes gh-35956
pull/35986/head
Andy Wilkinson 1 year ago
parent fdc6f54405
commit 1e17d8eeea

@ -50,6 +50,7 @@ dependencies {
optional("org.hibernate.validator:hibernate-validator") optional("org.hibernate.validator:hibernate-validator")
optional("org.influxdb:influxdb-java") optional("org.influxdb:influxdb-java")
optional("org.liquibase:liquibase-core") { optional("org.liquibase:liquibase-core") {
exclude group: "javax.activation", module: "javax.activation-api"
exclude(group: "javax.xml.bind", module: "jaxb-api") exclude(group: "javax.xml.bind", module: "jaxb-api")
} }
optional("org.mongodb:mongodb-driver-reactivestreams") optional("org.mongodb:mongodb-driver-reactivestreams")

@ -130,6 +130,7 @@ dependencies {
exclude group: "javax.xml.bind", module: "jaxb-api" exclude group: "javax.xml.bind", module: "jaxb-api"
} }
optional("org.liquibase:liquibase-core") { optional("org.liquibase:liquibase-core") {
exclude group: "javax.activation", module: "javax.activation-api"
exclude group: "javax.xml.bind", module: "jaxb-api" exclude group: "javax.xml.bind", module: "jaxb-api"
} }
optional("org.messaginghub:pooled-jms") { optional("org.messaginghub:pooled-jms") {

@ -701,15 +701,13 @@ class FlywayAutoConfigurationTests {
void sqlServerKerberosLoginFileIsCorrectlyMapped() { void sqlServerKerberosLoginFileIsCorrectlyMapped() {
this.contextRunner.withUserConfiguration(EmbeddedDataSourceConfiguration.class) this.contextRunner.withUserConfiguration(EmbeddedDataSourceConfiguration.class)
.withPropertyValues("spring.flyway.sql-server-kerberos-login-file=/tmp/config") .withPropertyValues("spring.flyway.sql-server-kerberos-login-file=/tmp/config")
.run((context) -> { .run((context) -> assertThat(context.getBean(Flyway.class)
assertThat(context.getBean(Flyway.class)
.getConfiguration() .getConfiguration()
.getPluginRegister() .getPluginRegister()
.getPlugin(SQLServerConfigurationExtension.class) .getPlugin(SQLServerConfigurationExtension.class)
.getKerberos() .getKerberos()
.getLogin() .getLogin()
.getFile()).isEqualTo("/tmp/config"); .getFile()).isEqualTo("/tmp/config"));
});
} }
@Test @Test

@ -803,7 +803,7 @@ bom {
} }
library("Liquibase", "4.20.0") { library("Liquibase", "4.20.0") {
prohibit { prohibit {
versionRange "[4.21.0,4.21.2)" versionRange "[4.21.0,4.22.0]"
because "https://github.com/liquibase/liquibase/issues/4135" because "https://github.com/liquibase/liquibase/issues/4135"
} }
group("org.liquibase") { group("org.liquibase") {

@ -75,6 +75,7 @@ dependencies {
exclude(group: "javax.xml.bind", module: "jaxb-api") exclude(group: "javax.xml.bind", module: "jaxb-api")
} }
optional("org.liquibase:liquibase-core") { optional("org.liquibase:liquibase-core") {
exclude group: "javax.activation", module: "javax.activation-api"
exclude(group: "javax.xml.bind", module: "jaxb-api") exclude(group: "javax.xml.bind", module: "jaxb-api")
} }
optional("org.postgresql:postgresql") optional("org.postgresql:postgresql")

Loading…
Cancel
Save