直接输入
mvn archetype:generate -DarchetypeGroupId=org.springside.examples -DarchetypeArtifactId=quickstart-archetype -DarchetypeVersion=4.2.3-GA -DarchetypeCatalog=internal
或者修改generate-project.bat
@echo off
echo [INFO] Generating project in ./generated-projects
mkdir generated-projects
cd generated-projects
call mvn archetype:generate -DarchetypeGroupId=org.springside.examples -DarchetypeArtifactId=quickstart-archetype -DarchetypeVersion=4.2.3-GA -DarchetypeCatalog=internal
pause