This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I use Eclipse with Maven plugin. I am able to create a whole project and build it (using maven install). I receive .war file. However I have to deploy that file manually. It is a suboptimal solution. Is there any way to build a package and deploy it on the server automagically?
When I use standard project with embedded Glassfish I am able to utilize hot redeployment which is very fast. I would like to achieve something similar with Maven.
But I have found more simple solution. You have to install two plugins: Eclipse Integration with Maven and Maven for WTP. That's all!
All you have to do is right click on the maven project and choose Debug on server...