Skip to content

Commit

Permalink
workaround liquibase error
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Mar 23, 2024
1 parent 0dd978c commit e87e65b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions generators/server/generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,7 @@ export default class extends ServerGenerator {
languagesGenerator.writeJavaLanguageFiles = true;
}
if (databaseType === 'sql') {
const liquibaseGenerator = await this.composeWithJHipster(GENERATOR_LIQUIBASE);
liquibaseGenerator.injectLogs = false;
liquibaseGenerator.injectBuildTool = false;
await this.composeWithJHipster(GENERATOR_LIQUIBASE);
}
if (['ehcache', 'caffeine', 'hazelcast', 'infinispan', 'memcached', 'redis'].includes(cacheProvider)) {
await this.composeWithJHipster('jhipster-micronaut:micronaut-cache');
Expand All @@ -114,6 +112,7 @@ export default class extends ServerGenerator {
return this.asPreparingTaskGroup({
...super.preparing,
configure({ application }) {
application.springBootDependencies = { liquibase: mnConstants.versions.liquibase };
if (application.authenticationTypeOauth2) {
application.syncUserWithIdp = true;
application.generateBuiltInUserEntity = true;
Expand Down

0 comments on commit e87e65b

Please sign in to comment.