Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use servicetalk-grpc-protoc-all for pom.xml #2214

Merged
merged 1 commit into from
May 13, 2022

Conversation

idelpivnitskiy
Copy link
Member

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 <classifier>all</classifier> to let maven use an uber jar;

Result:

Maven build works for grpc example.

Related:

servicetalk/examples#1

Motivation:

`build.gradle` for grpc example uses `servicetalk-grpc-protoc-all`
artifact, but `pom.xml` uses `servicetalk-grpc-protoc`. After apple#2209,
maven example does not work anymore:

servicetalk-grpc-protoc_out: ServiceTalk code generation failed:
   java.lang.NoClassDefFoundError: com/squareup/javapoet/ClassName

Modifications:

- Use `<classifier>all</classifier>` to let maven use an uber jar;

Result:

Maven build works for grpc example.

Related:

servicetalk/examples#1
@idelpivnitskiy idelpivnitskiy self-assigned this May 13, 2022
@Scottmitch Scottmitch merged commit 48a0c54 into apple:main May 13, 2022
@idelpivnitskiy idelpivnitskiy deleted the classifier branch May 13, 2022 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants