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

Add a skip parameter to deploy/redeploy/undeploy goals

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2
    • 2.3
    • None

    Description

      Our use case for this is a multi module project with one overlay module (with war packaging) and other war modules that use the first one as an overlay.

      root
      +-- overlay-war
      +-- app1-war
      +-- app2-war
      

      So app1-war and app2-war uses overlay-war as a war-type dependency to use it as an overlay.

      We want to use the tomcat-maven-plugin to deploy/redeploy/undeploy app1-war and app2-war to a Tomcat instance. However we do not want to deploy/redeploy/undeploy overlay-war.

      This could be fixed by adding a skip parameter that we could apply to the overlay-war configuration. There is a skip parameter already in the plugin for other goals like "run".

      Attachments

        1. MTOMCAT-284-3.patch
          1 kB
          Dennis Lundberg

        Issue Links

          Activity

            People

              olamy Olivier Lamy
              dennisl@apache.org Dennis Lundberg
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: