Hi, I am trying to build Elephant Bird and I have the following error. Any help with this will be great!
Here is the o/p of mvn -e package command: [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Elephant Bird [INFO] Elephant Bird Hadoop Compatibility [INFO] Elephant Bird Core [INFO] Elephant Bird Cascading2 [INFO] Elephant Bird Hive [INFO] Elephant Bird Pig [INFO] Elephant Bird Mahout [INFO] Elephant Bird RCFile [INFO] Elephant Bird Lucene [INFO] Elephant Bird Pig Lucene [INFO] Elephant Bird Examples [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Elephant Bird 4.3-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ elephant-bird --- [INFO] [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven-3) @ elephant-bird --- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Elephant Bird Hadoop Compatibility 4.3-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ elephant-bird-hadoop-compat --- [INFO] [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven-3) @ elephant-bird-hadoop-compat --- [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ elephant-bird-hadoop-compat --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /Users/sameer/software/elephant-bird/hadoop-compat/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ elephant-bird-hadoop-compat --- [INFO] Compiling 1 source file to /Users/sameer/software/elephant-bird/hadoop-compat/target/classes [INFO] [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ elephant-bird-hadoop-compat --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /Users/sameer/software/elephant-bird/hadoop-compat/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ elephant-bird-hadoop-compat --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ elephant-bird-hadoop-compat --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ elephant-bird-hadoop-compat --- [INFO] Building jar: /Users/sameer/software/elephant-bird/hadoop-compat/target/elephant-bird-hadoop-compat-4.3-SNAPSHOT.jar [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Elephant Bird Core 4.3-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ elephant-bird-core --- [INFO] [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven-3) @ elephant-bird-core --- [INFO] [INFO] --- protobuf-maven-plugin:0.4:run (default) @ elephant-bird-core --- [INFO] Protobuf dependency version 2.4.1 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Elephant Bird ..................................... SUCCESS [0.456s] [INFO] Elephant Bird Hadoop Compatibility ................ SUCCESS [1.636s] [INFO] Elephant Bird Core ................................ FAILURE [0.500s] [INFO] Elephant Bird Cascading2 .......................... SKIPPED [INFO] Elephant Bird Hive ................................ SKIPPED [INFO] Elephant Bird Pig ................................. SKIPPED [INFO] Elephant Bird Mahout .............................. SKIPPED [INFO] Elephant Bird RCFile .............................. SKIPPED [INFO] Elephant Bird Lucene .............................. SKIPPED [INFO] Elephant Bird Pig Lucene .......................... SKIPPED [INFO] Elephant Bird Examples ............................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.164s [INFO] Finished at: Thu Oct 17 15:43:54 PDT 2013 [INFO] Final Memory: 14M/81M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.github.igor-petruk.protobuf:protobuf-maven-plugin:0.4:run (default) on project elephant-bird-c\ ore: Unable to find 'protoc' -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.igor-petruk.protobuf:protobuf-maven-plu\ gin:0.4:run (default) on project elephant-bird-core: Unable to find 'protoc' at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to find 'protoc' at com.github.igor_petruk.protobuf.maven.plugin.MyMojo.execute(MyMojo.java:150) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more [ERROR] [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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :elephant-bird-core