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

Allow running deploy-only and redeploy-only goals without pom file

    XMLWordPrintableJSON

Details

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

    Description

      Use case is as follows:

      0. A 2-step CI build exists for the sole purpose of deploying any artifact to a remote tomcat server
      1. Run mvn dependency:get -D... -D... to download a war file from Nexus.
      2. Run mvn tomcat7:deploy -D... -D... to deploy the war file.

      I would prefer to not involve a pom file in this. However, if the plugin doesn't find one, it fail.s

      Also, it appears that all the properties I need, except warFile, can be overriden with -D's. The only way I'm able to make this work is create a dummy pom file with tomcat7 plugin defined in the build section, and a <warFile>${warFile}</warFile> in its configuration section.

      Attachments

        1. MTOMCAT-280.patch
          2 kB
          Dennis Lundberg

        Activity

          People

            olamy Olivier Lamy
            lehtinen Lauri Lehtinen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: