直接输入
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
时间: 2024-10-13 06:17:05