上传命令:mvn deploy:deploy-file -Durl=http://****:****/repository/chntdrools7741-releases -DrepositoryId=**** -Dfile=D:/tempRepo/org/kie/kie-api-parent/7.69.0.Final/kie-api-parent-7.69.0.Final.pom -DpomFile=D:/tempRepo/org/kie/kie-api-parent/7.69.0.Final/kie-api-parent-7.69.0.Final.pom
问题一: Cannot deploy artifact from the local repository: D:\tower\tempRepo\org\kie\kie-api-parent\7.69.0.Final\kie-api-parent-7.69.0.Final.pom
解决:把pom换个目录。比如到D盘下
问题二: The goal you specified requires a project to execute but there is no POM in this directory (D:\). Please verify you invoked Maven from the correct directory.
解决:找到项目路径下带有pom的路径