File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff 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 } ) {
You can’t perform that action at this time.
0 commit comments