<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ivy-module [
    <!ENTITY jetty.version "8.1.9.v20130131">
]>
<ivy-module version="2.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd"
    xmlns:m="http://ant.apache.org/ivy/maven">

    <info organisation="com.vaadin" module="vaadin-uitest"
        revision="${vaadin.version}" />

    <configurations>
        <conf name="build" />
        <conf name="build-provided" visibility="private" />
        <conf name="ide" visibility="private" />
        <conf name="jetty-run" visibility="private" />
    </configurations>
    <publications>
        <artifact type="war" ext="war" />
    </publications>
    <dependencies defaultconf="build" defaultconfmapping="build,ide->default">
        <!-- API DEPENDENCIES -->
        <dependency org="javax.portlet" name="portlet-api"
            rev="2.0" conf="build-provided,ide -> default" />

        <dependency org="javax.validation" name="validation-api"
            rev="1.0.0.GA" conf="build,ide -> default,sources" />
        <!-- Google App Engine -->
        <dependency org="com.google.appengine" name="appengine-api-1.0-sdk"
            rev="1.2.1" conf="build-provided,ide -> default" />

        <!-- LIBRARY DEPENDENCIES (compile time) -->
        <!-- Project modules -->
        <dependency org="com.vaadin" name="vaadin-server"
            rev="${vaadin.version}" conf="build->build">
            <exclude org="javax.servlet"></exclude>
            <exclude type="pom" />
        </dependency>
        <dependency org="com.vaadin" name="vaadin-client"
            rev="${vaadin.version}" conf="build->build">
            <exclude type="pom" />
        </dependency>
        <dependency org="com.vaadin" name="vaadin-client-compiled"
            rev="${vaadin.version}" conf="build->build">
            <exclude type="pom" />
        </dependency>
        <dependency org="com.vaadin" name="vaadin-themes"
            rev="${vaadin.version}" conf="build->build">
            <exclude type="pom" />
        </dependency>
        <dependency org="com.vaadin" name="vaadin-push" rev="${vaadin.version}"
            conf="build->build">
            <exclude org="javax.servlet"></exclude>
            <exclude type="pom" />
        </dependency>

        <!-- For compiling TestingWidgetSet -->
        <dependency org="com.vaadin" name="vaadin-client-compiler"
            rev="${vaadin.version}" conf="build-provided-> build">
            <exclude type="pom" />
        </dependency>

        <!-- Servlet 3.0 API -->
        <dependency org="javax.servlet" name="javax.servlet-api"
            rev="3.0.1" conf="build-provided,ide -> default" />

        <dependency org="org.eclipse.jetty" name="jetty-server"
            rev="&jetty.version;" conf="ide, build-provided, jetty-run->default">
            <exclude org="org.eclipse.jetty.orbit"></exclude>
        </dependency>
        <!-- jetty-servlets needed by ProxyTest, but not by jetty-runner -->
        <dependency org="org.eclipse.jetty" name="jetty-servlets"
            rev="&jetty.version;" conf="ide, build-provided, jetty-run->default" />
        <dependency org="org.eclipse.jetty" name="jetty-websocket"
            rev="&jetty.version;" conf="ide, jetty-run->default" />
        <dependency org="org.eclipse.jetty" name="jetty-webapp"
            rev="&jetty.version;" conf="ide, build-provided, jetty-run->default" />
        <dependency org="org.mortbay.jetty" name="jetty-runner"
            rev="&jetty.version;" conf="ide, jetty-run->default">
            <exclude org="org.eclipse.jetty.orbit"></exclude>
        </dependency>

        <dependency org="junit" name="junit" rev="4.11"
            conf="build,ide -> default" />
        <dependency org="org.hamcrest" name="hamcrest-all" rev="1.3"
            conf="build,ide->default" />
        <dependency org="com.jcraft" name="jsch" rev="0.1.50"
            conf="ide, build->default" />
        <dependency org="commons-codec" name="commons-codec"
            rev="1.5" conf="build,ide->default" />
        <dependency org="commons-io" name="commons-io" rev="${commons-io.version}"
            conf="build,ide->default" />
        <!-- Mainly for SQLContainer tests -->
        <dependency org="org.hsqldb" name="hsqldb" rev="2.2.6"
            conf="build,ide -> default" />
        <dependency org="com.vaadin" name="vaadin-testbench"
            rev="4.0.0.alpha1" conf="build-provided,ide -> default" />
        <!-- This should be removed once tests have been updated to use lang3 -->
        <dependency org="commons-lang" name="commons-lang"
            rev="2.6" conf="build,ide -> default" />
    </dependencies>

</ivy-module>
