<?xml version="1.0" encoding="UTF-8"?>
<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.mule.transports</groupId>
        <artifactId>mule-transports</artifactId>
        <version>2.0.1</version>
    </parent>
    <artifactId>mule-transport-http</artifactId>
    <!--<packaging>bundle</packaging>-->
    <name>HTTP Transport</name>
    <description>
        A Mule transport for Http Connectivity. This transport supplies a simple Http Server implementation.
    </description>

    <profiles>
        <profile>
            <id>osgi</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.felix</groupId>
                        <artifactId>maven-bundle-plugin</artifactId>
                        <configuration>
                            <instructions>
                                <Mule-Transports>http, https, servlet, jetty</Mule-Transports>
                                <!-- Needed for tcp-messages -->
                                <Import-Package>
                                    META-INF.services.org.mule.i18n, !com.ccg.net.ethernet,
                                    !com.sun.activation.registries, !com.sun.net.ssl,
                                    !com.sun.net.ssl.internal.ssl, !javax.crypto, !javax.crypto.spec,
                                    !javax.naming, !javax.naming.spi, !javax.net, !javax.net.ssl,
                                    !javax.security.auth, !javax.security.cert, !javax.xml.namespace,
                                    !javax.xml.transform, !org.xml.sax, !sun.misc, *
                                </Import-Package>
                                <Export-Package>org.mule.transport.http.*</Export-Package>
                                <Private-Package>
                                    org.mule.module.osgi, org.apache.commons.codec.*,
                                    org.apache.commons.httpclient.*, org.mortbay.http.*, org.mortbay.jetty.*,
                                    org.mortbay.log, org.mortbay.xml, org.mortbay.util
                                </Private-Package>
                            </instructions>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>

    <dependencies>
        <dependency>
            <groupId>org.mule</groupId>
            <artifactId>mule-core</artifactId>
            <version>${version}</version>
        </dependency>
        <dependency>
            <!-- needed for SSL in httpS -->
            <groupId>org.mule.transports</groupId>
            <artifactId>mule-transport-ssl</artifactId>
            <version>${version}</version>
        </dependency>
        <dependency>
            <groupId>commons-codec</groupId>
            <artifactId>commons-codec</artifactId>
        </dependency>
        <dependency>
            <groupId>commons-httpclient</groupId>
            <artifactId>commons-httpclient</artifactId>
        </dependency>
        <dependency>
            <groupId>jetty</groupId>
            <artifactId>org.mortbay.jetty</artifactId>
            <version>5.1.12</version>
        </dependency>
        <dependency>
            <groupId>org.apache.geronimo.specs</groupId>
            <artifactId>geronimo-servlet_2.4_spec</artifactId>
        </dependency>
        <!-- for functional tests only -->
        <dependency>
            <groupId>org.mule.tests</groupId>
            <artifactId>mule-tests-functional</artifactId>
            <version>${version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mule.modules</groupId>
            <artifactId>mule-module-client</artifactId>
            <version>${version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mule.transports</groupId>
            <artifactId>mule-transport-tcp</artifactId>
            <version>${version}</version>
            <type>test-jar</type>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mule.modules</groupId>
            <artifactId>mule-module-xml</artifactId>
            <version>${version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mule.transports</groupId>
            <artifactId>mule-transport-vm</artifactId>
            <version>${version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mule.transports</groupId>
            <artifactId>mule-transport-stdio</artifactId>
            <version>${version}</version>
            <scope>test</scope>
        </dependency>
    </dependencies>
</project>
