Skip to content

Commit

Permalink
Fix version number of archetypes (#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
hpehl authored Nov 5, 2023
1 parent 52c4d09 commit 194e1f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions j2cl-archetypes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ To create a project interactively, use:
```
mvn archetype:generate -DarchetypeGroupId=com.vertispan.j2cl.archetypes \
-DarchetypeArtifactId=<archetype-name> \
-DarchetypeVersion=0.21
-DarchetypeVersion=0.21.0
```

To specify these four variables, add them as system properties:
```
mvn archetype:generate -DarchetypeGroupId=com.vertispan.j2cl.archetypes \
-DarchetypeArtifactId=<archetype-name> \
-DarchetypeVersion=0.21 \
-DarchetypeVersion=0.21.0 \
-DgroupId=my.project.group.id \
-DartifactId=myapp \
-Dversion=1.0-SNAPSHOT \
Expand All @@ -26,7 +26,7 @@ to replace `<archetype-name>` with the name of the archetype:
```
mvn org.apache.maven.plugins:maven-dependency-plugin:get \
-DrepoUrl=https://repo.vertispan.com/j2cl/ \
-Dartifact=com.vertispan.j2cl.archetypes:<archetype-name>:0.21
-Dartifact=com.vertispan.j2cl.archetypes:<archetype-name>:0.21.0
```

# [`j2cl-archetype-simple`](j2cl-archetype-simple)
Expand Down

0 comments on commit 194e1f3

Please sign in to comment.