We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 705767c commit d9561deCopy full SHA for d9561de
generators/liquibase/generator.ts
@@ -341,7 +341,15 @@ export default class LiquibaseGenerator<
341
},
342
addDependencies({ application, source }) {
343
if ((application as SpringDataRelationalApplication).backendTypeSpringBoot) {
344
- (source as SpringBootSource).addSpringBootModule?.('spring-boot-starter-liquibase');
+ source.addJavaDependencies!([
345
+ {
346
+ groupId: 'org.springframework.boot',
347
+ artifactId: 'spring-boot-starter-liquibase',
348
+ exclusions: (application as SpringDataRelationalApplication).databaseTypeNeo4j
349
+ ? [{ groupId: 'org.springframework.boot', artifactId: 'spring-boot-starter-jdbc' }]
350
+ : undefined,
351
+ },
352
+ ]);
353
}
354
355
customizeMaven({ source, application }) {
0 commit comments