<!--
    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>7-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>
                    </instructions>
                    <!-- Skip baselining -->
                    <skip>true</skip>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <dependencies>
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>javax.servlet-api</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.osgi</groupId>
            <artifactId>org.osgi.core</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.osgi</groupId>
            <artifactId>org.osgi.compendium</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>${project.groupId}</groupId>
            <artifactId>org.apache.felix.http.bridge</artifactId>
            <version>2.3.2</version>
        </dependency>
        <dependency>
            <groupId>${project.groupId}</groupId>
            <artifactId>org.apache.felix.http.cometd</artifactId>
            <version>2.3.2</version>
        </dependency>
        <dependency>
            <groupId>${project.groupId}</groupId>
            <artifactId>org.apache.felix.http.jetty</artifactId>
            <version>3.0.3-SNAPSHOT</version>
        </dependency>
        <dependency>
            <groupId>${project.groupId}</groupId>
            <artifactId>org.apache.felix.http.whiteboard</artifactId>
            <version>2.3.3-SNAPSHOT</version>
        </dependency>
    </dependencies>
</project>
