Friday, May 17, 2013

Create Vaadin project with maven

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 \

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.

now you can start coding with your created vaadin project.

Chathuranga Tennakoon

No comments:

Post a Comment