[N.B. I am a total n00b to Vaadin, my apologies in advance if this is a stupid question, but I’m stuck and need help.]
With IntelliJ IDEA 14.1.1 (Ultimate) & Vaadin 7.4.3, creating an empty project from the maven archetype seems not to result in an artifact for the app, making it impossible to deploy (e.g. to tomcat) The maven used is the one bundled with IDEA, v3.0.5
This does not happen when I create a new app with just the vaadin plugin, without maven. In that case, I’m able to deploy the app to tomcat with no problems. But I need to use maven to manage dependencies and not depend on IntelliJ IDEA for builds, so I’m asking for your help.
Here are the steps to reproduce:
- In IntelliJ IDEA, create a new project
- Select “Maven” in the left column, check the “Create from archetype” box, and select the com.vaadin:vaadin-archetype-application:7.4.3
- Open the maven pane to the top right and run Lifecycle → package (this might take a while if you don’t have all the dependencies installed in the maven repo)
- From the “Run” menu, select “Edit Configurations…”, and click ‘+’ at the top left
- Select “Tomcat Server” → “Local” (this assumes you have already installed tomcat and enabled the IntelliJ plugin)
- Select the “Deployment” tab and click the ‘+’ button to the bottom left of the (empty) deployment list
- I should be seeing “Artifact…”, but all I see is “External Source…”
I see “Warning: No artifacts configured” at the bottom of the dialog.
Once again, apologies if I’ve missed something obvious, I’m new to a lot of this stuff.
Thanks!