-
Notifications
You must be signed in to change notification settings - Fork 68
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
Java: Shadow protobuf dependency #2931
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Yury-Fridlyand <[email protected]>
fix publication |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, since you also include netty dependency, do you consider changing the title of this PR to `Java: Shadow protobuf and netty dependencies"?
I don't include it. Should I? |
Signed-off-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Yury-Fridlyand <[email protected]>
@Yury-Fridlyand why there are these file attachment to this PR (the zip files)? |
@@ -158,6 +158,17 @@ jobs: | |||
distribution: "temurin" | |||
java-version: 11 | |||
|
|||
- name: Install protoc (protobuf) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how come shadowing java bindings has an effect on ORT third party tool?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed IT to use the generated module instead of client sources. Without these changes, ORT tool was failing:
02:36:38.314 [DefaultDispatcher-worker-2] ERROR org.ossreviewtoolkit.plugins.packagemanagers.gradleinspector.GradleInspector - Could not find io.valkey:valkey-glide:255.255.255.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/io/valkey/valkey-glide/255.255.255/valkey-glide-255.255.255.pom
- file:/home/runner/.m2/repository/io/valkey/valkey-glide/255.255.255/valkey-glide-255.255.255.pom from project :integTest.
02:36:38.322 [DefaultDispatcher-worker-2] ERROR org.ossreviewtoolkit.plugins.packagemanagers.gradleinspector.GradleInspector - Could not find io.valkey:valkey-glide:255.255.255 from project :integTest.
In order to review and verify the updated java client module. |
Signed-off-by: Yury-Fridlyand <[email protected]>
publishes package to the local maven cache using default version:
There are these files:
valkey-glide-255.255.255.module.txt
valkey-glide-255.255.255.pom.txt
valkey-glide-255.255.255-javadoc.zip
valkey-glide-255.255.255-linux-x86_64.zip
valkey-glide-255.255.255-sources.zip
(I changed the extensions, because GH does not allow to upload jar and others)
Issue link
This Pull Request is linked to issue (URL): #2804
Fixes #2947 and #2961
Checklist
Before submitting the PR make sure the following are checked: