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

Update dependencies, add classifier for servicetalk-grpc-protoc in pom.xml #1

Merged
merged 1 commit into from
May 13, 2022

Conversation

idelpivnitskiy
Copy link
Member

No description provided.

idelpivnitskiy added a commit to idelpivnitskiy/servicetalk that referenced this pull request May 13, 2022
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
@Scottmitch Scottmitch merged commit ac8d2f0 into servicetalk:main May 13, 2022
Scottmitch pushed a commit to apple/servicetalk that referenced this pull request May 13, 2022
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
@idelpivnitskiy idelpivnitskiy deleted the update_versions 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