| <!-- |
| 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</version> |
| <relativePath>../parent/pom.xml</relativePath> |
| </parent> |
| |
| <name>Apache Felix Http Cometd</name> |
| <artifactId>org.apache.felix.http.cometd</artifactId> |
| <version>2.4.0-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};-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, |
| </Export-Package> |
| <Private-Package> |
| org.apache.felix.http.base.*, |
| org.apache.felix.http.cometd.internal, |
| org.cometd.server.*;-split-package:=merge-first, |
| org.cometd.common.*;-split-package:=merge-first |
| </Private-Package> |
| <Embed-Dependency> |
| cometd-java-server;inline=true, |
| cometd-java-common;inline=true, |
| jetty-util;inline=true, |
| </Embed-Dependency> |
| <Import-Package> |
| javax.imageio;resolution:=optional, |
| org.slf4j.*;resolution:=optional, |
| org.osgi.service.useradmin;resolution:=optional, |
| org.codehaus.jackson.map;resolution:=optional, |
| org.codehaus.jackson.type;resolution:=optional, |
| org.eclipse.jetty.continuation;version="[7.6,9)", |
| org.eclipse.jetty.jmx;version="[7.6,9)", |
| * |
| </Import-Package> |
| </instructions> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| <version>4.2.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.compendium</artifactId> |
| <version>4.2.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>javax.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> |
| <exclusions> |
| <exclusion> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-continuation</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-jmx</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.cometd.java</groupId> |
| <artifactId>cometd-java-client</artifactId> |
| <version>${cometd.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-client</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-io</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-http</artifactId> |
| </exclusion> |
| </exclusions> |
| </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>3.0.0</version> |
| </dependency> |
| |
| <!-- The dependencies below are newer versions of the transitive |
| Jetty dependencies pulled in by cometd. It should be able to |
| remove these once the cometd dependencies on Jetty line up |
| with the ones that the Felix Http Service project uses. --> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-client</artifactId> |
| <version>${jetty.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-continuation</artifactId> |
| <version>${jetty.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-http</artifactId> |
| <version>${jetty.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-io</artifactId> |
| <version>${jetty.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-jmx</artifactId> |
| <version>${jetty.version}</version> |
| </dependency> |
| |
| </dependencies> |
| </project> |