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

Add automatic integration tests

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1
    • 2.0-beta-1
    • None
    • None

    Description

      Because of MTOMCAT-62 I think it is necessary to have automatic integration tests to see if the migration to Tomcat 7 works without problems. To achieve this I have a proposal for integration tests. In addition I also restructured the whole tomcat-maven-plugin. The main artifact is now tomcat6x-maven-plugin as I think we will need tomcat7x-maven-plugin as extra module and perhaps tomcat-maven-plugin-common for shared artifacts.

      The first integration test added is the one you already provided in the sources. But now it is automatically executed.

      To test the whole plugin call the parent POM with:

      tomcat-maven-plugin/# mvn clean verify -P integration-test
      

      This will ensure that the plugin is installed in the phase pre-integration-test rather than install and that the Integration Test module is actually added.

      Because of the Major change I suggest to move to version number 2.0-SNAPSHOT so that version 2.0 will come with Tomcat 7 support eventually.

      Attachments

        Activity

          People

            olamy Olivier Lamy
            thragor Mark Michaelis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: