Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch liquibase dependency to 3.10.1 version #10482

Merged
merged 1 commit into from
Jul 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bom/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
<jgit.version>5.8.0.202006091008-r</jgit.version>
<flyway.version>6.5.0</flyway.version>
<yasson.version>1.0.7</yasson.version>
<liquibase.version>3.10.0</liquibase.version>
<liquibase.version>3.10.1</liquibase.version>
<snakeyaml.version>1.26</snakeyaml.version>
<osgi.version>6.0.0</osgi.version>
<neo4j-java-driver.version>4.0.1</neo4j-java-driver.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ public void fastServiceLoader(LiquibaseRecorder recorder,
Index index = reader.read();
Map<String, List<String>> services = new HashMap<>();
for (Class<?> c : Arrays.asList(liquibase.diff.compare.DatabaseObjectComparator.class,
liquibase.command.LiquibaseCommand.class,
liquibase.parser.NamespaceDetails.class,
liquibase.precondition.Precondition.class,
liquibase.database.Database.class,
Expand All @@ -120,8 +121,7 @@ public void fastServiceLoader(LiquibaseRecorder recorder,
liquibase.datatype.LiquibaseDataType.class,
liquibase.executor.Executor.class,
liquibase.lockservice.LockService.class,
liquibase.sqlgenerator.SqlGenerator.class,
liquibase.license.LicenseService.class)) {
liquibase.sqlgenerator.SqlGenerator.class)) {
List<String> impls = new ArrayList<>();
services.put(c.getName(), impls);
Set<ClassInfo> classes = new HashSet<>();
Expand All @@ -143,6 +143,11 @@ public void fastServiceLoader(LiquibaseRecorder recorder,
}
}
}
// add license service manually. Index file for windows/jdk11 does not contain
// implementation 'liquibase.pro.packaged.kp' class for interface 'liquibase.license.LicenseService'
services.put(liquibase.license.LicenseService.class.getName(),
Collections.singletonList("liquibase.pro.packaged.kp"));

//if we know what DB types are in use we limit them
//this gives a huge startup time boost
//otherwise it generates SQL for every DB
Expand Down Expand Up @@ -236,8 +241,11 @@ void nativeImageConfiguration(
"www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.7.xsd",
"www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.8.xsd",
"www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.9.xsd",
"www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.10.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",
"www.liquibase.org/xml/ns/pro/liquibase-pro-3.10.xsd",
"liquibase.build.properties"));

// liquibase resource bundles
Expand Down