I got this error when I was trying to create a project using Maven 3.3.3 using archetype plugin:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27.372 s
[INFO] Finished at: 2015-06-10T10:51:23-07:00
[INFO] Final Memory: 10M/155M
[INFO] ------------------------------------------------------------------------
[ERROR] Could not find goal 'generate' in plugin org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7 among available goals create-from-project
, create -> [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/MojoNotFoundException
Any help is appreciated.
Thanks
Can You write command that gives you that output?
It should looks like:
mvn archetype:generate -B -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=1.1 -DgroupId=com.company -DartifactId=project -Dversion=1.0-SNAPSHOT -Dpackage=com.company.project
Just try to use command above (change Your artifactId, groupId and package of course).