Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Download protoc automatically in the compile phase #50

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sekikn
Copy link

@sekikn sekikn commented Nov 15, 2023

I tried to build the simple-protobuf example, but came across the following error:

$ ./mvnw clean install -f simple-protobuf/pom.xml

...

[ERROR] Failed to execute goal org.xolstice.maven.plugins:protobuf-maven-plugin:0.6.1:compile (default) on project apicurio-registry-examples-simple-protobuf: An error occurred while invoking protoc: Error while executing process.: Cannot run program "protoc": error=2, No such file or directory -> [Help 1]

Specifying the protocArtifact configuration seems to resolve it, just like the protobuf-validation module.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant