您的位置:首页 > 产品设计 > UI/UE

[ERROR] The goal you specified requires a project to execute but there is no POM in this directory

2017-10-31 20:25 826 查看
手动添加maven构件报错 

[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (C:\Windows\System32). Please verify you invoked Maven from the correct directory

解决办法:在每个参数的前后加上引号

例如:

mvn install:install-file
"-Dfile=c\xxx.jar" "-DgroupId=aa" "-DartifactId=bb" "-Dversion=1.1"  "-Dpackaging=jar" "-DgeneratePom=true" "-DcreateChecksum=true"
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐