From cc76c684b6e0c14fdbcc8200ca08699f642f78d8 Mon Sep 17 00:00:00 2001 From: Idel Pivnitskiy Date: Fri, 13 May 2022 10:44:37 -0700 Subject: [PATCH] Use `servicetalk-grpc-protoc-all` for pom.xml Motivation: `build.gradle` for grpc example uses `servicetalk-grpc-protoc-all` artifact, but `pom.xml` uses `servicetalk-grpc-protoc`. After #2209, maven example does not work anymore: servicetalk-grpc-protoc_out: ServiceTalk code generation failed: java.lang.NoClassDefFoundError: com/squareup/javapoet/ClassName Modifications: - Use `all` to let maven use an uber jar; Result: Maven build works for grpc example. Related: https://github.com/servicetalk/examples/pull/1 --- servicetalk-examples/grpc/helloworld/pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/servicetalk-examples/grpc/helloworld/pom.xml b/servicetalk-examples/grpc/helloworld/pom.xml index e8a42cdb87..27ea9d7279 100644 --- a/servicetalk-examples/grpc/helloworld/pom.xml +++ b/servicetalk-examples/grpc/helloworld/pom.xml @@ -54,6 +54,7 @@ io.servicetalk servicetalk-grpc-protoc ${servicetalk.version} + all io.servicetalk.grpc.protoc.Main