Skip to content

Commit 49b9268

Browse files
committed
neo4j adjusts
1 parent 75ffa3c commit 49b9268

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

generators/liquibase/generator.ts

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,22 @@ export default class LiquibaseGenerator<
341341
},
342342
addDependencies({ application, source }) {
343343
if ((application as SpringDataRelationalApplication).backendTypeSpringBoot) {
344-
(source as SpringBootSource).addSpringBootModule?.('spring-boot-starter-liquibase');
344+
source.addJavaDependencies!([
345+
{
346+
groupId: 'org.springframework.boot',
347+
artifactId: 'spring-boot-starter-liquibase',
348+
exclusions: [
349+
{
350+
groupId: 'org.springframework.boot',
351+
artifactId: 'spring-boot-jdbc',
352+
},
353+
{
354+
groupId: 'org.springframework.boot',
355+
artifactId: 'spring-boot-starter-jdbc',
356+
},
357+
],
358+
},
359+
]);
345360
}
346361
},
347362
customizeMaven({ source, application }) {

0 commit comments

Comments
 (0)