Browse Source

Documentation: Updated version example and added a mvn example snippet (#10827)

tags/8.5.0.alpha1
Sami Ekblad 6 years ago
parent
commit
17aaea6228
1 changed files with 11 additions and 1 deletions
  1. 11
    1
      documentation/getting-started/getting-started-archetypes.asciidoc

+ 11
- 1
documentation/getting-started/getting-started-archetypes.asciidoc View File

@@ -28,4 +28,14 @@ It has two modules: one for the add-on and another for a demo application.
`vaadin-archetype-liferay-portlet`::
A portlet development setup for the open-source Liferay portal.

All archetype versions follow the framework version numbers (like `8.2.1`) and use the groupId `com.vaadin`.
All archetype versions follow the framework version numbers (like `8.3.3`) and use the groupId `com.vaadin`. For example to generate a new application project in batch mode using version: 

```
mvn -B archetype:generate \
-DarchetypeGroupId=com.vaadin \
-DarchetypeArtifactId=vaadin-archetype-application \
-DarchetypeVersion=8.3.3 \
-DgroupId=org.test \
-DartifactId=vaadin-app \
-Dversion=1.0-SNAPSHOT
```

Loading…
Cancel
Save