Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: