-
Notifications
You must be signed in to change notification settings - Fork 227
<protocVersion>${protobuf.version}</protocVersion>failed to mvn install. #456
Copy link
Copy link
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Ask your question here
I'm using IDEA's bundled maven(3.6.3) installing java-sdk's master branch into my local env, however,
<protocVersion>${protobuf.version}</protocVersion>
in dapr-sdk-autogen and dapr-sdk-examples poms failed. reporting:
[INFO] --- protoc-jar-maven-plugin:3.11.4:run (default) @ dapr-sdk-autogen ---
[INFO] Protoc version: 3.13.0
protoc-jar: protoc version: 3.13.0, detected platform: windows-x86_64 (windows 10/amd64)
protoc-jar: downloading: http://repo2.maven.org/maven2/com/google/protobuf/protoc/maven-metadata.xml
protoc-jar: downloading: http://repo2.maven.org/maven2/com/github/os72/protoc/maven-metadata.xml
protoc-jar: downloading: http://repo2.maven.org/maven2/com/google/protobuf/protoc/maven-metadata.xml
protoc-jar: downloading: http://repo2.maven.org/maven2/com/github/os72/protoc/maven-metadata.xml
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.838 s
[INFO] Finished at: 2021-01-26T12:32:00+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.os72:protoc-jar-maven-plugin:3.11.4:run (default) on project dapr-sdk-autogen: Error extracting protoc for version 3.13.0: Unsupported platform: protoc-3.13.0-windows-x86_64.exe -> [Help 1]
it will build correctly after I change it to:
<protocArtifact>com.google.protobuf:protoc:${protobuf.version}</protocArtifact>
according to: os72/protoc-jar-maven-plugin#68
so, why is problem happen, and should we change it to the protocArtifact?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested