This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes struts and maven Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts and maven" Watch "struts and maven" New topic
Author

struts and maven

Lucas Smith
Ranch Hand

Joined: Apr 20, 2009
Posts: 804
    
    1

Howdy!

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.


SCJP6, SCWCD5, OCE:EJBD6.
BLOG: http://leakfromjavaheap.blogspot.com
debraj mallick
Ranch Hand

Joined: Mar 08, 2011
Posts: 188

hope these links will helps you

http://code.google.com/p/manik-hot-deploy/
http://blog.redfin.com/devblog/2009/09/how_to_set_up_hot_code_replacement_with_tomcat_and_eclipse.html
http://www.ibm.com/developerworks/opensource/library/os-eclipse-tomcat/index.html
http://oreilly.com/java/archive/eclipse-jboss-remote-debug.html
Lucas Smith
Ranch Hand

Joined: Apr 20, 2009
Posts: 804
    
    1

Thank you!

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...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: struts and maven
 
Similar Threads
How to mavenize a project
Maven target folder is empty when using Eclipse M2 plugin
How to auto deploy to weblogic using maven
maven configuration for compiling a java project in eclips
eclipse galileo + m2eclipse + enterprise application