根据下面的链接,它应该生成正确的pom.xml并将构件安装到repo中。 http://maven.apache.org/plugins/maven-install-plugin/examples/generic-pom-generation.html 但同时,它返回了以下错误:mvn install:install-file -Dfile=cobra.jar -DgroupId=com.cobra -DartifactId=cobra -Dversion=0.98.4 -Dpackaging=jar -DgeneratePom=true
为什么会要求pom.xml而不是生成pom.xml呢?[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (D:\cobra-0.98.4\lib). Please verify you invoked Maven from the correct directory. -> [Help 1]