aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes eclipse maven plugin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "eclipse maven plugin " Watch "eclipse maven plugin " New topic
Author

eclipse maven plugin

Rishabh Bhardwaj
Greenhorn

Joined: Jul 27, 2013
Posts: 2
I have maven 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 tomcat server.




Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8927
    
    9

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]
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16141
    
  21

You might want to read this: http://www.coderanch.com/t/630100/tools/maven-tomcat


Customer surveys are for companies who didn't pay proper attention to begin with.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

Have a look at the cargo plugin, that should do what you need (copying the war to your tomcat webapps directory).
http://cargo.codehaus.org/Maven2+plugin

JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: eclipse maven plugin