Unknown lifecycle phase “.skip=true“. You must specify a valid lifecycle phase or a goal in the form
执行命令:mvn clean install -DskipTests -Denforcer.skip=true
报错
解决:mvn clean install package ‘-Dmaven.test.skip=true’
执行命令:mvn clean install -DskipTests -Denforcer.skip=true
报错
解决:mvn clean install package ‘-Dmaven.test.skip=true’
我自己因为环境路径的问题运行的时候红色圈里的mvn 是多余的所以不被识别,把 “mvn” 去掉就好。
Unknown lifecycle phase “.test.skip=true”. You must specify a valid lifecycle phase 解
执行命令:mvn clean install -DskipTests -Denforcer.skip=true 报错 ![2c349715be6d400483b3247b
文章目录 1. 复现错误 2. 分析错误 3. 解决错误 ![在这里插入图片描述][7a2aaa2dd58345a6b5f2b21a0d0c0afc.
用idea在执行mvn license:add-third-party -s "D:\\settings.xml" ![watermark_type_ZmFuZ3poZW5
jenkins构建项目时出现此异常,发现是命令多了 mvn . 去掉即可解决,因为jenkins默认会帮带上该mvn命令 [ERROR] Unkn
Unknown lifecycle phase “”. You must specify a valid lifecycle phase or a goal in the fo
错误 LifecyclePhaseNotFoundException,Unknown lifecycle phase “mvn”. You must specify a va
\[ERROR\] Unknown lifecycle phase "build". You must specify a valid lifecycle phase or a
\[INFO\] Scanning for projects... \[INFO\]
还没有评论,来说两句吧...