-
Notifications
You must be signed in to change notification settings - Fork 431
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
Cannot run test phase in obp-api module #1518
Comments
Hi @catkeeper1 , this branch has been updated recently. Please try again! Cheers, Daniel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: