给定一个原型 cmd -
mvn archetype:generate -DarchetypeGroupId=io.confluent.maven.archetypes -DarchetypeArtifactId=kafka-connect-quickstart \
-DarchetypeVersion=0.10.0.0
当我在一个新的空目录中运行它时,它应该为我创建一个源代码文件夹结构。
相反,我得到以下内容 -
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.113 s
[INFO] Finished at: 2019-04-05T14:37:19+13:00
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (D:\Dev\sandpit\connect-quickstart). 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 switch.
[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 read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException
在我看来,它正在寻找一个pom文件,我不会有,因为这是一个新项目。
有什么线索吗?有什么帮助吗?
环境:窗户。java -v == 开放JDK版本“11.0.2”
弑天下
有只小跳蛙
相关分类