From eb3b0f82a38f3f184f5f8dcf01eda361fcd4e541 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Thu, 14 May 2020 17:55:10 -0700 Subject: [PATCH] Use http liquibase XSDs Update the lquibase test to use `http://` rather than `https://` so that it can be resolved from the local jar. --- .../src/test/resources/db/changelog/db.changelog-override.xml | 4 ++-- src/checkstyle/nohttp-whitelist.txt | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/resources/db/changelog/db.changelog-override.xml b/spring-boot-project/spring-boot-autoconfigure/src/test/resources/db/changelog/db.changelog-override.xml index 52c3ccfe5d..77c318e582 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/resources/db/changelog/db.changelog-override.xml +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/resources/db/changelog/db.changelog-override.xml @@ -3,8 +3,8 @@ 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-3.0.xsd - http://www.liquibase.org/xml/ns/dbchangelog-ext https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd"> + xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.8.xsd + http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd"> diff --git a/src/checkstyle/nohttp-whitelist.txt b/src/checkstyle/nohttp-whitelist.txt index 28ff746dd1..862e79f71c 100644 --- a/src/checkstyle/nohttp-whitelist.txt +++ b/src/checkstyle/nohttp-whitelist.txt @@ -7,3 +7,4 @@ ^http://spockframework.org.* ^http://ganglia.sourceforge.net.* ^http://schemas.xmlsoap.org.* +^http://www.liquibase.org/xml/ns/dbchangelog/.*