You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Glen Mazza (JIRA)" <ji...@apache.org> on 2012/12/06 19:37:09 UTC

[jira] [Created] (MTOMCAT-191) Return the "redeploy" goal to the Maven plugin

Glen Mazza created MTOMCAT-191:
----------------------------------

             Summary: Return the "redeploy" goal to the Maven plugin
                 Key: MTOMCAT-191
                 URL: https://issues.apache.org/jira/browse/MTOMCAT-191
             Project: Apache Tomcat Maven Plugin
          Issue Type: Improvement
            Reporter: Glen Mazza
            Priority: Minor


Best to add the "redeploy" goal to the tomcat7 plugin, to eliminate the need for the user to have to remember/google the "-Dmaven.tomcat.update=true" string or have to inefficiently call mvn tomcat7:undeploy and mvn tomcat7:deploy sequentially.  mvn tomcat:redeploy generally gets much more use during testing/debugging/development than mvn tomcat:deploy, and also acts like mvn tomcat:deploy if the WAR isn't there anyway.

This would also benefit archetype/tutorial writers by no longer requiring them to hardcode the <update>true</update> configuration setting in the pom.xml for the deploy goal at a risk of overriding a potential safety mechanism of having tomcat7:deploy fail if the WAR is already there.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org