This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Build a WAR using Maven Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Build a WAR using Maven" Watch "Build a WAR using Maven" New topic
Author

Build a WAR using Maven

Natalie Kopple
Ranch Hand

Joined: May 06, 2003
Posts: 320
I have installed the newest version of Mavin into the Eclipse using Help --> Install New Software.

I also have a pom.xml file prepared in my Java project directory.

How do I build a WAR using pom.xml? Your guidance is much appreciated.
Joachim Rohde
Ranch Hand

Joined: Nov 27, 2006
Posts: 423

http://maven.apache.org/plugins/maven-war-plugin/usage.html
Natalie Kopple
Ranch Hand

Joined: May 06, 2003
Posts: 320
Thanks Joachim.

I have found an easy way to do it. I right click on the pom.xml and select "maven package" from the list.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Build a WAR using Maven
 
Similar Threads
Maven Build Script Problem
extract jar file programatically
Possible to change where Maven builds war from?
Maven War
Continuous integration - Bamboo, Maven