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

Tomcat7 plugin fails in multi module project when test dependencies are present

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.2
    • None
    • tomcat7
    • None

    Description

      This issue is the same as MTOMCAT-210. In a multi-module project, if any of the modules has a dependency on the test-jar of another, the Tomcat7 Maven plugin fails to start Tomcat.

      Tomcat6 plugin does not suffer from this problem.

      Attached is a sample project that reproduces the issue. Run it as mvn clean tomcat7:run to see the problem. mvn clean test-compile tomcat7:run runs fine (which is expected because in this case the test dependencies are on the classpath).

      Attachments

        1. maven-tomcat7.zip
          9 kB
          Manish Java

        Activity

          People

            olamy Olivier Lamy
            manish-in-java Manish Java
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: