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 Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "eclipse maven plugin " Watch "eclipse maven plugin " New topic

eclipse maven plugin

Rishabh Bhardwaj

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

Joined: Oct 29, 2001
Posts: 9102

Since this doesn't have much to do with Struts, I'll move it to a more closely related forum...

[How To Ask Questions On JavaRanch]
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16753

You might want to read this:

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

Joined: May 14, 2008
Posts: 5850

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