[ 
https://issues.apache.org/jira/browse/MTOMCAT-122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13222372#comment-13222372
 ] 

Hudson commented on MTOMCAT-122:
--------------------------------

Integrated in TomcatMavenPlugin-mvn3.x #113 (See 
[https://builds.apache.org/job/TomcatMavenPlugin-mvn3.x/113/])
    [MTOMCAT-122] add all plugin dependencies to the tomcat class loader 
(Revision 1297073)

     Result = FAILURE
olamy : http://svn.apache.org/viewvc/?view=rev&rev=1297073
Files : 
* 
/tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractRunMojo.java
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java

                
> add all plugin dependencies to the tomcat class loader
> ------------------------------------------------------
>
>                 Key: MTOMCAT-122
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-122
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Improvement
>            Reporter: James Apfel
>            Assignee: Olivier Lamy
>             Fix For: 2.0
>
>
> *Me* {quote}I'm working on a project that requires me to replace Tomcat's
> SessionManager. I've created a src/main/webapp/META-INF/context.xml
> (it defines the custom Manager) and I've edited my Maven pom file to
> include the requires JARs in the tomcat6-maven-plugin's dependencies
> section (see below) but I'm not sure if that actually refers to
> $CATALINA/lib or if these dependencies are for something else. It's
> failing with a ClassNotFoundException (it can't find the Manager class
> as defined in context.xml).
> Thanks,
>  James
> <plugin>
>   <groupId>org.apache.tomcat.maven</groupId>
>   <artifactId>tomcat6-maven-plugin</artifactId>
>   <version>2.0-SNAPSHOT</version>
>   <dependencies>
>     <dependency>
>       <groupId>spy</groupId>
>       <artifactId>spymemcached</artifactId>
>       <version>2.8.0</version>
>       <scope>runtime</scope>
>     </dependency>
>     <dependency>
>       <groupId>de.javakaffee.msm</groupId>
>       <artifactId>memcached-session-manager-tc6</artifactId>
>       <version>1.6.1</version>
>       <scope>runtime</scope>
>     </dependency>
>     <dependency>
>       <groupId>de.javakaffee.msm</groupId>
>       <artifactId>msm-kryo-serializer</artifactId>
>       <version>1.6.0</version>
>       <scope>runtime</scope>
>     </dependency>
>   </dependencies>
> </plugin>{quote}
> *Oliver Lamy* {quote}Arghh :-)
> The dependencies for the tomcat start (the plugin create a class
> loader with needed embeded tomcat jars) are limited to groupId
> org.apache.tomcat
> Can you load an issue ? https://issues.apache.org/jira/browse/MTOMCAT
> That's an easy fix.{quote}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to