Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running archetype:generate to generate skeleton #10

Open
ryancrawcour opened this issue Apr 5, 2019 · 1 comment
Open

Error running archetype:generate to generate skeleton #10

ryancrawcour opened this issue Apr 5, 2019 · 1 comment

Comments

@ryancrawcour
Copy link

When trying to run the archetype

mvn archetype:generate -DarchetypeGroupId=io.confluent.maven -DarchetypeArtifactId=kafka-connect-quickstart -DarchetypeVersion=0.10.0.0 -Dpackage=io.confluent.examples.kafka.connect.twitter -DgroupId=io.confluent.examples -DartifactId=kafka-connect-twitter -DpackageName=io.confluent.examples.kafka.connect.twitter -Dversion=1.0-SNAPSHOT

(in an empty directory) to generate a skeleton I get the following errors -

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.115 s
[INFO] Finished at: 2019-04-05T14:46:33+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

@OneCricketeer
Copy link

there is no POM in this directory

In theory, you would only get this error if the archetype:generate goal did not execute, and just mvn was interpreted by the terminal


In any case, I'm not able to reproduce, but I suggest starting simpler

mvn archetype:generate -DarchetypeGroupId=io.confluent.maven -DarchetypeArtifactId=kafka-connect-quickstart

However, that command itself does not follow what is written in the README

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants