diff --git a/src/main/java/tech/jhipster/lite/generator/server/javatool/protobuf/domain/ProtobufModuleFactory.java b/src/main/java/tech/jhipster/lite/generator/server/javatool/protobuf/domain/ProtobufModuleFactory.java index 3704b2c8fad..d8052c1b2bb 100644 --- a/src/main/java/tech/jhipster/lite/generator/server/javatool/protobuf/domain/ProtobufModuleFactory.java +++ b/src/main/java/tech/jhipster/lite/generator/server/javatool/protobuf/domain/ProtobufModuleFactory.java @@ -93,7 +93,7 @@ private MavenPlugin protobufMavenPluginManagement() { } private MavenPluginOptionalBuilder protobufMavenPluginBuilder() { - return javaBuildPlugin().groupId("org.xolstice.maven.plugins").artifactId("protobuf-maven-plugin"); + return mavenPlugin().groupId("org.xolstice.maven.plugins").artifactId("protobuf-maven-plugin"); } public JHipsterModule buildProtobufBackwardsCompatibilityCheckModule(JHipsterModuleProperties properties) { @@ -115,6 +115,6 @@ private MavenPlugin protoBackwardsCompatibilityMavenPluginManagement() { } private MavenPluginOptionalBuilder protoBackwardsCompatibilityMavenPluginBuilder() { - return javaBuildPlugin().groupId("com.salesforce.servicelibs").artifactId("proto-backwards-compatibility"); + return mavenPlugin().groupId("com.salesforce.servicelibs").artifactId("proto-backwards-compatibility"); } }