proto ファイルから Java クラス ファイルを生成するための protoc jar の構築に問題があります。プロジェクトを.protoファイルからJavaクラスファイルを生成できるレベルに設定する際の指示やヘルプをいただければ幸いです
次のプロジェクトをprotobuf git repoからインポートしましたが、プロジェクト ディレクトリに protoc.exe ファイルが見つかりませんでした。
プロジェクト自体は、特定のクラスを参照できないと不平を言っています。
protobuf-parent プロジェクトを maven でコンパイルしてビルドしようとすると、以下のようなエラーが発生します。
main:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Protocol Buffers [Parent] .......................... SUCCESS [ 0.173 s]
[INFO] Protocol Buffers [Core] ............................ FAILURE [ 0.736 s]
[INFO] Protocol Buffers [Util] ............................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.347 s
[INFO] Finished at: 2017-08-30T20:52:49-07:00
[INFO] Final Memory: 16M/220M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (compile-protoc) on project protobuf-java: An Ant BuildException has occured: C:\scratch1\protobuf\protobuf-master\java\core\src\main\proto does not exist.
[ERROR] around Ant part ...<pathconvert property="proto.files" pathsep=" " refid="proto.path"/>... @ 10:71 in C:\scratch1\protobuf\protobuf-master\java\core\target\antrun\build-main.xml
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException