Permalink
Browse files

archetype version

  • Loading branch information...
vankeisb committed Mar 24, 2012
1 parent f821e2f commit 91a24c7602cf3bc9dae4744cb1e99c79fd7b6618
Showing with 2 additions and 2 deletions.
  1. +1 −1 tooling/src/main/scripts/woko
  2. +1 −1 tooling/src/main/scripts/woko.bat
@@ -89,7 +89,7 @@ init_project()
echo "Initializing project"
read_init_project_values
echo "| Generating your project, please wait, it can take a while to download everything..."
- mvn archetype:generate -DarchetypeArtifactId=woko-archetype -DarchetypeGroupId=com.pojosontheweb\
+ mvn archetype:generate -DarchetypeVersion=2.0-beta -DarchetypeArtifactId=woko-archetype -DarchetypeGroupId=com.pojosontheweb\
-DgroupId="$groupId" -DartifactId="$artifactId" -Dversion="$version" -DinteractiveMode="false" -q
cd "$artifactId"
mvn exec:java -Dexec.mainClass="woko.tooling.cli.Runner" -Dexec.classpathScope=runtime -Dexec.args="$execargs" -q
@@ -74,7 +74,7 @@ if exist pom.xml (
)
echo ^| Generating your project, please wait, it can take a while to download everything...
- call mvn archetype:generate -DarchetypeArtifactId=woko-archetype -DarchetypeGroupId=com.pojosontheweb -DgroupId="%GROUPID%" -DartifactId="%ARTIFACTID%" -Dversion="%VERSION%" -DinteractiveMode="false" -q
+ call mvn archetype:generate -DarchetypeArtifactId=woko-archetype -DarchetypeGroupId=com.pojosontheweb -DarchetypeVersion=2.0-beta -DgroupId="%GROUPID%" -DartifactId="%ARTIFACTID%" -Dversion="%VERSION%" -DinteractiveMode="false" -q
cd "%ARTIFACTID%"
call mvn exec:java -Dexec.mainClass="woko.tooling.cli.Runner" -Dexec.classpathScope=runtime -Dexec.args=%EXECARGS% -q

0 comments on commit 91a24c7

Please sign in to comment.