Hi,
I am new to the
Maven build tool. I have installed apache-maven-3.0.5 in my machine. After that I've try to run the below command. I am getting the below error.
Please help on this.
mvn archetype:generate -DgroupId=com.mytutorial -DartifactId=simple
Downloading:
http://search.maven.org/org/wildfly/plugins/maven-metadata.xml
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.612s
[INFO] Finished at: Wed Mar 18 20:17:46 IST 2015
[INFO] Final Memory: 5M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'archetype' in the current project and in the plugin groups [org.wildfly.plugins, org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (c:\tools\home\.m2\repository), central (
http://search.maven.org/)] -> [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/NoPluginFoundForPrefixException
**********************************************************************************