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

    XMLWordPrintableJSON

Details

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

            olamy Olivier Lamy
            mitchkyle Mitch Kyle
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: