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

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

    [ https://issues.apache.org/jira/browse/MTOMCAT-191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13512125#comment-13512125 ] 

Hudson commented on MTOMCAT-191:
--------------------------------

Integrated in TomcatMavenPlugin-mvn3.x #222 (See [https://builds.apache.org/job/TomcatMavenPlugin-mvn3.x/222/])
    [MTOMCAT-191] Return the "redeploy" goal to the Maven plugin (Revision 1418084)

     Result = FAILURE
olamy : http://svn.apache.org/viewvc/?view=rev&rev=1418084
Files : 
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/deploy/RedeployMojo.java

                
> 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
>    Affects Versions: 2.0-beta-1, 2.0
>            Reporter: Glen Mazza
>            Assignee: Olivier Lamy (*$^¨%`£)
>            Priority: Minor
>             Fix For: 2.1
>
>
> 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