有用maven的小伙伴么?我遇到个问题,运行mvn test时报错,错误信息如下,有知道的麻烦给解答一下谢谢
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.juvenxu.mvnbook:hello-world:jar:1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 19, column 14
[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.
[WARNING]
[INFO]
主要是我为了生成一个可以运行main函数的jar,所以在pom.xml中加了如下配置
这些都是警告信息(WARNING)不会影响程序的。
错误信息是ERROR的。