mvn打包报错You must specify a valid lifecycle phase or a goal in the format
今天在demo项目中模拟消费者和生产者模型,需要把生产者打成一个jar包,报You must specify a valid lifecycle phase or a goal in the format解决方法:先是在properties中添加,没能解决报错<!-- 跳过测试打爆--> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <lo

