Hi,
I’m new to Vaadin (and Maven); and I want to know how to set up a Vaadin Project with Maven2 (using m2eclipse plugin).
These are the steps I follow:
File / New / Other / Maven Project
Accept defaults in ‘New Maven Project’ window… next.
In the archetype selection window I left the field ‘Catalog’ to ‘All catalogs’, and write ‘vaadin’ in the filter field. BUT after hitting return, no vaadin related archetype is showed (¿?).
Does somebody know if I have to define a special catalog or something like that?
Thanks…
The archetypes are in the default Nexus repositories searched by a standard maven install. So if you have m2eclipse installed, when you create a Maven project using the “New Project…” wizard, you only have to type vaadin in the search box for the archetypes.
P.S.: Maven concepts are a bit hard to learn - I hated Maven at the beginning, because the documentation was bad -, but now that I am over the learning curve, I really love it (and the documentation has really improved since) !!!
I highly recommend this. I use maven a great deal, but when I’m creating a new project I
only use it when I want to make something easy to share (like an example in a blog). Every time I do this, it’s easier to go find and copy some other web project than figure it out from scratch. Adding Vaadin is the simplest part.