Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

getting-started-archetypes.asciidoc 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. ---
  2. title: Maven Archetypes
  3. order: 30
  4. layout: page
  5. ---
  6. [[getting-started.archetypes]]
  7. = Overview of Maven Archetypes
  8. Vaadin currently offers the following Maven archetypes for different kinds of projects:
  9. `vaadin-archetype-application`::
  10. This is a single-module project for simple applications.
  11. It is good for quick demos and trying out Vaadin Framework.
  12. It is also useful when you are experienced with the framework and want to build all the aspects of the application yourself.
  13. `vaadin-archetype-application-multimodule`::
  14. A complete Vaadin Framework application development setup.
  15. It features separate production and development profiles.
  16. `vaadin-archetype-application-example`::
  17. An example CRUD web application using multi-module project setup.
  18. `vaadin-archetype-widget`::
  19. A multi-module project for a new Vaadin Framework add-on.
  20. It has two modules: one for the add-on and another for a demo application.
  21. `vaadin-archetype-liferay-portlet`::
  22. A portlet development setup for the open-source Liferay portal.
  23. 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: 
  24. ```
  25. mvn -B archetype:generate \
  26. -DarchetypeGroupId=com.vaadin \
  27. -DarchetypeArtifactId=vaadin-archetype-application \
  28. -DarchetypeVersion=8.3.3 \
  29. -DgroupId=org.test \
  30. -DartifactId=vaadin-app \
  31. -Dversion=1.0-SNAPSHOT
  32. ```