grpc-java icon indicating copy to clipboard operation
grpc-java copied to clipboard

Push Java libraries to Maven central

Open ludoch opened this issue 11 years ago • 21 comments

As the majority of Java Developer, I am using Maven and not Gradle...

After compiling my self the protoc tool for Mac, and creating the Route sample Maven project, I am still block with the fact that the import io.grpc.ServerImpl; import io.grpc.stub.StreamObserver; import io.grpc.transport.netty.NettyServerBuilder;

are nowhere in Maven...

My Current pom is like this, and the protoc generates correct code:

4.0.0 com.google.apphosting.grpc grpctest 1.0 jar dtrott http://maven.davidtrott.com/repository com.google.guava guava 18.0 jar javax.json javax.json-api 1.0 jar com.google.protobuf protobuf-java 3.0.0-alpha-2 UTF-8 1.7 1.7 org.apache.maven.plugins maven-compiler-plugin 3.2 1.5 1.5 com.google.protobuf.tools maven-protoc-plugin 0.1.10 /usr/local/bin/protoc compile testCompile

ludoch avatar Mar 05 '15 16:03 ludoch

I talked with @zhongql via email and got them working. There was no need to copy the generated files to src/generated.

ejona86 avatar Jan 19 '16 13:01 ejona86