[INFO] Scanning for projects...[WARNING] [WARNING] Some problems were encountered while building the effective model for proj:id:jar:3.1[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ line 195, column 15[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 204, column 15[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 227, column 15[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 215, column 15[WARNING] 'reporting.plugins.plugin.version' for org.codehaus.mojo:jdepend-maven-plugin is missing. @ line 271, column 15[WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.[WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.

解决办法来自:http://stackoverflow.com/questions/4123044/maven-3-warnings-about-build-plugins-plugin-version
解决时可以试图使用-X参数来打开错误输出,在错误输出里,往往会提示出来对应插件的版本,找到后补到下面内容的后面,注意查看哈。
<plugin> <artifactId>maven-compiler-plugin</artifactId><plugin> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version>