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
相關文章
相關標籤/搜索