diff --git a/src/main/java/tech/jhipster/lite/generator/server/javatool/protobuf/infrastructure/primary/ProtobufModuleConfiguration.java b/src/main/java/tech/jhipster/lite/generator/server/javatool/protobuf/infrastructure/primary/ProtobufModuleConfiguration.java index 1a42ccbdeac..3b0ed1eb640 100644 --- a/src/main/java/tech/jhipster/lite/generator/server/javatool/protobuf/infrastructure/primary/ProtobufModuleConfiguration.java +++ b/src/main/java/tech/jhipster/lite/generator/server/javatool/protobuf/infrastructure/primary/ProtobufModuleConfiguration.java @@ -31,7 +31,9 @@ JHipsterModuleResource protobufBackwardsCompatibilityCheckModule(ProtobufApplica .slug(JHLiteModuleSlug.PROTOBUF_BACKWARDS_COMPATIBILITY_CHECK) .propertiesDefinition(JHipsterModulePropertiesDefinition.builder().addBasePackage().addIndentation().build()) .apiDoc("Java", "Add protobuf backwards compatibility check") - .organization(JHipsterModuleOrganization.builder().addDependency(JHLiteModuleSlug.PROTOBUF).build()) + .organization( + JHipsterModuleOrganization.builder().addDependency(JHLiteModuleSlug.PROTOBUF).addDependency(JHLiteModuleSlug.MAVEN_JAVA).build() + ) .tags("server", "protobuf") .factory(protobuf::buildProtobufBackwardsCompatibilityCheckModule); }