<!--
    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>2-SNAPSHOT</version>
        <relativePath>../parent/pom.xml</relativePath>
    </parent>

    <name>Apache Felix Http Cometd</name>
    <artifactId>org.apache.felix.http.cometd</artifactId>
    <version>2.2.2-SNAPSHOT</version>
    <packaging>jar</packaging>

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

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <configuration>
                    <instructions>
                        <Bundle-Activator>
                            org.apache.felix.http.cometd.internal.CometdActivator
                        </Bundle-Activator>
                        <Export-Package>
                            org.apache.felix.http.cometd;version=${project.version},
                            org.cometd.bayeux;version=${cometd.version},
                            org.cometd.bayeux.client;version=${cometd.version},
                            org.cometd.client;version=${cometd.version}
                        </Export-Package>
                        <Private-Package>
                            org.apache.felix.http.base.*,
                            org.apache.felix.http.cometd.internal
                        </Private-Package>
                        <Embed-Dependency>
                            cometd-java-server;inline=true,
                            cometd-java-common;inline=true,
                            jetty-util;inline=true,
                        </Embed-Dependency>
                    </instructions>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <dependencies>
        <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>javax.servlet</groupId>
            <artifactId>servlet-api</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.eclipse.jetty</groupId>
            <artifactId>jetty-util</artifactId>
            <version>${jetty.version}</version>
        </dependency>
        <dependency>
        	<groupId>org.cometd.java</groupId>
        	<artifactId>cometd-java-server</artifactId>
        	<version>${cometd.version}</version>
        </dependency>
        <dependency>
        	<groupId>org.cometd.java</groupId>
        	<artifactId>cometd-java-client</artifactId>
        	<version>${cometd.version}</version>
        </dependency>        
        <dependency>
        	<groupId>org.cometd.java</groupId>
        	<artifactId>cometd-java-common</artifactId>
        	<version>${cometd.version}</version>
        </dependency>            
        <dependency>
            <groupId>org.cometd.java</groupId>
            <artifactId>bayeux-api</artifactId>
            <version>${cometd.version}</version>
        </dependency>
        <dependency>
            <groupId>${project.groupId}</groupId>
            <artifactId>org.apache.felix.http.base</artifactId>
            <version>${project.version}</version>
        </dependency>
    </dependencies>

</project>
