F:\study\ssm>mvn archetype:create -DgroupId=com.xcl -DartifactId=ssm -DarchetypeArtifactId=maven-archetype-webapp
[info] Scanning for projects...
[info] Searching repository for plugin with prefix: 'archetype'.
[info] ------------------------------------------------------------------------
[error] BUILD ERROR
[info] ------------------------------------------------------------------------
[info] Error building POM (may not be this project's POM).
Project ID: org.apache.maven.plugins:maven-archetype-plugin
Reason: Error getting POM for 'org.apache.maven.plugins:maven-archetype-plugin' from the repository: Failed to resolve artifact, possibly due to a repository list that is not appropriately equipped for this artifact's metadata.
org.apache.maven.plugins:maven-archetype-plugin:pom:2.1-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
for project org.apache.maven.plugins:maven-archetype-plugin
[info] ------------------------------------------------------------------------
[info] For more information, run Maven with the -e switch
[info] ------------------------------------------------------------------------
[info] Total time: < 1 second
[info] Finished at: Sun Oct 09 15:06:09 GMT 2011
[info] Final Memory: 1M/4M
[info] ------------------------------------------------------------------------