- I have searched the issues of this repository and believe that this is not a duplicate.
- I have searched the release notes of this repository and believe that this is not a duplicate.
Describe the feature
<dubbo.version>2.7.7</dubbo.version>
<dubbo.compiler.version>3.1.10</dubbo.compiler.version>
<spring.version>4.3.16.RELEASE</spring.version>
<grpc.version>1.34.1</grpc.version>
<protoc.version>3.21.9</protoc.version>
<protoc.third_party>./</protoc.third_party>
<protobuff-java.version>3.21.9</protobuff-java.version>
<plugin>
<groupId>org.xolstice.maven.plugins</groupId>
<artifactId>protobuf-maven-plugin</artifactId>
<version>0.6.1</version>
<configuration>
<protocArtifact>com.google.protobuf:protoc:${protoc.version}:exe:${os.detected.classifier}
</protocArtifact>
<pluginId>grpc-java</pluginId>
<pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}
</pluginArtifact>
<outputDirectory>build/generated/source/proto/main/java</outputDirectory>
<clearOutputDirectory>false</clearOutputDirectory>
<protocPlugins>
<protocPlugin>
<id>dubbo-grpc</id>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-compiler</artifactId>
<version>${dubbo.compiler.version}</version>
<mainClass>org.apache.dubbo.gen.grpc.DubboGrpcGenerator</mainClass>
</protocPlugin>
</protocPlugins>
<additionalProtoPathElements>
<additionalProtoPathElement>${protoc.third_party}</additionalProtoPathElement>
</additionalProtoPathElements>
</configuration>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>compile-custom</goal>
<goal>test-compile</goal>
<goal>test-compile-custom</goal>
</goals>
</execution>
</executions>
</plugin>
The java code format is confusing, can it be formatted and then generated?
1条答案
按热度按时间dbf7pr2w1#
Will be fixed in #12297