This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes Maven - trouble with mvn archetype:create Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Maven - trouble with mvn archetype:create" Watch "Maven - trouble with mvn archetype:create" New topic

Maven - trouble with mvn archetype:create

Arundhathi Menon
Ranch Hand

Joined: Jan 14, 2004
Posts: 113
Hi ,

I am getting the following error console when I execute the command:
mvn archetype:create -DartifactId=com-ee-kernel

I have configured the proxy settings in my settings.xml. Can someone please tell me why this is happening?

2K downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'd41c17bd23
24df6eb4cc348bd89b78647b21e539'; remote = 'b0280b2e376542c692104f38b14a4892e509a
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] The PluginDescriptor for the plugin Plugin [org.apache.maven.plugins:mave
n-archetype-plugin] was not found.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.IllegalStateException: The PluginDescriptor for the plugin Plugin [org
.apache.maven.plugins:maven-archetype-plugin] was not found.
at org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginM
at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(De
at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
at org.apache.maven.DefaultMaven.doExecute(
at org.apache.maven.DefaultMaven.execute(
at org.apache.maven.cli.MavenCli.main(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
at java.lang.reflect.Method.invoke(
at org.codehaus.classworlds.Launcher.launchEnhanced(
at org.codehaus.classworlds.Launcher.launch(
at org.codehaus.classworlds.Launcher.mainWithExitCode(

at org.codehaus.classworlds.Launcher.main(
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16 seconds
[INFO] Finished at: Mon Sep 03 11:12:25 IST 2007
[INFO] Final Memory: 1M/3M
[INFO] ------------------------------------------------------------------------

I agree. Here's the link:
subject: Maven - trouble with mvn archetype:create