Uploaded image for project: 'Apache Tomcat Maven Plugin'
  1. Apache Tomcat Maven Plugin
  2. MTOMCAT-191

Return the "redeploy" goal to the Maven plugin

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0-beta-1, 2.0
    • 2.1
    • None
    • 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

            olamy Olivier Lamy
            gmazza Glen Mazza
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: