Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta-1, 2.0
    • Fix Version/s: 2.1
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Activity

        Show
        Olivier Lamy (*$^¨%`£) added a comment - fixed http://svn.apache.org/r1418084
        Hide
        Hudson added a comment -

        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
        Show
        Hudson added a comment - 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

          People

          • Assignee:
            Olivier Lamy (*$^¨%`£)
            Reporter:
            Glen Mazza
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development