Skip to content

Commit 7927755

Browse files
author
Sebastian Planes
committed
Add archetypeVersion to the suggested commands to build a test application or module.
1 parent c0813f5 commit 7927755

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,17 @@ your application.
6161

6262

6363
mvn -B archetype:generate -DarchetypeGroupId=com.github.katari \
64-
-DarchetypeArtifactId=k2-archetype-application -DarchetypeCatalog=local \
64+
-DarchetypeArtifactId=k2-archetype-application -DarchetypeVersion=0.1.8 \
65+
-DarchetypeCatalog=local \
6566
-DgroupId=sample -DartifactId=sample \
6667
-Dpackage=sample -DclassPrefix=Sample -Dversion=0.1-SNAPSHOT
6768

6869

6970
This is the command we used to generate the k2-shiro module:
7071

7172
mvn -B archetype:generate -DarchetypeGroupId=com.github.katari \
72-
-DarchetypeArtifactId=k2-archetype-module -DarchetypeCatalog=local \
73+
-DarchetypeArtifactId=k2-archetype-module -DarchetypeVersion=0.1.8 \
74+
-DarchetypeCatalog=local \
7375
-DgroupId=com.github.katari -DartifactId=k2-shiro \
7476
-Dpackage=com.k2.shiro -DclassPrefix=Shiro -Dversion=0.1-SNAPSHOT
7577

0 commit comments

Comments
 (0)