Error while executing process. Cannot run program "com.google.protobuf:protoc:3.1.0:exe:osx-x86_64": error=2, No such file or directory -> [Help 1]
<clearOutputDirectory>false</clearOutputDirectory>
solved the problem
Hi! I'm trying to compile 4 proto files located in 3 different projects, A.proto & B.proto in project1, C.proto in project2 and D.proto in project3. A depends on C and D.
<plugin>
<groupId>org.xolstice.maven.plugins</groupId>
<artifactId>protobuf-maven-plugin</artifactId>
<configuration>
<protocArtifact>com.google.protobuf:protoc:${proto.version}:exe:${os.detected.classifier}</protocArtifact>
<includes>
<include>../project2/src/main/proto/subfolder/*.proto</include>
<include>../project3/*.proto</include>
<include>src/main/proto/subfolder/*.proto</include>
<!-- <include>**/*.proto</include> -->
</includes>
</configuration>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>compile-python</goal>
</goals>
</execution>
</executions>
</plugin>
When I run maven it says "No proto files to compile.". If I uncomment <include>**/*.proto</include>
then it complains about missing types (those defined in project2 and project3). I cannot find in the documentation any example or further information.
src/it
that demonstrate dependency handling and other features