blob: 2e46b9681539e04dcb589e71eef35f39415a2c44 [file] [log] [blame]
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +00001<!--
2 Licensed to the Apache Software Foundation (ASF) under one
3 or more contributor license agreements. See the NOTICE file
4 distributed with this work for additional information
5 regarding copyright ownership. The ASF licenses this file
6 to you under the Apache License, Version 2.0 (the
7 "License"); you may not use this file except in compliance
8 with the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing,
13 software distributed under the License is distributed on an
14 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 KIND, either express or implied. See the License for the
16 specific language governing permissions and limitations
17 under the License.
18-->
Sten Roger Sandvikee4dd852009-09-28 20:30:00 +000019<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">
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +000020
21 <modelVersion>4.0.0</modelVersion>
22 <parent>
23 <groupId>org.apache.felix</groupId>
Felix Meschberger4a4b0322011-12-05 15:22:27 +000024 <artifactId>org.apache.felix.http.parent</artifactId>
Carsten Ziegeler423e1bc2015-06-12 07:22:19 +000025 <version>7-SNAPSHOT</version>
Felix Meschberger4a4b0322011-12-05 15:22:27 +000026 <relativePath>../parent/pom.xml</relativePath>
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +000027 </parent>
28
29 <name>Apache Felix Http Jetty</name>
30 <artifactId>org.apache.felix.http.jetty</artifactId>
Carsten Ziegeler7e5fdd72015-03-01 14:16:30 +000031 <version>3.0.3-SNAPSHOT</version>
Sten Roger Sandvikb61405d2009-09-28 20:23:26 +000032 <packaging>jar</packaging>
Jan Willem Janssen7608f852013-08-09 15:27:00 +000033
Jan Willem Janssen7d9f9fe2013-09-17 13:46:15 +000034 <scm>
Carsten Ziegeler7e5fdd72015-03-01 14:16:30 +000035 <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/http/jetty</connection>
36 <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/http/jetty</developerConnection>
37 <url>http://svn.apache.org/viewvc/felix/trunk/http/jetty/</url>
Jan Willem Janssen7d9f9fe2013-09-17 13:46:15 +000038 </scm>
39
Jan Willem Janssen7608f852013-08-09 15:27:00 +000040 <properties>
Carsten Ziegelera3cf4902015-06-24 20:07:42 +000041 <felix.java.version>7</felix.java.version>
Jan Willem Janssen926e71c2013-11-10 14:41:39 +000042 <!-- jetty.version is moved to http-parent POM -->
Jan Willem Janssen7608f852013-08-09 15:27:00 +000043 </properties>
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +000044
45 <build>
46 <plugins>
47 <plugin>
48 <groupId>org.apache.felix</groupId>
49 <artifactId>maven-bundle-plugin</artifactId>
50 <configuration>
51 <instructions>
Jan Willem Janssen2198f942013-11-11 10:03:05 +000052 <X-Jetty-Version>
53 ${jetty.version}
54 </X-Jetty-Version>
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +000055 <Bundle-Activator>
56 org.apache.felix.http.jetty.internal.JettyActivator
57 </Bundle-Activator>
58 <Export-Package>
Jan Willem Janssen551f5e72014-05-07 13:53:41 +000059 org.eclipse.jetty.*;-split-package:=merge-first;version=${version;===;${jetty.version}},
60 org.apache.felix.http.jetty
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +000061 </Export-Package>
62 <Private-Package>
63 org.apache.felix.http.base.*,
Jan Willem Janssen13d88542014-02-12 13:32:48 +000064 org.apache.felix.http.jetty.*
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +000065 </Private-Package>
66 <Import-Package>
Jan Willem Janssen13d88542014-02-12 13:32:48 +000067 javax.imageio;resolution:=optional,
68 javax.sql;resolution:=optional,
69 org.slf4j.*;resolution:=optional,
70 org.ietf.jgss;resolution:=optional,
71 org.mortbay.log;resolution:=optional;version="[6.1,7)",
72 org.mortbay.util.ajax;resolution:=optional;version="[6.1,7)",
Carsten Ziegeleredbeca02015-08-05 23:04:00 +000073 org.osgi.service.cm;version="[1.3,2)",
74 org.osgi.service.event;version="[1.2,2)",
Carsten Ziegeler2f0d67a2015-03-01 13:55:12 +000075 org.osgi.service.metatype;version="[1.1,2)";resolution:=optional,
Jan Willem Janssen13d88542014-02-12 13:32:48 +000076 org.osgi.service.useradmin;resolution:=optional,
Carsten Ziegeleredbeca02015-08-05 23:04:00 +000077 <!-- Maven bundle plugin version 2.5.3 has a problem
78 with correctly calculating the import ranges -->
79 org.osgi.service.http;version="[1.2,1.3)",
80 org.osgi.service.http.context;version="[1.0,1.1)",
81 org.osgi.service.http.runtime;version="[1.0,1.1)",
82 org.osgi.service.http.runtime.dto;version="[1.0,1.1)",
Jan Willem Janssen13d88542014-02-12 13:32:48 +000083 *
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +000084 </Import-Package>
Carsten Ziegeler2f0d67a2015-03-01 13:55:12 +000085 <DynamicImport-Package>
86 org.osgi.service.metatype;version="[1.1,2)"
87 </DynamicImport-Package>
Carsten Ziegeler47405c22015-05-15 10:02:22 +000088 <Provide-Capability>
89 osgi.implementation;osgi.implementation="osgi.http";version:Version="1.0";
90 uses:="javax.servlet,javax.servlet.http,org.osgi.service.http.context,org.osgi.service.http.whiteboard",
91 osgi.service;objectClass:List&lt;String&gt;="org.osgi.service.http.runtime.HttpServiceRuntime";
92 uses:="org.osgi.service.http.runtime,org.osgi.service.http.runtime.dto"
93 </Provide-Capability>
Carsten Ziegeler60bda112015-07-24 14:06:09 +000094 <Require-Capability>
95 osgi.contract;filter:="(&amp;(osgi.contract=JavaServlet)(version=3.1))"
96 </Require-Capability>
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +000097 </instructions>
Carsten Ziegeler4a8cd882015-03-01 12:18:42 +000098 <!-- Skip Baselining due to Jetty API -->
99 <skip>true</skip>
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +0000100 </configuration>
101 </plugin>
102 </plugins>
103 </build>
104
105 <dependencies>
106 <dependency>
Sten Roger Sandvik2ff416f2009-09-24 18:17:47 +0000107 <groupId>javax.servlet</groupId>
Jan Willem Janssen0a3f86a2014-02-07 16:03:21 +0000108 <artifactId>javax.servlet-api</artifactId>
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +0000109 </dependency>
110 <dependency>
Carsten Ziegeleredbeca02015-08-05 23:04:00 +0000111 <groupId>org.osgi</groupId>
112 <artifactId>osgi.core</artifactId>
113 </dependency>
114 <dependency>
115 <groupId>org.osgi</groupId>
116 <artifactId>osgi.cmpn</artifactId>
117 </dependency>
118 <dependency>
Xander Uiterlinden6d5c1062012-06-06 07:03:59 +0000119 <groupId>org.eclipse.jetty</groupId>
120 <artifactId>jetty-servlet</artifactId>
Jan Willem Janssen7608f852013-08-09 15:27:00 +0000121 <version>${jetty.version}</version>
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +0000122 </dependency>
123 <dependency>
Xander Uiterlinden6d5c1062012-06-06 07:03:59 +0000124 <groupId>org.eclipse.jetty</groupId>
125 <artifactId>jetty-server</artifactId>
Jan Willem Janssen7608f852013-08-09 15:27:00 +0000126 <version>${jetty.version}</version>
Xander Uiterlinden6d5c1062012-06-06 07:03:59 +0000127 </dependency>
128 <dependency>
129 <groupId>org.eclipse.jetty</groupId>
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +0000130 <artifactId>jetty-util</artifactId>
Jan Willem Janssen7608f852013-08-09 15:27:00 +0000131 <version>${jetty.version}</version>
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +0000132 </dependency>
133 <dependency>
Xander Uiterlinden6d5c1062012-06-06 07:03:59 +0000134 <groupId>org.eclipse.jetty</groupId>
135 <artifactId>jetty-jmx</artifactId>
Jan Willem Janssen7608f852013-08-09 15:27:00 +0000136 <version>${jetty.version}</version>
Felix Meschberger815934f2011-09-23 13:00:33 +0000137 </dependency>
138 <dependency>
Xander Uiterlinden6d5c1062012-06-06 07:03:59 +0000139 <groupId>org.eclipse.jetty</groupId>
140 <artifactId>jetty-security</artifactId>
Jan Willem Janssen7608f852013-08-09 15:27:00 +0000141 <version>${jetty.version}</version>
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +0000142 </dependency>
143 <dependency>
Felix Meschberger0de558d2013-06-25 12:47:02 +0000144 <groupId>org.eclipse.jetty</groupId>
145 <artifactId>jetty-webapp</artifactId>
Jan Willem Janssen7608f852013-08-09 15:27:00 +0000146 <version>${jetty.version}</version>
Felix Meschberger0de558d2013-06-25 12:47:02 +0000147 </dependency>
148 <dependency>
Carsten Ziegeler7601d532015-01-26 07:45:43 +0000149 <groupId>org.eclipse.jetty.websocket</groupId>
150 <artifactId>websocket-servlet</artifactId>
151 <version>${jetty.version}</version>
152 </dependency>
153 <dependency>
154 <groupId>org.eclipse.jetty.websocket</groupId>
155 <artifactId>websocket-server</artifactId>
156 <version>${jetty.version}</version>
157 </dependency>
158 <dependency>
Felix Meschberger13844cc2011-11-03 08:45:38 +0000159 <groupId>org.apache.felix</groupId>
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +0000160 <artifactId>org.apache.felix.http.api</artifactId>
Carsten Ziegeler44a396e2015-03-01 14:20:43 +0000161 <version>3.0.0-SNAPSHOT</version>
Carsten Ziegeleredbeca02015-08-05 23:04:00 +0000162 <scope>provided</scope>
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +0000163 </dependency>
164 <dependency>
Felix Meschberger13844cc2011-11-03 08:45:38 +0000165 <groupId>org.apache.felix</groupId>
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +0000166 <artifactId>org.apache.felix.http.base</artifactId>
Carsten Ziegeler44a396e2015-03-01 14:20:43 +0000167 <version>3.0.0-SNAPSHOT</version>
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +0000168 </dependency>
169 </dependencies>
170
171</project>