mvn package -Pdist,native -DskipTests -Dtar这个命令不行

wx_n4zfs5ic Hadoop 入门 最后由 wx_n4zfs5ic 于2017年03月30日回复

  • 1 回答
  • 1.7k 浏览

[root@shannon hadoop-2.7.1-src]# mvn package -Pdist,native -DskipTests -Dtar

[INFO] Scanning for projects...


[ERROR] The build could not read 1 project -> [Help 1]


[ERROR]   The project org.apache.hadoop:hadoop-main:2.7.1 (/home/softwares/hadoop-2.7.1-src/pom.xml) has 1 error

[ERROR]     Unresolveable build extension: Plugin org.apache.felix:maven-bundle-plugin:2.5.0 or one of its dependencies could not be resolved: Failed to collect dependencies for org.apache.felix:maven-bundle-plugin:jar:2.5.0 (): Failed to read artifact descriptor for org.apache.felix:maven-bundle-plugin:jar:2.5.0: Could not transfer artifact org.apache.felix:maven-bundle-plugin:pom:2.5.0 from/to central ( Temporary failure in name resolution: Unknown host Temporary failure in name resolution -> [Help 2]


[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] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1]

[ERROR] [Help 2]