idea使用maven打包一直输出test,最后打包失败 pom文件中添加下面语句即可 <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId>