转载自:http://blog.csdn.net/lfsfxy9/article/details/9399093
D:MavenProjects>mvn archetype:create -DgroupId=com.jizg -DartifactId=testMaven
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-archetype-plugin:2.2:create (default-cli) @ standalone-pom ---
[WARNING] This goal is deprecated. Please use mvn archetype:generate instead
[INFO] Defaulting package to group ID: com.jizg
[INFO] -------------------------------------------------------------------------
---
[INFO] Using following parameters for creating project from Old (1.x) Archetype:
maven-archetype-quickstart:RELEASE
[INFO] -------------------------------------------------------------------------
---
[INFO] Parameter: groupId, Value: com.jizg
[INFO] Parameter: packageName, Value: com.jizg
[INFO] Parameter: package, Value: com.jizg
[INFO] Parameter: artifactId, Value: testMaven
[INFO] Parameter: basedir, Value: D:MavenProjects
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] project created from Old (1.x) Archetype in dir: D:MavenProjects estMav
en
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.618s
[INFO] Finished at: Sun Jul 21 16:39:56 CST 2013
[INFO] Final Memory: 9M/245M
[INFO] ------------------------------------------------------------------------