<?xml version="1.0" encoding="UTF-8"?>
<!--
    Licensed to the Apache Software Foundation (ASF) under one or more
    contributor license agreements.  See the NOTICE file distributed with
    this work for additional information regarding copyright ownership.
    The ASF licenses this file to You under the Apache License, Version 2.0
    (the "License"); you may not use this file except in compliance with
    the License.  You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
-->

<!-- $Rev$ $Date$ -->

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>org.apache.geronimo.plugins</groupId>
        <artifactId>plugins</artifactId>
        <version>3.0-SNAPSHOT</version>
    </parent>

    <artifactId>tomcat</artifactId>
    <name>Geronimo Plugins, Tomcat</name>
    <packaging>pom</packaging>

    <description>
        Tomcat plugin
    </description>

    <modules>
        <module>geronimo-tomcat6</module>
        <module>geronimo-tomcat6-builder</module>
        <module>tomcat6</module>
        <module>tomcat6-no-ha</module>
        <module>tomcat6-deployer</module>
        <module>geronimo-tomcat6-clustering-wadi</module>
        <module>geronimo-tomcat6-clustering-builder-wadi</module>
        <module>tomcat6-clustering-wadi</module>
        <module>tomcat6-clustering-builder-wadi</module>
    </modules>

    <dependencyManagement>
        <dependencies>
            <!-- Tomcat web container -->
            <dependency>
                <groupId>${tomcatGroupId}</groupId>
                <artifactId>jasper</artifactId>
                <version>${tomcatVersion}</version>
                <exclusions>
                    <exclusion>
                        <groupId>${tomcatGroupId}</groupId>
                        <artifactId>servlet-api</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>${tomcatGroupId}</groupId>
                        <artifactId>juli</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>${tomcatGroupId}</groupId>
                        <artifactId>jsp-api</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>${tomcatGroupId}</groupId>
                        <artifactId>el-api</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>${tomcatGroupId}</groupId>
                        <artifactId>catalina</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>${tomcatGroupId}</groupId>
                        <artifactId>annotations-api</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>${tomcatGroupId}</groupId>
                <artifactId>jasper-el</artifactId>
                <version>${tomcatVersion}</version>
                <exclusions>
                    <exclusion>
                        <groupId>${tomcatGroupId}</groupId>
                        <artifactId>servlet-api</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>${tomcatGroupId}</groupId>
                        <artifactId>juli</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>${tomcatGroupId}</groupId>
                        <artifactId>jsp-api</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>${tomcatGroupId}</groupId>
                        <artifactId>el-api</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>${tomcatGroupId}</groupId>
                        <artifactId>catalina</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>${tomcatGroupId}</groupId>
                        <artifactId>annotations-api</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>

            <dependency>
                <groupId>${tomcatGroupId}</groupId>
                <artifactId>juli</artifactId>
                <version>${tomcatVersion}</version>
            </dependency>
            <dependency>
                <groupId>${tomcatGroupId}</groupId>
                <artifactId>catalina</artifactId>
                <version>${tomcatVersion}</version>
                <exclusions>
                    <exclusion>
                        <groupId>${tomcatGroupId}</groupId>
                        <artifactId>juli</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.apache.geronimo.specs</groupId>
                        <artifactId>geronimo-ejb_3.0_spec</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.apache.geronimo.specs</groupId>
                        <artifactId>geronimo-servlet_2.5_spec</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.apache.geronimo.specs</groupId>
                        <artifactId>geronimo-jpa_1.0_spec</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>${tomcatGroupId}</groupId>
                <artifactId>util</artifactId>
                <version>${tomcatVersion}</version>
                <exclusions>
                    <exclusion>
                        <groupId>${tomcatGroupId}</groupId>
                        <artifactId>juli</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.apache.geronimo.specs</groupId>
                        <artifactId>geronimo-ejb_3.0_spec</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.apache.geronimo.specs</groupId>
                        <artifactId>geronimo-servlet_2.5_spec</artifactId>
                    </exclusion>
                 </exclusions>
            </dependency>
            <dependency>
                <groupId>${tomcatGroupId}</groupId>
                <artifactId>catalina-ha</artifactId>
                <version>${tomcatVersion}</version>
                <exclusions>
                    <exclusion>
                        <groupId>${tomcatGroupId}</groupId>
                        <artifactId>juli</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.apache.geronimo.specs</groupId>
                        <artifactId>geronimo-ejb_3.0_spec</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.apache.geronimo.specs</groupId>
                        <artifactId>geronimo-servlet_2.5_spec</artifactId>
                    </exclusion>
                 </exclusions>
            </dependency>
            <dependency>
                <groupId>${tomcatGroupId}</groupId>
                <artifactId>tribes</artifactId>
                <version>${tomcatVersion}</version>
                <exclusions>
                    <exclusion>
                        <groupId>${tomcatGroupId}</groupId>
                        <artifactId>juli</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.apache.geronimo.specs</groupId>
                        <artifactId>geronimo-ejb_3.0_spec</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.apache.geronimo.specs</groupId>
                        <artifactId>geronimo-servlet_2.5_spec</artifactId>
                    </exclusion>
                 </exclusions>
            </dependency>
            <!--<dependency>-->
            <!--<groupId>${tomcatGroupId}</groupId>-->
            <!--<artifactId>coyote</artifactId>-->
            <!--<version>${tomcatVersion}</version>-->
            <!--<exclusions>-->
            <!--<exclusion>-->
            <!--<groupId>${tomcatGroupId}</groupId>-->
            <!--<artifactId>servlet-api</artifactId>-->
            <!--</exclusion>-->
            <!--<exclusion>-->
            <!--<groupId>${tomcatGroupId}</groupId>-->
            <!--<artifactId>juli</artifactId>-->
            <!--</exclusion>-->
            <!--</exclusions>-->
            <!--</dependency>-->
            <!--<dependency>-->
            <!--<groupId>${tomcatGroupId}</groupId>-->
            <!--<artifactId>juli-adapters</artifactId>-->
            <!--<version>${tomcatVersion}</version>-->
            <!--<exclusions>-->
            <!--<exclusion>-->
            <!--<groupId>${tomcatGroupId}</groupId>-->
            <!--<artifactId>servlet-api</artifactId>-->
            <!--</exclusion>-->
            <!--</exclusions>-->
            <!--</dependency>-->

        </dependencies>
    </dependencyManagement>

</project>
