diff --git a/docs/src/main/asciidoc/liquibase-mongodb.adoc b/docs/src/main/asciidoc/liquibase-mongodb.adoc index 78080204ac743..78dc1beb65c3e 100644 --- a/docs/src/main/asciidoc/liquibase-mongodb.adoc +++ b/docs/src/main/asciidoc/liquibase-mongodb.adoc @@ -97,7 +97,7 @@ YAML, JSON and XML formats are supported for the changeLog. xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" - xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.4.xsd + xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.9.xsd http://www.liquibase.org/xml/ns/dbchangelog-ext https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd"> diff --git a/docs/src/main/asciidoc/liquibase.adoc b/docs/src/main/asciidoc/liquibase.adoc index c4d82205d20d5..6f1f6525f8c0e 100644 --- a/docs/src/main/asciidoc/liquibase.adoc +++ b/docs/src/main/asciidoc/liquibase.adoc @@ -106,7 +106,7 @@ The yaml, json, xml and sql changeLog file formats are also supported. xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog - https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.4.xsd"> + https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.9.xsd"> diff --git a/extensions/liquibase-mongodb/deployment/src/main/java/io/quarkus/liquibase/mongodb/deployment/LiquibaseMongodbProcessor.java b/extensions/liquibase-mongodb/deployment/src/main/java/io/quarkus/liquibase/mongodb/deployment/LiquibaseMongodbProcessor.java index 398d3d2c7e245..2b8c88bd75f2f 100644 --- a/extensions/liquibase-mongodb/deployment/src/main/java/io/quarkus/liquibase/mongodb/deployment/LiquibaseMongodbProcessor.java +++ b/extensions/liquibase-mongodb/deployment/src/main/java/io/quarkus/liquibase/mongodb/deployment/LiquibaseMongodbProcessor.java @@ -180,6 +180,7 @@ void nativeImageConfiguration( "www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.6.xsd", "www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.7.xsd", "www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.8.xsd", + "www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.9.xsd", "www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd", "www.liquibase.org/xml/ns/pro/liquibase-pro-3.8.xsd", "www.liquibase.org/xml/ns/pro/liquibase-pro-3.9.xsd", @@ -193,6 +194,7 @@ void nativeImageConfiguration( "www.liquibase.org/xml/ns/pro/liquibase-pro-4.6.xsd", "www.liquibase.org/xml/ns/pro/liquibase-pro-4.7.xsd", "www.liquibase.org/xml/ns/pro/liquibase-pro-4.8.xsd", + "www.liquibase.org/xml/ns/pro/liquibase-pro-4.9.xsd", "liquibase.build.properties")); // liquibase resource bundles diff --git a/extensions/liquibase/deployment/src/main/java/io/quarkus/liquibase/deployment/LiquibaseProcessor.java b/extensions/liquibase/deployment/src/main/java/io/quarkus/liquibase/deployment/LiquibaseProcessor.java index 10b570e2c1ace..354ee11506d3f 100644 --- a/extensions/liquibase/deployment/src/main/java/io/quarkus/liquibase/deployment/LiquibaseProcessor.java +++ b/extensions/liquibase/deployment/src/main/java/io/quarkus/liquibase/deployment/LiquibaseProcessor.java @@ -222,6 +222,7 @@ void nativeImageConfiguration( "www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.6.xsd", "www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.7.xsd", "www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.8.xsd", + "www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.9.xsd", "www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd", "www.liquibase.org/xml/ns/pro/liquibase-pro-3.8.xsd", "www.liquibase.org/xml/ns/pro/liquibase-pro-3.9.xsd", @@ -235,6 +236,7 @@ void nativeImageConfiguration( "www.liquibase.org/xml/ns/pro/liquibase-pro-4.6.xsd", "www.liquibase.org/xml/ns/pro/liquibase-pro-4.7.xsd", "www.liquibase.org/xml/ns/pro/liquibase-pro-4.8.xsd", + "www.liquibase.org/xml/ns/pro/liquibase-pro-4.9.xsd", "liquibase.build.properties")); // liquibase resource bundles diff --git a/extensions/liquibase/deployment/src/test/resources/db/all/changeLog.xml b/extensions/liquibase/deployment/src/test/resources/db/all/changeLog.xml index 92eefffcb4095..c3dfc74f8e052 100644 --- a/extensions/liquibase/deployment/src/test/resources/db/all/changeLog.xml +++ b/extensions/liquibase/deployment/src/test/resources/db/all/changeLog.xml @@ -5,7 +5,7 @@ xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog - https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.4.xsd"> + https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.9.xsd"> diff --git a/extensions/liquibase/deployment/src/test/resources/db/changeLog.xml b/extensions/liquibase/deployment/src/test/resources/db/changeLog.xml index faaa786384cda..81e1b479f6445 100644 --- a/extensions/liquibase/deployment/src/test/resources/db/changeLog.xml +++ b/extensions/liquibase/deployment/src/test/resources/db/changeLog.xml @@ -2,7 +2,7 @@ + xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.9.xsd"> diff --git a/extensions/liquibase/deployment/src/test/resources/db/inventory/changeLog.xml b/extensions/liquibase/deployment/src/test/resources/db/inventory/changeLog.xml index 83bc8ecba7a40..d6111469592b3 100644 --- a/extensions/liquibase/deployment/src/test/resources/db/inventory/changeLog.xml +++ b/extensions/liquibase/deployment/src/test/resources/db/inventory/changeLog.xml @@ -2,7 +2,7 @@ + xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.9.xsd"> diff --git a/extensions/liquibase/deployment/src/test/resources/db/users/changeLog.xml b/extensions/liquibase/deployment/src/test/resources/db/users/changeLog.xml index 83bc8ecba7a40..d6111469592b3 100644 --- a/extensions/liquibase/deployment/src/test/resources/db/users/changeLog.xml +++ b/extensions/liquibase/deployment/src/test/resources/db/users/changeLog.xml @@ -2,7 +2,7 @@ + xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.9.xsd"> diff --git a/extensions/liquibase/deployment/src/test/resources/db/xml/changeLog.xml b/extensions/liquibase/deployment/src/test/resources/db/xml/changeLog.xml index 9da6eaf53737b..653a3813911a8 100644 --- a/extensions/liquibase/deployment/src/test/resources/db/xml/changeLog.xml +++ b/extensions/liquibase/deployment/src/test/resources/db/xml/changeLog.xml @@ -2,7 +2,7 @@ xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog - https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.4.xsd"> + https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.9.xsd"> diff --git a/extensions/liquibase/deployment/src/test/resources/db/xml/create-tables.xml b/extensions/liquibase/deployment/src/test/resources/db/xml/create-tables.xml index 3aa25e29b198a..fa380295af5f5 100644 --- a/extensions/liquibase/deployment/src/test/resources/db/xml/create-tables.xml +++ b/extensions/liquibase/deployment/src/test/resources/db/xml/create-tables.xml @@ -2,7 +2,7 @@ + xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.9.xsd"> diff --git a/extensions/liquibase/deployment/src/test/resources/db/xml/create-views.xml b/extensions/liquibase/deployment/src/test/resources/db/xml/create-views.xml index 6b6306447d404..27e20abb6a56c 100644 --- a/extensions/liquibase/deployment/src/test/resources/db/xml/create-views.xml +++ b/extensions/liquibase/deployment/src/test/resources/db/xml/create-views.xml @@ -2,7 +2,7 @@ + xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.9.xsd"> diff --git a/extensions/liquibase/deployment/src/test/resources/db/xml/test/test.xml b/extensions/liquibase/deployment/src/test/resources/db/xml/test/test.xml index 6ca7711abe8f3..5fee4dc5842af 100644 --- a/extensions/liquibase/deployment/src/test/resources/db/xml/test/test.xml +++ b/extensions/liquibase/deployment/src/test/resources/db/xml/test/test.xml @@ -2,7 +2,7 @@ + xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.9.xsd"> diff --git a/integration-tests/liquibase-mongodb/src/main/resources/liquibase/changelog.xml b/integration-tests/liquibase-mongodb/src/main/resources/liquibase/changelog.xml index 39f1a9988f700..39c2287db95cd 100644 --- a/integration-tests/liquibase-mongodb/src/main/resources/liquibase/changelog.xml +++ b/integration-tests/liquibase-mongodb/src/main/resources/liquibase/changelog.xml @@ -2,7 +2,7 @@ xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" - xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.4.xsd + xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.9.xsd http://www.liquibase.org/xml/ns/dbchangelog-ext https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd"> diff --git a/integration-tests/liquibase/src/main/resources/db/changeLog.xml b/integration-tests/liquibase/src/main/resources/db/changeLog.xml index fb7b8d51d7dcd..15b0d18cc7f53 100644 --- a/integration-tests/liquibase/src/main/resources/db/changeLog.xml +++ b/integration-tests/liquibase/src/main/resources/db/changeLog.xml @@ -2,7 +2,7 @@ xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog - https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.4.xsd"> + https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.9.xsd"> diff --git a/integration-tests/liquibase/src/main/resources/db/complex-schema/changeLog.xml b/integration-tests/liquibase/src/main/resources/db/complex-schema/changeLog.xml index d89443667da0c..5fbe1cfb51f16 100644 --- a/integration-tests/liquibase/src/main/resources/db/complex-schema/changeLog.xml +++ b/integration-tests/liquibase/src/main/resources/db/complex-schema/changeLog.xml @@ -3,7 +3,7 @@ xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.4.xsd + xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.9.xsd http://www.liquibase.org/xml/ns/dbchangelog-ext https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd"> diff --git a/integration-tests/liquibase/src/main/resources/db/update/changeLog.xml b/integration-tests/liquibase/src/main/resources/db/update/changeLog.xml index 33573bf124403..d56c5ee0bf373 100644 --- a/integration-tests/liquibase/src/main/resources/db/update/changeLog.xml +++ b/integration-tests/liquibase/src/main/resources/db/update/changeLog.xml @@ -2,7 +2,7 @@ + xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.9.xsd"> diff --git a/integration-tests/liquibase/src/main/resources/db/xml/changeLog.xml b/integration-tests/liquibase/src/main/resources/db/xml/changeLog.xml index 720b07d183e6c..2eb678c95fa5c 100644 --- a/integration-tests/liquibase/src/main/resources/db/xml/changeLog.xml +++ b/integration-tests/liquibase/src/main/resources/db/xml/changeLog.xml @@ -2,7 +2,7 @@ xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog - https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.4.xsd"> + https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.9.xsd"> @@ -10,5 +10,7 @@ - + + diff --git a/integration-tests/liquibase/src/main/resources/db/xml/create-tables.xml b/integration-tests/liquibase/src/main/resources/db/xml/create-tables.xml index 6cd6a6a6d2673..72434ed3b9f81 100644 --- a/integration-tests/liquibase/src/main/resources/db/xml/create-tables.xml +++ b/integration-tests/liquibase/src/main/resources/db/xml/create-tables.xml @@ -2,7 +2,7 @@ + xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.9.xsd"> diff --git a/integration-tests/liquibase/src/main/resources/db/xml/create-views.xml b/integration-tests/liquibase/src/main/resources/db/xml/create-views.xml index 7a9d59b4a6cb3..f6783b801526e 100644 --- a/integration-tests/liquibase/src/main/resources/db/xml/create-views.xml +++ b/integration-tests/liquibase/src/main/resources/db/xml/create-views.xml @@ -2,7 +2,7 @@ + xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.9.xsd"> diff --git a/integration-tests/liquibase/src/main/resources/db/xml/includeAll/test1.xml b/integration-tests/liquibase/src/main/resources/db/xml/includeAll/test1.xml index 62e4b0bc4cf0f..f1530fa1b996d 100644 --- a/integration-tests/liquibase/src/main/resources/db/xml/includeAll/test1.xml +++ b/integration-tests/liquibase/src/main/resources/db/xml/includeAll/test1.xml @@ -2,7 +2,7 @@ + xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.9.xsd"> diff --git a/integration-tests/liquibase/src/main/resources/db/xml/includeAll/test2.xml b/integration-tests/liquibase/src/main/resources/db/xml/includeAll/test2.xml index 46d9ae0230c6c..e1ccdbd000a80 100644 --- a/integration-tests/liquibase/src/main/resources/db/xml/includeAll/test2.xml +++ b/integration-tests/liquibase/src/main/resources/db/xml/includeAll/test2.xml @@ -2,7 +2,7 @@ + xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.9.xsd"> diff --git a/integration-tests/liquibase/src/main/resources/db/xml/test/test.xml b/integration-tests/liquibase/src/main/resources/db/xml/test/test.xml index 6ca7711abe8f3..5fee4dc5842af 100644 --- a/integration-tests/liquibase/src/main/resources/db/xml/test/test.xml +++ b/integration-tests/liquibase/src/main/resources/db/xml/test/test.xml @@ -2,7 +2,7 @@ + xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.9.xsd"> diff --git a/integration-tests/liquibase/src/test/java/io/quarkus/it/liquibase/LiquibaseFunctionalityNativeIT.java b/integration-tests/liquibase/src/test/java/io/quarkus/it/liquibase/LiquibaseFunctionalityNativeIT.java index b67977e5821b2..f252e73b1d8d5 100644 --- a/integration-tests/liquibase/src/test/java/io/quarkus/it/liquibase/LiquibaseFunctionalityNativeIT.java +++ b/integration-tests/liquibase/src/test/java/io/quarkus/it/liquibase/LiquibaseFunctionalityNativeIT.java @@ -5,6 +5,8 @@ @QuarkusIntegrationTest public class LiquibaseFunctionalityNativeIT extends LiquibaseFunctionalityTest { + // see: https://github.com/quarkusio/quarkus/issues/16292 + // if this is ever resolved, make sure to remove errorIfMissingOrEmpty="false" from includeAll in changeLog.xml @Override protected boolean isIncludeAllExpectedToWork() { return false;