吧主我遇到了问题,
这是cmd的报错
D:\maven\apache-maven-3.5.4\lib>mvn install:install-file -DgroupId=org.apache.m
aven.archetypes -DartifactId=maven-archetype-quickstart -Dversion=1.1 -Dpackagin
g=jar -Dfile=maven-archetype-quickstart-1.1.jar
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.401 s
[INFO] Finished at: 2018-10-08T09:53:43+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM
in this directory (D:\maven\apache-maven-3.5.4\lib). Please verify you invoked
Maven from the correct directory. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException