mvn对hadoop.src文件编译时报warn信息
系统上的准备工作都做好了,很多组件都安装了,mvn,findbug,ant等等等。
然后在~/hadoop-2.7.3.src/目录下执行
b hadoop-2.7.3-src]# mvn package -Pdist,native -DskipTests -Dtar
报出如下警告信息:
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.hadoop:hadoop-build-tools:jar:2.7.3
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-resources-plugin is missing. @ org.apache.hadoop:hadoop-build-tools:[unknown-version], /root/compile_tools/hadoop-2.7.3-src/hadoop-build-tools/pom.xml, line 54, column 15
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ org.apache.hadoop:hadoop-main:2.7.3, /root/compile_tools/hadoop-2.7.3-src/pom.xml, line 397, column 19
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-remote-resources-plugin is missing. @ org.apache.hadoop:hadoop-build-tools:[unknown-version], /root/compile_tools/hadoop-2.7.3-src/hadoop-build-tools/pom.xml, line 80, column 15
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.hadoop:hadoop-main:pom:2.7.3
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ line 397, column 19
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
查阅了很多地方都没有找到答案,请各位大神不吝赐教