-
Notifications
You must be signed in to change notification settings - Fork 704
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
fix(halyard-proto): Removed specified version for com.google.protobuf:protobuf-java #1913
Conversation
…:protobuf-java Getting below conflict between spring plugin and protobuf plugin while upgrading spring boot 2.2.x(existing kork) to 2.3.x: "> Task :halyard-proto:generateProto FAILED> Task :halyard-core:compileJava Note: /halyard/halyard-core/src/main/java/com/netflix/spinnaker/halyard/core/resource/v1/JarResourceReader.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.FAILURE: Build failed with an exception.* What went wrong: Execution failed for task ':halyard-proto:generateProto'. > protoc: stdout: . stderr: google/longrunning/operations.proto:33:8: Option ""php_namespace"" unknown. deployments.proto: Import ""google/longrunning/operations.proto"" was not found or had errors. deployments.proto:13:50: ""google.longrunning.Operation"" is not defined." Removing specified version of protobuf-java have no impact on current springboot version however will rectify an upcoming issue with springboot 2.3.12. It is raised after verifying the effect of upgrading Kork with Springboot version.
Spring dependency management plugin is required with spring boot 2.3.x, in order to enforce constraints. Here, unpinning will make dependency managed by kork-bom. |
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 !
@@ -1,7 +1,7 @@ | |||
apply plugin: 'com.google.protobuf' | |||
|
|||
dependencies { | |||
implementation 'com.google.protobuf:protobuf-java:3.0.0' | |||
implementation 'com.google.protobuf:protobuf-java' |
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.
For the record, kork specifies the version here.
Before this PR:
and with this PR:
So the net is no change to the version of |
Getting below conflict between spring plugin and protobuf plugin while upgrading spring boot 2.2.x(existing kork) to 2.3.x:
Removing specified version of protobuf-java have no impact on current springboot version however will rectify an upcoming issue with springboot 2.3.12.
It is raised after verifying the effect of upgrading Kork with Springboot version.