today i am going to show you how to
create a Vaadin project using maven. I am going to create a project
that uses Vaadin 7.0.5. My development environment is as follows.
- Ubuntu OS
- JDK 7
- maven 3
- Intelli J IDEA 12
- Apache tomcat 7
I am using ubuntu terminal throughout
the development.
mvn archetype:generate \
-DarchetypeGroupId=com.vaadin \
-DarchetypeArtifactId=vaadin-archetype-application \
-DarchetypeVersion=7.0.5 \
-Dpackaging=war
then fill the required details as
follows.
groupId - org.fosshub.vaadin
artifactId - vaadin-web-app
version - 1.0
package - org.fosshub.vaadin.sample
after creating the project, you can
open the project with your preferred IDE. I am using IntelliJIDEA.
The opened project structure will be
as follows.
Regards
Chathuranga Tennakoon