Skip to content
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

Open
catkeeper1 opened this issue Mar 1, 2020 · 1 comment
Open

Cannot run test phase in obp-api module #1518

catkeeper1 opened this issue Mar 1, 2020 · 1 comment

Comments

@catkeeper1
Copy link

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.

@karmaking
Copy link
Contributor

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants