A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
Ant, Maven and Other Build Tools
eclipse maven plugin
Joined: Jul 27, 2013
Mar 12, 2014 10:26:00
plug-in installed with eclipse (kepler version). So here when i have configured a maven build with
goals : clean install
when i run this maven build , it cleans and build the WAR again and put it in the target folder with other folders.
at this target location i have my updated WAR that i wish to deploy.
But i always have to copy this WAR to webapps folder so that my apache can read the updated WAR.
Can there be a way so that by maven build my WAR is updated at the webapps folder ?
Please please help me , i am sick and tired of copying , pasting my WAR at the webapps location of
Joined: Oct 29, 2001
Mar 12, 2014 10:56:46
Since this doesn't have much to do with Struts, I'll move it to a more closely related forum...
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
How To Ask Questions On JavaRanch
Joined: Jun 25, 2001
Mar 13, 2014 04:50:20
You might want to read this:
Customer surveys are for companies who didn't pay proper attention to begin with.
Joined: May 14, 2008
Mar 13, 2014 11:57:56
Have a look at the cargo plugin, that should do what you need (copying the war to your tomcat webapps directory).
JBoss In Action
It is sorta covered in the
JavaRanch Style Guide
subject: eclipse maven plugin
maven clean war
Maven Assembling the Project during the 'mvn install' phase
Maven: What's the big deal?
Hot Deployment in IntelliJ and Tomcat
m2eclipse: Resources not copied over to target folder
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014