In official documentation of Vaadin 8 I found how use Maven archetype:
https://vaadin.com/docs/v8/framework/getting-started/getting-started-archetypes.html
Ok. Something like this:
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
Nice.
But what about Vaadin 12? Is it has Maven archetype ?
No, there are no maven archetypes for Vaadin 10+ (yet).
You may however try these as long as there are no "official" archetypes.
https://github.com/viritin/vaadin-flow-archetypes
For example:
But as of now I think the officially prefered way to create Vaadin 10+ projects is using a starter project from
https://vaadin.com/start/lts
where you can download a zip file containing a maven project setup.