[Building Sakai] Resolving Tomcat Dependencies in Maven
Mark J. Norton
markjnorton at earthlink.net
Fri Aug 17 11:58:29 PDT 2012
Your information was enough to resolve my problems, Matthew. Much
thanks for that. The dependencies came out to be:
* tomcat:catalina:5.5.23
* tomcat:tomcat-util:5.5.23
I note that these dependencies are different in Tomcat 6.x and 7.x.
Apache went to a group id of org.apache.tomcat.
Thanks for the help - you, too, Zach.
- Mark
On 8/17/2012 2:26 PM, Matthew Jones wrote:
> I *think* for the 5.5.x they called it groupId tomcat at least that's
> what we have in the sakai repo.
>
> http://source.sakaiproject.org/maven2/tomcat/
>
> I don't see tomcat-util in there though, the last published version on
> maven central for that was 5.5.23?
>
> http://mvnrepository.com/artifact/tomcat/tomcat-util/5.5.23
>
> These were the dependencies that webdav uses, though it doesn't use
> tomcat-util, just catalina,catalina-optional and naming-resources.
>
> On Fri, Aug 17, 2012 at 1:32 PM, Mark J. Norton
> <markjnorton at earthlink.net <mailto:markjnorton at earthlink.net>> wrote:
>
> I am using some third-party software that in turn uses classes
> from the Tomcat catalina and utils JARs. Both of these JARs are
> present in the Tomcat distro (5.5.30 running Sakai 2.8.0). The
> question is how to declare these dependencies in Maven.
> Currently, I have:
>
> <dependency>
> <groupId>org.apache.tomcat</groupId>
> <artifactId>tomcat-catalina</artifactId>
> <version>5.5.30</version>
> </dependency>
> <dependency>
> <groupId>org.apache.tomcat</groupId>
> <artifactId>tomcat-util</artifactId>
> <version>5.5.30</version>
> </dependency>
>
> These result in an unresolved dependency, ie., they are not found
> in any repository.
>
> Some of the web documentation I've seen refers to a Maven Tomcat
> plugin. Do I need to include that? If so, how?
>
> - Mark Norton
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> <mailto:sakai-dev at collab.sakaiproject.org>
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org
> <mailto:sakai-dev-unsubscribe at collab.sakaiproject.org> with a
> subject of "unsubscribe"
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120817/00f1fc51/attachment.html
More information about the sakai-dev
mailing list