Hadoop trunk maven编译问题

 从Hadoop trunk git库中pull下来代码后,需要进行编译,但是编译过程中报以下错误:

[ERROR] Plugin org.apache.hadoop:hadoop-maven-plugins:3.0.0-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact org.apache.hadoop:hadoop-maven-plugins:jar:3.0.0-SNAPSHOT -> [Help 1]

       解决方法很简单:

       $ cd hadoop-maven-plugins

       $ mvn install