Apache Tomcat Maven Plugin
  1. Apache Tomcat Maven Plugin
  2. MTOMCAT-95

Add directories to the embedded tomcat classloader (equivalent to shared.loader property in regular tomcat instance).

    Details

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

      Description

      For one of my projects I needed to add directories to the classpath of a tomcat instance. I added additional functionality to tomcat-maven-plugin v1.1 to support this by adding configured directories to the Embedded tomcat classloader (only tomcat:run mojo affected). Attached is the patch file of my modifications.

        Activity

        Hide
        Hudson added a comment -

        Integrated in TomcatMavenPlugin #53 (See https://builds.apache.org/job/TomcatMavenPlugin/53/)
        MTOMCAT-95 Add directories to the embedded tomcat classloader (equivalent to shared.loader property in regular tomcat instance).

        olamy : http://svn.apache.org/viewvc/?view=rev&rev=1187231
        Files :

        • /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/RunMojo.java
        • /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/RunMojo.java
        Show
        Hudson added a comment - Integrated in TomcatMavenPlugin #53 (See https://builds.apache.org/job/TomcatMavenPlugin/53/ ) MTOMCAT-95 Add directories to the embedded tomcat classloader (equivalent to shared.loader property in regular tomcat instance). olamy : http://svn.apache.org/viewvc/?view=rev&rev=1187231 Files : /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/RunMojo.java /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/RunMojo.java

          People

          • Assignee:
            Olivier Lamy (*$^¨%`£)
            Reporter:
            Nick Lloyd
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development