May be you should export JAVA_HOME="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home" first.
2013/10/23 Ted Yu <yuzhih...@gmail.com>: > What version of Hadoop are you working on ? > > What command line did you use ? > > Please show us more of the error. > > Cheers > > On Oct 22, 2013, at 11:18 PM, ji yan <yanj...@gmail.com> wrote: > >> I am getting this error >> >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-enforcer-plugin:1.3.1:enforce (depcheck) on >> project hadoop-yarn: 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 >> >> can anyone help me? >> >> thx -- Best Regards, Haosdent Huang