Two Laptop Bag
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 REST with Spring (video course) 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

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: 9168

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: 17256

You might want to read this:

An IDE is no substitute for an Intelligent Developer.
Peter Johnson

Joined: May 14, 2008
Posts: 5852

Have a look at the cargo plugin, that should do what you need (copying the war to your tomcat webapps directory).

JBoss In Action
jQuery in Action, 3rd edition
subject: eclipse maven plugin
It's not a secret anymore!