blob: 9a6840571bb61deca7746d136fef3424a19ba836 [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 Ziegeler28733aa2015-08-10 06:53:16 +000025 <version>7</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 Ziegelerdde36442015-10-09 14:55:16 +000031 <version>3.1.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 Ziegelerdde36442015-10-09 14:55:16 +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>
Carsten Ziegeler25b77a22015-10-02 06:23:27 +000059 org.osgi.service.http,
60 org.osgi.service.http.context,
61 org.osgi.service.http.runtime,
62 org.osgi.service.http.runtime.dto,
63 org.osgi.service.http.whiteboard,
64 org.apache.felix.http.api,
Jan Willem Janssen551f5e72014-05-07 13:53:41 +000065 org.eclipse.jetty.*;-split-package:=merge-first;version=${version;===;${jetty.version}},
66 org.apache.felix.http.jetty
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +000067 </Export-Package>
68 <Private-Package>
69 org.apache.felix.http.base.*,
Jan Willem Janssen13d88542014-02-12 13:32:48 +000070 org.apache.felix.http.jetty.*
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +000071 </Private-Package>
72 <Import-Package>
Jan Willem Janssen13d88542014-02-12 13:32:48 +000073 javax.imageio;resolution:=optional,
74 javax.sql;resolution:=optional,
75 org.slf4j.*;resolution:=optional,
76 org.ietf.jgss;resolution:=optional,
77 org.mortbay.log;resolution:=optional;version="[6.1,7)",
78 org.mortbay.util.ajax;resolution:=optional;version="[6.1,7)",
Carsten Ziegeler25b77a22015-10-02 06:23:27 +000079 org.osgi.service.cm;version="[1.3,2)",
Carsten Ziegeleredbeca02015-08-05 23:04:00 +000080 org.osgi.service.event;version="[1.2,2)",
Carsten Ziegeler25b77a22015-10-02 06:23:27 +000081 org.osgi.service.log;version="[1.3,2)",
Carsten Ziegeler2f0d67a2015-03-01 13:55:12 +000082 org.osgi.service.metatype;version="[1.1,2)";resolution:=optional,
Jan Willem Janssen13d88542014-02-12 13:32:48 +000083 org.osgi.service.useradmin;resolution:=optional,
Carsten Ziegeleredbeca02015-08-05 23:04:00 +000084 <!-- Maven bundle plugin version 2.5.3 has a problem
85 with correctly calculating the import ranges -->
Carsten Ziegeler25b77a22015-10-02 06:23:27 +000086 org.apache.felix.http.api;version="[2.0,2.1)",
Carsten Ziegeleredbeca02015-08-05 23:04:00 +000087 org.osgi.service.http;version="[1.2,1.3)",
88 org.osgi.service.http.context;version="[1.0,1.1)",
89 org.osgi.service.http.runtime;version="[1.0,1.1)",
90 org.osgi.service.http.runtime.dto;version="[1.0,1.1)",
Jan Willem Janssen13d88542014-02-12 13:32:48 +000091 *
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +000092 </Import-Package>
Carsten Ziegeler2f0d67a2015-03-01 13:55:12 +000093 <DynamicImport-Package>
94 org.osgi.service.metatype;version="[1.1,2)"
95 </DynamicImport-Package>
Carsten Ziegeler47405c22015-05-15 10:02:22 +000096 <Provide-Capability>
97 osgi.implementation;osgi.implementation="osgi.http";version:Version="1.0";
98 uses:="javax.servlet,javax.servlet.http,org.osgi.service.http.context,org.osgi.service.http.whiteboard",
99 osgi.service;objectClass:List&lt;String&gt;="org.osgi.service.http.runtime.HttpServiceRuntime";
100 uses:="org.osgi.service.http.runtime,org.osgi.service.http.runtime.dto"
101 </Provide-Capability>
Carsten Ziegeler60bda112015-07-24 14:06:09 +0000102 <Require-Capability>
103 osgi.contract;filter:="(&amp;(osgi.contract=JavaServlet)(version=3.1))"
104 </Require-Capability>
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +0000105 </instructions>
Carsten Ziegeler4a8cd882015-03-01 12:18:42 +0000106 <!-- Skip Baselining due to Jetty API -->
107 <skip>true</skip>
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +0000108 </configuration>
109 </plugin>
110 </plugins>
111 </build>
112
113 <dependencies>
114 <dependency>
Sten Roger Sandvik2ff416f2009-09-24 18:17:47 +0000115 <groupId>javax.servlet</groupId>
Jan Willem Janssen0a3f86a2014-02-07 16:03:21 +0000116 <artifactId>javax.servlet-api</artifactId>
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +0000117 </dependency>
118 <dependency>
Carsten Ziegeleredbeca02015-08-05 23:04:00 +0000119 <groupId>org.osgi</groupId>
120 <artifactId>osgi.core</artifactId>
121 </dependency>
122 <dependency>
123 <groupId>org.osgi</groupId>
Carsten Ziegeler25b77a22015-10-02 06:23:27 +0000124 <artifactId>org.osgi.service.cm</artifactId>
125 <version>1.5.0</version>
126 <scope>provided</scope>
127 </dependency>
128 <dependency>
129 <groupId>org.osgi</groupId>
130 <artifactId>org.osgi.service.event</artifactId>
131 <version>1.3.1</version>
132 <scope>provided</scope>
133 </dependency>
134 <dependency>
135 <groupId>org.osgi</groupId>
136 <artifactId>org.osgi.service.metatype</artifactId>
137 <version>1.3.0</version>
138 <scope>provided</scope>
139 </dependency>
140 <dependency>
141 <groupId>org.osgi</groupId>
142 <artifactId>org.osgi.service.useradmin</artifactId>
143 <version>1.1.0</version>
144 <scope>provided</scope>
Carsten Ziegeleredbeca02015-08-05 23:04:00 +0000145 </dependency>
146 <dependency>
Xander Uiterlinden6d5c1062012-06-06 07:03:59 +0000147 <groupId>org.eclipse.jetty</groupId>
148 <artifactId>jetty-servlet</artifactId>
Jan Willem Janssen7608f852013-08-09 15:27:00 +0000149 <version>${jetty.version}</version>
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +0000150 </dependency>
151 <dependency>
Xander Uiterlinden6d5c1062012-06-06 07:03:59 +0000152 <groupId>org.eclipse.jetty</groupId>
153 <artifactId>jetty-server</artifactId>
Jan Willem Janssen7608f852013-08-09 15:27:00 +0000154 <version>${jetty.version}</version>
Xander Uiterlinden6d5c1062012-06-06 07:03:59 +0000155 </dependency>
156 <dependency>
157 <groupId>org.eclipse.jetty</groupId>
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +0000158 <artifactId>jetty-util</artifactId>
Jan Willem Janssen7608f852013-08-09 15:27:00 +0000159 <version>${jetty.version}</version>
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +0000160 </dependency>
161 <dependency>
Xander Uiterlinden6d5c1062012-06-06 07:03:59 +0000162 <groupId>org.eclipse.jetty</groupId>
163 <artifactId>jetty-jmx</artifactId>
Jan Willem Janssen7608f852013-08-09 15:27:00 +0000164 <version>${jetty.version}</version>
Felix Meschberger815934f2011-09-23 13:00:33 +0000165 </dependency>
166 <dependency>
Xander Uiterlinden6d5c1062012-06-06 07:03:59 +0000167 <groupId>org.eclipse.jetty</groupId>
168 <artifactId>jetty-security</artifactId>
Jan Willem Janssen7608f852013-08-09 15:27:00 +0000169 <version>${jetty.version}</version>
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +0000170 </dependency>
171 <dependency>
Felix Meschberger0de558d2013-06-25 12:47:02 +0000172 <groupId>org.eclipse.jetty</groupId>
173 <artifactId>jetty-webapp</artifactId>
Jan Willem Janssen7608f852013-08-09 15:27:00 +0000174 <version>${jetty.version}</version>
Felix Meschberger0de558d2013-06-25 12:47:02 +0000175 </dependency>
176 <dependency>
Carsten Ziegeler7601d532015-01-26 07:45:43 +0000177 <groupId>org.eclipse.jetty.websocket</groupId>
178 <artifactId>websocket-servlet</artifactId>
179 <version>${jetty.version}</version>
180 </dependency>
181 <dependency>
182 <groupId>org.eclipse.jetty.websocket</groupId>
183 <artifactId>websocket-server</artifactId>
184 <version>${jetty.version}</version>
185 </dependency>
186 <dependency>
Felix Meschberger13844cc2011-11-03 08:45:38 +0000187 <groupId>org.apache.felix</groupId>
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +0000188 <artifactId>org.apache.felix.http.api</artifactId>
Carsten Ziegeler28733aa2015-08-10 06:53:16 +0000189 <version>3.0.0</version>
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +0000190 </dependency>
191 <dependency>
Felix Meschberger13844cc2011-11-03 08:45:38 +0000192 <groupId>org.apache.felix</groupId>
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +0000193 <artifactId>org.apache.felix.http.base</artifactId>
Carsten Ziegeler6bd32e82015-10-09 15:01:24 +0000194 <version>3.0.3-SNAPSHOT</version>
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +0000195 </dependency>
Carsten Ziegeler25b77a22015-10-02 06:23:27 +0000196 <!-- Testing -->
197 <dependency>
198 <groupId>org.osgi</groupId>
199 <artifactId>org.osgi.service.log</artifactId>
200 <version>1.3.0</version>
201 <scope>test</scope>
202 </dependency>
Sten Roger Sandvik5af73c22009-09-14 09:59:12 +0000203 </dependencies>
204
205</project>