Reputation: 187379
I have a maven war project. How can I do do the following from within IntelliJ IDEA:
Upvotes: 4
Views: 4425
Reputation: 59634
You can use the cargo plugin too. It works pretty well for me.
Upvotes: 0
Reputation: 11638
You need to configure maven-war-plugin
to build your war. tomcat<x>-maven-plugin
will allow you to deploy it to a tomcat instance and may in fact do the war generation too - I use JBoss at my current office so haven't got any experience with the maven tomcat integration.
see http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/ and http://maven.apache.org/plugins/maven-war-plugin/ for some more details on both of these plugins.
Upvotes: 1