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

Allow for the creation of a war that is both executable and deployable

    Details

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

      Description

      Currently with the exec-war/-only goals, a jar or war is created that is executable but not deployable to an existing tomcat meaning two release artifacts would be required to take this approach.

      Ideally, a new goal would be added for creating war files that can be deployed to an existing tomcat or excuted directly.

      Steps
      a. Allow tomcat7-war-runner to copy the running war to the webapps folder if some property is set

      b. Add a goal to build some war with tomcat7-war-runner overlayed and add a manifest with main-class set.

      If this sounds interesting, I can have a patch available soon and any feedback would be great.

        Attachments

          Activity

            People

            • Assignee:
              olamy Olivier Lamy (*$^¨%`£)
              Reporter:
              mitchkyle Mitch Kyle
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: