<!--
    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.
-->
<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.felix</groupId>
        <artifactId>org.apache.felix.http.parent</artifactId>
        <version>8-SNAPSHOT</version>
        <relativePath>../parent/pom.xml</relativePath>
    </parent>

    <name>Apache Felix Http Bundle</name>
    <artifactId>org.apache.felix.http.bundle</artifactId>
    <version>3.0.1-SNAPSHOT</version>
    <packaging>jar</packaging>

    <scm>
        <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/http/bundle</connection>
        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/http/bundle</developerConnection>
        <url>http://svn.apache.org/viewvc/felix/trunk/http/bundle/</url>
    </scm>

    <properties>
        <felix.java.version>7</felix.java.version>
    </properties>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <configuration>
                    <instructions>
                    	<X-Jetty-Version>
                    		${jetty.version}
                    	</X-Jetty-Version>
                        <Bundle-Activator>
                            org.apache.felix.http.bundle.internal.CombinedActivator
                        </Bundle-Activator>
                        <Export-Package>
                            javax.servlet.*;version=${servlet.version};-split-package:=merge-first,
                            org.osgi.service.http.*;-split-package:=merge-first,
                            org.cometd.bayeux;version=${cometd.version};-split-package:=merge-first,
                            org.cometd.bayeux.client;version=${cometd.version};-split-package:=merge-first,
                            org.cometd.bayeux.server;version=${cometd.version};-split-package:=merge-first,
                            org.apache.felix.http.api;-split-package:=merge-first,
                            org.apache.felix.http.cometd;-split-package:=merge-first,
                            org.eclipse.jetty.*;version=${version;===;${jetty.version}};-split-package:=merge-first
                        </Export-Package>
                        <Private-Package>
                            org.apache.felix.http.base.*;-split-package:=merge-first,
                            org.apache.felix.http.bridge.*,
                            org.apache.felix.http.bundle.*,
                            org.apache.felix.http.cometd.*,
                            org.apache.felix.http.jetty.*,
                            org.apache.felix.http.whiteboard.*,
                            org.cometd.server.*;-split-package:=merge-first,
                            org.cometd.common.*;-split-package:=merge-first
                        </Private-Package>
                        <Import-Package>
                        	javax.imageio;resolution:=optional,
                        	javax.sql;resolution:=optional,
                        	org.slf4j.*;resolution:=optional,
                        	org.ietf.jgss;resolution:=optional,
                        	org.mortbay.log;resolution:=optional;version="[6.1,7)",
                        	org.mortbay.util.ajax;resolution:=optional;version="[6.1,7)",
                        	org.osgi.service.useradmin;resolution:=optional,
                        	org.codehaus.jackson.map;resolution:=optional,
                        	org.codehaus.jackson.type;resolution:=optional,
                            *
                        </Import-Package>
                       <Provide-Capability>
                            osgi.implementation;osgi.implementation="osgi.http";version:Version="1.0";
                            uses:="javax.servlet,javax.servlet.http,org.osgi.service.http.context,org.osgi.service.http.whiteboard",
                            osgi.service;objectClass:List&lt;String&gt;="org.osgi.service.http.runtime.HttpServiceRuntime";
                            uses:="org.osgi.service.http.runtime,org.osgi.service.http.runtime.dto"
                        </Provide-Capability>
                    </instructions>
                    <!-- Skip baselining -->
                    <skip>true</skip>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <dependencies>
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>javax.servlet-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.osgi</groupId>
            <artifactId>osgi.core</artifactId>
        </dependency>
        <dependency>
            <groupId>org.osgi</groupId>
            <artifactId>osgi.cmpn</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.felix</groupId>
            <artifactId>org.apache.felix.http.bridge</artifactId>
            <version>3.0.0</version>
        </dependency>
        <dependency>
            <groupId>org.apache.felix</groupId>
            <artifactId>org.apache.felix.http.cometd</artifactId>
            <version>3.0.0-SNAPSHOT</version>
        </dependency>
        <dependency>
            <groupId>org.apache.felix</groupId>
            <artifactId>org.apache.felix.http.jetty</artifactId>
            <version>3.1.0</version>
        </dependency>
        <dependency>
            <groupId>org.apache.felix</groupId>
            <artifactId>org.apache.felix.http.whiteboard</artifactId>
            <version>3.0.0</version>
        </dependency>
    </dependencies>
</project>
