[Building Sakai] Resolving Tomcat Dependencies in Maven
Mark J. Norton
markjnorton at earthlink.net
Fri Aug 17 12:21:03 PDT 2012
Thanks, Zach. I doubt there was much change between 5.5.23 and 5.5.35
in these classes, though there might have been bug fixes. I'll use the
versions you posted.
- Mark
On 8/17/2012 3:17 PM, Zach A. Thomas wrote:
> So it seems we had tomcat:catalina:5.5.35 in our repo already, but no
> tomcat:tomcat-util
> I added tomcat:tomcat-util:5.5.35 in case you want to move up to it.
>
> Zach
> On Aug 17, 2012, at 1:58 PM, "Mark J. Norton"
> <markjnorton at earthlink.net <mailto:markjnorton at earthlink.net>> wrote:
>
>> 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"
>>>
>>>
>>
>> _______________________________________________
>> 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 with a subject of
>> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120817/0cc8051a/attachment.html
More information about the sakai-dev
mailing list