title: Maven + Tomcat hot deploy
body: <p>I've searched on the internet for this question and found no single solution. We have a maven project that uses profiles to build artifact that suits dev/qa/prod environtments, does minification of JS and CSS using YUI plugin. It uses Spring for dependency injection and struts as UI framework. Ibatis is used as ORM mapper. We use Eclipse IDE on windows and are not using integrated eclipse as we need to deploy Unix servers. Now, my question is, is there a way to deploy this solution in such a way that changes to js, css, jsp, applicationContext files of spring, struts.xml, ibatis mapper files and of course Java code to take immediate effect without server restart. I remember spring-groovy plugin supports reload of context for a change in groovy file. So, I presume there should be a way supports hot deploy too.</p>