Maven dependencies for Tomcat 7

2011-01-20 Thread Ingo Fischer
Hello!

I want to develop applications with Tomcat 7, using Maven for dependency
management.

I'm used to develop apps for Glassfish (which is built by Maven), but Tomcat
seems to be built completely by Ant, so i cannot see what dependencies
Tomcat exactly relies on.
Where can i find all matching dependencies i need, e.g. the Servlet 3.0 API,
the new Tomcat testing APIs, Security APIs and other stuff, so i can add
that dependencies to my project?

Thanks!


Re: Maven dependencies for Tomcat 7

2011-01-20 Thread Mark Thomas
On 20/01/2011 17:28, Ingo Fischer wrote:
 Hello!
 
 I want to develop applications with Tomcat 7, using Maven for dependency
 management.
 
 I'm used to develop apps for Glassfish (which is built by Maven), but Tomcat
 seems to be built completely by Ant, so i cannot see what dependencies
 Tomcat exactly relies on.
 Where can i find all matching dependencies i need, e.g. the Servlet 3.0 API,
 the new Tomcat testing APIs, Security APIs and other stuff, so i can add
 that dependencies to my project?

Everything you need is in:
http://repo2.maven.org/maven2/org/apache/tomcat/

I'd suggest using the embedded JARs:
http://repo2.maven.org/maven2/org/apache/tomcat/embed/

You need core, jasper and either logging-juli OR logging-log4j

You'll also need the Eclipse ECJ jar. That isn't in Maven (at least the
same version as used in Tomcat isn't) so you'll have to add that
manually to your local repo.

Mark

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