From 17aaea62289540c3315aec88b71428ecf18ea7e9 Mon Sep 17 00:00:00 2001 From: Sami Ekblad Date: Tue, 17 Apr 2018 17:35:00 +0300 Subject: Documentation: Updated version example and added a mvn example snippet (#10827) --- .../getting-started/getting-started-archetypes.asciidoc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'documentation/getting-started') diff --git a/documentation/getting-started/getting-started-archetypes.asciidoc b/documentation/getting-started/getting-started-archetypes.asciidoc index ebf95786ea..c78234c2a2 100644 --- a/documentation/getting-started/getting-started-archetypes.asciidoc +++ b/documentation/getting-started/getting-started-archetypes.asciidoc @@ -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 +``` -- cgit v1.2.3