Here is the full stack trace.. @Yin : yeah it seems like a problem with maven version. I am going to update maven. @ Marcelo : Yes, couldn't decide what's wrong at first :)
Thanks for your help! [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Spark Project Parent POM [INFO] Spark Project Test Tags [INFO] Spark Project Sketch [INFO] Spark Project Launcher [INFO] Spark Project Networking [INFO] Spark Project Shuffle Streaming Service [INFO] Spark Project Unsafe [INFO] Spark Project Core [INFO] Spark Project GraphX [INFO] Spark Project Streaming [INFO] Spark Project Catalyst [INFO] Spark Project SQL [INFO] Spark Project ML Library [INFO] Spark Project Tools [INFO] Spark Project Hive [INFO] Spark Project Docker Integration Tests [INFO] Spark Project REPL [INFO] Spark Project Assembly [INFO] Spark Project External Twitter [INFO] Spark Project External Flume Sink [INFO] Spark Project External Flume [INFO] Spark Project External Flume Assembly [INFO] Spark Project External Akka [INFO] Spark Project External MQTT [INFO] Spark Project External MQTT Assembly [INFO] Spark Project External ZeroMQ [INFO] Spark Project External Kafka [INFO] Spark Project Examples [INFO] Spark Project External Kafka Assembly [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Spark Project Parent POM 2.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ spark-parent_2.11 --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ spark-parent_2.11 --- [WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireMavenVersion failed with message: Detected Maven Version: 3.3.3 is not in the allowed range 3.3.9. [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Spark Project Parent POM ........................... FAILURE [ 0.811 s] [INFO] Spark Project Test Tags ............................ SKIPPED [INFO] Spark Project Sketch ............................... SKIPPED [INFO] Spark Project Launcher ............................. SKIPPED [INFO] Spark Project Networking ........................... SKIPPED [INFO] Spark Project Shuffle Streaming Service ............ SKIPPED [INFO] Spark Project Unsafe ............................... SKIPPED [INFO] Spark Project Core ................................. SKIPPED [INFO] Spark Project GraphX ............................... SKIPPED [INFO] Spark Project Streaming ............................ SKIPPED [INFO] Spark Project Catalyst ............................. SKIPPED [INFO] Spark Project SQL .................................. SKIPPED [INFO] Spark Project ML Library ........................... SKIPPED [INFO] Spark Project Tools ................................ SKIPPED [INFO] Spark Project Hive ................................. SKIPPED [INFO] Spark Project Docker Integration Tests ............. SKIPPED [INFO] Spark Project REPL ................................. SKIPPED [INFO] Spark Project Assembly ............................. SKIPPED [INFO] Spark Project External Twitter ..................... SKIPPED [INFO] Spark Project External Flume Sink .................. SKIPPED [INFO] Spark Project External Flume ....................... SKIPPED [INFO] Spark Project External Flume Assembly .............. SKIPPED [INFO] Spark Project External Akka ........................ SKIPPED [INFO] Spark Project External MQTT ........................ SKIPPED [INFO] Spark Project External MQTT Assembly ............... SKIPPED [INFO] Spark Project External ZeroMQ ...................... SKIPPED [INFO] Spark Project External Kafka ....................... SKIPPED [INFO] Spark Project Examples ............................. SKIPPED [INFO] Spark Project External Kafka Assembly .............. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.721 s [INFO] Finished at: 2016-02-25T01:03:12+05:30 [INFO] Final Memory: 28M/217M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce (enforce-versions) on project spark-parent_2.11: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [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 Minudika Malshan Undergraduate Department of Computer Science and Engineering University of Moratuwa. On Thu, Feb 25, 2016 at 1:00 AM, Yin Yang <yy201...@gmail.com> wrote: > I encountered similar warning recently. > > Please check the version of maven you're using: it should be 3.3.9 > > On Wed, Feb 24, 2016 at 11:29 AM, Marcelo Vanzin <van...@cloudera.com> > wrote: > >> Well, did you do what the message instructed you to do and looked >> above the message you copied for more specific messages for why the >> build failed? >> >> On Wed, Feb 24, 2016 at 11:28 AM, Minudika Malshan >> <minudika...@gmail.com> wrote: >> > Hi, >> > >> > I am trying to build from spark source code which was cloned from >> > https://github.com/apache/spark.git. >> > But it fails with following error. >> > >> > [ERROR] Failed to execute goal >> > org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce >> > (enforce-versions) on project spark-parent_2.11: Some Enforcer rules >> have >> > failed. Look above for specific messages explaining why the rule >> failed. -> >> > [Help 1] >> > >> > Please help me to get it fixed. >> > >> > Thanks and regards.. >> > Minudika >> > >> > >> > Minudika Malshan >> > Undergraduate >> > Department of Computer Science and Engineering >> > University of Moratuwa. >> > >> > >> >> >> >> -- >> Marcelo >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@spark.apache.org >> For additional commands, e-mail: dev-h...@spark.apache.org >> >> >