You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have downloaded the master branch of this project and run "mvn test" successfully in obp-api module last week. Today, it did not work suddenly. When I run "mvn test", the error message is [ERROR] Failed to execute goal net.catte:scalapb-maven-plugin:1.2:compile (default) on project obp-api: Error compiling protobuf files: Unsupported platform: protoc-3.0.0-osx-x86_64.exe -> [Help 1]
In my local maven repository, I found package "com/github/os72/protoc-jar/3.5.1.1". So that I open the
pom.xml in obp-api module and edit it as below:
<plugin> <groupId>net.catte</groupId> <artifactId>scalapb-maven-plugin</artifactId> <version>1.2</version> <configuration> <protocVersion>v3.5.1</protocVersion> <!-- I added this property --> <javaOutput>false</javaOutput> <inputDirectory>${basedir}/src/main/protobuf</inputDirectory> <outputDirectory>${basedir}/src/main/scala</outputDirectory> <grpc>true</grpc> </configuration>
It works.
May I know what is the root cause of this issue? Please help to update the source in master branch so that this issue will not happen for other people again.
The text was updated successfully, but these errors were encountered:
I have downloaded the master branch of this project and run "mvn test" successfully in obp-api module last week. Today, it did not work suddenly. When I run "mvn test", the error message is
[ERROR] Failed to execute goal net.catte:scalapb-maven-plugin:1.2:compile (default) on project obp-api: Error compiling protobuf files: Unsupported platform: protoc-3.0.0-osx-x86_64.exe -> [Help 1]
In my local maven repository, I found package "com/github/os72/protoc-jar/3.5.1.1". So that I open the
pom.xml in obp-api module and edit it as below:
<plugin> <groupId>net.catte</groupId> <artifactId>scalapb-maven-plugin</artifactId> <version>1.2</version> <configuration> <protocVersion>v3.5.1</protocVersion> <!-- I added this property --> <javaOutput>false</javaOutput> <inputDirectory>${basedir}/src/main/protobuf</inputDirectory> <outputDirectory>${basedir}/src/main/scala</outputDirectory> <grpc>true</grpc> </configuration>
It works.
May I know what is the root cause of this issue? Please help to update the source in master branch so that this issue will not happen for other people again.
The text was updated successfully, but these errors were encountered: