{"action":"created","issue":{"url":"https://api.github.com/repos/google/google-api-java-client/issues/954","labels_url":"https://api.github.com/repos/google/google-api-java-client/issues/954/labels{/name}","comments_url":"https://api.github.com/repos/google/google-api-java-client/issues/954/comments","events_url":"https://api.github.com/repos/google/google-api-java-client/issues/954/events","html_url":"https://github.com/google/google-api-java-client/issues/954","id":97254451,"number":954,"title":"Maven: Cannot run program \"protoc\"","user":{"login":"neshkeev","id":4223091,"avatar_url":"https://avatars.githubusercontent.com/u/4223091?v=3","gravatar_id":"","url":"https://api.github.com/users/neshkeev","html_url":"https://github.com/neshkeev","followers_url":"https://api.github.com/users/neshkeev/followers","following_url":"https://api.github.com/users/neshkeev/following{/other_user}","gists_url":"https://api.github.com/users/neshkeev/gists{/gist_id}","starred_url":"https://api.github.com/users/neshkeev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neshkeev/subscriptions","organizations_url":"https://api.github.com/users/neshkeev/orgs","repos_url":"https://api.github.com/users/neshkeev/repos","events_url":"https://api.github.com/users/neshkeev/events{/privacy}","received_events_url":"https://api.github.com/users/neshkeev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-25T20:39:19Z","updated_at":"2015-07-25T23:45:46Z","closed_at":null,"body":"I created a branch based on the 1.20.0 tag, go to the root of the application and execute:\r\n\r\n    mvn clean install -DskipTests\r\n\r\nIt fails:\r\n<pre>\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Reactor Summary:\r\n[INFO] \r\n[INFO] Parent for the Google API Client Library for Java .. SUCCESS [  2.656 s]\r\n[INFO] Google APIs Client Library for Java ................ FAILURE [  0.619 s]\r\n[INFO] Servlet and JDO extensions to the Google API Client Library for Java. SKIPPED\r\n[INFO] Android Platform Extensions to the Google APIs Client Library for Java. SKIPPED\r\n[INFO] Google App Engine extensions to the Google API Client Library for Java. SKIPPED\r\n[INFO] GSON extensions to the Google APIs Client Library for Java SKIPPED\r\n[INFO] Jackson 2 extensions to the Google APIs Client Library for Java SKIPPED\r\n[INFO] Java 6 (and higher) Extensions to the Google API Client Library for Java. SKIPPED\r\n[INFO] Protocol Buffer extensions to the Google APIs Client Library for Java SKIPPED\r\n[INFO] XML extensions to the Google APIs Client Library for Java SKIPPED\r\n[INFO] Assembly for the Google APIs Client Library for Java SKIPPED\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD FAILURE\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 3.594 s\r\n[INFO] Finished at: 2015-07-26T00:35:45+04:00\r\n[INFO] Final Memory: 18M/197M\r\n[INFO] ------------------------------------------------------------------------\r\n[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.6:run\r\n(generate-sources) on project google-api-client: An Ant BuildException has occured: \r\nExecute failed: java.io.IOException: Cannot run program \"protoc\" \r\n(in directory \"/home/myname/projects/java/google-api-java-client/google-api-client\"): \r\nerror=2, No such file or directory -> [Help 1]\r\n</pre>\r\n\r\nI didn't manage to find the \"protoc\" application using yaourt.\r\n\r\nMy maven and jdk:\r\n<pre>\r\nmvn -v\r\nApache Maven 3.3.3 (NON-CANONICAL_2015-04-29T11:04:34_root; 2015-04-29T12:04:34+04:00)\r\nMaven home: /opt/maven\r\nJava version: 1.8.0_51, vendor: Oracle Corporation\r\nJava home: /usr/lib/jvm/java-8-openjdk/jre\r\nDefault locale: en_US, platform encoding: UTF-8\r\nOS name: \"linux\", version: \"4.1.2-2-arch\", arch: \"amd64\", family: \"unix\"\r\n</pre>"},"comment":{"url":"https://api.github.com/repos/google/google-api-java-client/issues/comments/124916229","html_url":"https://github.com/google/google-api-java-client/issues/954#issuecomment-124916229","issue_url":"https://api.github.com/repos/google/google-api-java-client/issues/954","id":124916229,"user":{"login":"neshkeev","id":4223091,"avatar_url":"https://avatars.githubusercontent.com/u/4223091?v=3","gravatar_id":"","url":"https://api.github.com/users/neshkeev","html_url":"https://github.com/neshkeev","followers_url":"https://api.github.com/users/neshkeev/followers","following_url":"https://api.github.com/users/neshkeev/following{/other_user}","gists_url":"https://api.github.com/users/neshkeev/gists{/gist_id}","starred_url":"https://api.github.com/users/neshkeev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neshkeev/subscriptions","organizations_url":"https://api.github.com/users/neshkeev/orgs","repos_url":"https://api.github.com/users/neshkeev/repos","events_url":"https://api.github.com/users/neshkeev/events{/privacy}","received_events_url":"https://api.github.com/users/neshkeev/received_events","type":"User","site_admin":false},"created_at":"2015-07-25T23:45:46Z","updated_at":"2015-07-25T23:45:46Z","body":"Ok, I successfully installed protobuf, but I am not able to build the project anyway. When I execute `mvn clean install` against the branch that is based on `the 1.20.0 tag` I get this error:\r\n<pre>\r\n[INFO] 73 errors \r\n[INFO] -------------------------------------------------------------\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Reactor Summary:\r\n[INFO] \r\n[INFO] Parent for the Google API Client Library for Java .. SUCCESS [  5.188 s]\r\n[INFO] Google APIs Client Library for Java ................ FAILURE [  8.932 s]\r\n[INFO] Servlet and JDO extensions to the Google API Client Library for Java. SKIPPED\r\n[INFO] Android Platform Extensions to the Google APIs Client Library for Java. SKIPPED\r\n[INFO] Google App Engine extensions to the Google API Client Library for Java. SKIPPED\r\n[INFO] GSON extensions to the Google APIs Client Library for Java SKIPPED\r\n[INFO] Jackson 2 extensions to the Google APIs Client Library for Java SKIPPED\r\n[INFO] Java 6 (and higher) Extensions to the Google API Client Library for Java. SKIPPED\r\n[INFO] Protocol Buffer extensions to the Google APIs Client Library for Java SKIPPED\r\n[INFO] XML extensions to the Google APIs Client Library for Java SKIPPED\r\n[INFO] Assembly for the Google APIs Client Library for Java SKIPPED\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD FAILURE\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 14.440 s\r\n[INFO] Finished at: 2015-07-26T03:29:12+04:00\r\n[INFO] Final Memory: 27M/205M\r\n[INFO] ------------------------------------------------------------------------\r\n[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile\r\n(default-testCompile) on project google-api-client: Compilation failure: Compilation failure:\r\n[ERROR] /home/myname/projects/java/google-api-java-client/google-api-client/target/generated-test-sources/com/google/api/client/googleapis/batch/ErrorOutput.java:\r\n[215,37] error: cannot find symbol\r\n</pre>\r\nIt seems to me that maven either doesn't execute the `maven-antrun-plugin` plugin or the plugin's configuration is wrong.\r\n\r\nWhen I execute `mvn clean install` against the `dev` branch, I get this error:\r\n<pre>\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Reactor Summary:\r\n[INFO] \r\n[INFO] Parent for the Google API Client Library for Java .. SUCCESS [  3.118 s]\r\n[INFO] Google APIs Client Library for Java ................ FAILURE [  0.146 s]\r\n[INFO] Servlet and JDO extensions to the Google API Client Library for Java. SKIPPED\r\n[INFO] Android Platform Extensions to the Google APIs Client Library for Java. SKIPPED\r\n[INFO] Google App Engine extensions to the Google API Client Library for Java. SKIPPED\r\n[INFO] GSON extensions to the Google APIs Client Library for Java SKIPPED\r\n[INFO] Jackson 2 extensions to the Google APIs Client Library for Java SKIPPED\r\n[INFO] Java 6 (and higher) Extensions to the Google API Client Library for Java. SKIPPED\r\n[INFO] Protocol Buffer extensions to the Google APIs Client Library for Java SKIPPED\r\n[INFO] XML extensions to the Google APIs Client Library for Java SKIPPED\r\n[INFO] Assembly for the Google APIs Client Library for Java SKIPPED\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD FAILURE\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 3.665 s\r\n[INFO] Finished at: 2015-07-26T03:42:13+04:00\r\n[INFO] Final Memory: 15M/197M\r\n[INFO] ------------------------------------------------------------------------\r\n[ERROR] Failed to execute goal on project google-api-client: \r\nCould not resolve dependencies for project com.google.api-client:google-api-client:jar:1.21.0-SNAPSHOT: \r\nThe following artifacts could not be resolved: \r\ncom.google.oauth-client:google-oauth-client:jar:1.21.0-SNAPSHOT, \r\ncom.google.http-client:google-http-client-jackson2:jar:1.21.0-SNAPSHOT, \r\ncom.google.http-client:google-http-client-gson:jar:1.21.0-SNAPSHOT,\r\ncom.google.http-client:google-http-client-protobuf:jar:1.21.0-SNAPSHOT: \r\nFailure to find com.google.oauth-client:google-oauth-client:jar:1.21.0-SNAPSHOT \r\nin https://oss.sonatype.org/content/repositories/snapshots was cached in the local repository,\r\nresolution will not be reattempted until the update interval of sonatype-nexus-snapshots \r\nhas elapsed or updates are forced -> [Help 1]\r\n</pre>"}}