blob: bf4e1cba1f5540c637fb65090c0679ffb0cee94b [file] [log] [blame]
Felix Meschberger1f58a182008-05-20 18:28:18 +00001<!--
Felix Meschberger4c664132008-06-02 13:52:15 +00002 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
Felix Meschberger1f58a182008-05-20 18:28:18 +000010 http://www.apache.org/licenses/LICENSE-2.0
Felix Meschberger4c664132008-06-02 13:52:15 +000011
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.
Felix Meschberger1f58a182008-05-20 18:28:18 +000018-->
Felix Meschbergerf73d2132008-05-20 18:19:33 +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">
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000020
21 <modelVersion>4.0.0</modelVersion>
22 <parent>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +000023 <groupId>org.apache.felix</groupId>
Felix Meschbergereea99512009-05-11 14:25:53 +000024 <artifactId>felix-parent</artifactId>
25 <version>1.2.0</version>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +000026 <relativePath>../pom/pom.xml</relativePath>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000027 </parent>
28
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +000029 <artifactId>org.apache.felix.webconsole</artifactId>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000030 <packaging>bundle</packaging>
Guillaume Nodet49016242011-02-01 08:01:11 +000031 <version>3.1.9-SNAPSHOT</version>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000032
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +000033 <name>Apache Felix Web Management Console</name>
34 <description>
Felix Meschberger584090b2008-08-27 06:46:31 +000035 Web Based Management Console for OSGi Frameworks. See
Felix Meschberger0b0dc8c2009-10-01 14:27:10 +000036 http://felix.apache.org/site/apache-felix-web-console.html for more
Felix Meschberger584090b2008-08-27 06:46:31 +000037 information on this bundle.
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +000038 </description>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000039
40 <scm>
Guillaume Nodet49016242011-02-01 08:01:11 +000041 <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/webconsole</connection>
42 <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/webconsole</developerConnection>
43 <url>http://svn.apache.org/viewvc/felix/trunk/webconsole</url>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000044 </scm>
45
46 <build>
Felix Meschbergeraec198b2010-03-26 11:38:34 +000047 <resources>
48 <!-- default resources (may be removed when compat is removed) -->
49 <resource>
50 <directory>${basedir}/src/main/resources</directory>
51 </resource>
52 <resource>
53 <targetPath>META-INF</targetPath>
54 <directory>${basedir}</directory>
55 <includes>
Felix Meschbergerd68c4b42010-08-12 07:40:34 +000056 <include>LICENSE</include>
57 <include>NOTICE</include>
58 <include>DEPENDENCIES</include>
Felix Meschberger967e8bf2010-11-03 22:28:52 +000059 <include>changelog.txt</include>
Felix Meschbergeraec198b2010-03-26 11:38:34 +000060 </includes>
61 </resource>
62 <!-- CSS and images for backwards compatibility -->
63 <resource>
64 <directory>${basedir}/src/main/compat</directory>
65 </resource>
66 </resources>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000067 <plugins>
Felix Meschbergered15be52010-02-22 14:12:43 +000068 <!-- translate UTF-8 encoded properties files to ISO-8859-1 -->
69 <plugin>
70 <groupId>org.codehaus.mojo</groupId>
71 <artifactId>native2ascii-maven-plugin</artifactId>
72 <version>1.0-alpha-1</version>
73 <executions>
74 <execution>
75 <goals>
76 <goal>native2ascii</goal>
77 </goals>
78 <configuration>
79 <encoding>UTF-8</encoding>
80 </configuration>
81 </execution>
82 </executions>
83 </plugin>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000084 <plugin>
85 <groupId>org.apache.felix</groupId>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000086 <artifactId>maven-bundle-plugin</artifactId>
Carsten Ziegeler6d6ac242008-08-20 12:54:13 +000087 <version>1.4.3</version>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000088 <extensions>true</extensions>
89 <configuration>
90 <instructions>
Carsten Ziegeler540e3bc2008-05-16 14:44:08 +000091 <Bundle-SymbolicName>
Felix Meschberger6fbedfa2011-03-24 16:22:32 +000092 ${project.artifactId}
Carsten Ziegeler540e3bc2008-05-16 14:44:08 +000093 </Bundle-SymbolicName>
Felix Meschberger4c664132008-06-02 13:52:15 +000094 <Bundle-Vendor>
95 The Apache Software Foundation
96 </Bundle-Vendor>
97 <Bundle-DocURL>
Felix Meschbergera6cdce22008-12-22 11:39:17 +000098 http://felix.apache.org/site/apache-felix-web-console.html
Felix Meschberger4c664132008-06-02 13:52:15 +000099 </Bundle-DocURL>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000100 <Bundle-Activator>
Felix Meschbergere024f262008-05-16 13:14:45 +0000101 org.apache.felix.webconsole.internal.OsgiManagerActivator
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000102 </Bundle-Activator>
103 <Export-Package>
Felix Meschberger6090dc42010-10-13 07:40:42 +0000104 org.apache.felix.webconsole;version=3.1.2
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000105 </Export-Package>
106 <Private-Package>
Felix Meschbergere024f262008-05-16 13:14:45 +0000107 !org.apache.felix.webconsole,
108 org.apache.felix.webconsole.*,
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000109 </Private-Package>
110 <Import-Package>
Felix Meschbergercdcc8f02010-08-03 09:45:33 +0000111 org.apache.felix.scr;version=1.0;resolution:=optional,
Felix Meschberger27919e72009-06-09 10:09:40 +0000112 org.osgi.service.http,
Felix Meschberger4c664132008-06-02 13:52:15 +0000113 org.apache.felix.shell;
Carsten Ziegeler38383ad2009-02-06 14:53:56 +0000114 org.osgi.service.*;resolution:=optional,
Felix Meschberger5fc70792010-01-17 17:40:57 +0000115 javax.servlet.*;version=2.4,
116 *
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000117 </Import-Package>
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000118 <DynamicImport-Package>
119 org.apache.felix.bundlerepository,
120 org.osgi.service.obr
121 </DynamicImport-Package>
Felix Meschberger4c664132008-06-02 13:52:15 +0000122 <Embed-Dependency>
Felix Meschbergerb16615b2009-06-29 10:21:00 +0000123 <!-- Import/Export-Package parsing -->
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000124 org.apache.felix.utils;inline=org/apache/felix/utils/manifest/**,
Felix Meschbergerccc755f2010-04-03 09:55:38 +0000125 org.apache.felix.framework;inline=org/apache/felix/framework/util/VersionRange**,
Felix Meschberger4c664132008-06-02 13:52:15 +0000126
Felix Meschberger9364e1f2009-09-23 05:58:18 +0000127 <!-- ServiceTracker -->
128 org.osgi.compendium;
129 inline=org/osgi/util/tracker/*,
130
Felix Meschberger4c664132008-06-02 13:52:15 +0000131 <!-- Required for JSON data transfer -->
Felix Meschbergereb55d842011-04-06 16:09:51 +0000132 json;inline=org/json/*,
Carsten Ziegelerbc118d92009-02-05 18:35:13 +0000133
134 <!-- File Upload functionality -->
Felix Meschbergereb55d842011-04-06 16:09:51 +0000135 commons-fileupload;inline=org/apache/commons/fileupload/*|
136 org/apache/commons/fileupload/disk/*|
137 org/apache/commons/fileupload/servlet/*,
Felix Meschberger90777f42010-01-12 08:09:52 +0000138
Carsten Ziegelerbc118d92009-02-05 18:35:13 +0000139 <!-- Required by FileUpload and Util -->
Felix Meschbergereb55d842011-04-06 16:09:51 +0000140 commons-io;inline=org/apache/commons/io/*|
141 org/apache/commons/io/filefilter/*|
142 org/apache/commons/io/output/*
Felix Meschberger4c664132008-06-02 13:52:15 +0000143 </Embed-Dependency>
Felix Meschberger90777f42010-01-12 08:09:52 +0000144
Felix Meschberger90777f42010-01-12 08:09:52 +0000145 <_removeheaders>
146 Embed-Dependency,Private-Package,Include-Resource
147 </_removeheaders>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000148 </instructions>
149 </configuration>
150 </plugin>
151 </plugins>
152 </build>
153
Felix Meschberger90777f42010-01-12 08:09:52 +0000154 <profiles>
155 <!--
156 The "bare-bundle" profile builds a bundle not including certain
157 3rd party libraries and classes, namely: Commons IO, Commons
158 FileUpload, JSON, and the OSGi ServiceTracker. These are imported
159 by this bundle. The classes from the bundlerepository bundle are
160 still included because they are not exported from the
161 bundlerepository bundle and thus cannot be imported.
162 The "bare-bundle" can be used if the non-embedded libraries are
163 provided by the framework in which the web console is installed.
164 -->
165 <profile>
166 <id>bare-bundle</id>
167 <activation><activeByDefault>true</activeByDefault></activation>
168 <build>
169 <plugins>
170 <plugin>
171 <groupId>org.apache.felix</groupId>
172 <artifactId>maven-bundle-plugin</artifactId>
173 <executions>
174 <execution>
175 <id>bare-bundle</id>
176 <goals>
177 <goal>bundle</goal>
178 </goals>
179 <configuration>
180 <classifier>bare</classifier>
181 <instructions>
Felix Meschbergerebaf9522011-10-18 15:27:29 +0000182 <Bundle-Name>
183 ${project.name} (Bare)
184 </Bundle-Name>
Felix Meschberger4e466472010-02-17 11:56:17 +0000185 <Bundle-SymbolicName>
Felix Meschberger6fbedfa2011-03-24 16:22:32 +0000186 ${project.artifactId}.bare
Felix Meschberger4e466472010-02-17 11:56:17 +0000187 </Bundle-SymbolicName>
Felix Meschberger90777f42010-01-12 08:09:52 +0000188 <Include-Resource>
Felix Meschberger364bedd2010-11-03 22:25:38 +0000189 {maven-resources},META-INF=src/main/bare-resources
Felix Meschberger90777f42010-01-12 08:09:52 +0000190 </Include-Resource>
Felix Meschberger90777f42010-01-12 08:09:52 +0000191 <Embed-Dependency>
Felix Meschbergerccc755f2010-04-03 09:55:38 +0000192 org.apache.felix.utils;inline=org/apache/felix/utils/manifest/**,
193 org.apache.felix.framework;inline=org/apache/felix/framework/util/VersionRange**
Felix Meschberger90777f42010-01-12 08:09:52 +0000194 </Embed-Dependency>
Felix Meschberger364bedd2010-11-03 22:25:38 +0000195 <_removeheaders>
196 Embed-Dependency,Private-Package,Include-Resource
197 </_removeheaders>
Felix Meschberger90777f42010-01-12 08:09:52 +0000198 </instructions>
199 </configuration>
200 </execution>
201 </executions>
Felix Meschberger364bedd2010-11-03 22:25:38 +0000202 </plugin>
Felix Meschberger90777f42010-01-12 08:09:52 +0000203 </plugins>
204 </build>
205 </profile>
206 </profiles>
207
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000208 <dependencies>
209 <dependency>
210 <groupId>javax.servlet</groupId>
211 <artifactId>servlet-api</artifactId>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000212 <version>2.4</version>
213 <scope>provided</scope>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000214 </dependency>
215
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000216 <dependency>
217 <groupId>commons-fileupload</groupId>
218 <artifactId>commons-fileupload</artifactId>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000219 <version>1.1.1</version>
Carsten Ziegelerbc118d92009-02-05 18:35:13 +0000220 <scope>provided</scope>
221 <optional>true</optional>
222 </dependency>
223
224 <dependency>
225 <groupId>commons-io</groupId>
226 <artifactId>commons-io</artifactId>
227 <version>1.4</version>
228 <scope>provided</scope>
Felix Meschbergeref9ec942008-05-21 21:25:49 +0000229 <optional>true</optional>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000230 </dependency>
231
232 <dependency>
Carsten Ziegelerc53e35a2009-12-15 15:57:11 +0000233 <groupId>org.osgi</groupId>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000234 <artifactId>org.osgi.core</artifactId>
Carsten Ziegelerc53e35a2009-12-15 15:57:11 +0000235 <version>4.1.0</version>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000236 <scope>provided</scope>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000237 </dependency>
238 <dependency>
Carsten Ziegelerc53e35a2009-12-15 15:57:11 +0000239 <groupId>org.osgi</groupId>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000240 <artifactId>org.osgi.compendium</artifactId>
Carsten Ziegelerc53e35a2009-12-15 15:57:11 +0000241 <version>4.1.0</version>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000242 <scope>provided</scope>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000243 </dependency>
244
245 <dependency>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000246 <groupId>org.json</groupId>
247 <artifactId>json</artifactId>
248 <version>20070829</version>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000249 <scope>compile</scope>
Felix Meschbergeref9ec942008-05-21 21:25:49 +0000250 <optional>true</optional>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000251 </dependency>
252
253 <dependency>
254 <groupId>org.apache.felix</groupId>
255 <artifactId>org.apache.felix.scr</artifactId>
Carsten Ziegeler607aa242010-10-06 15:27:07 +0000256 <version>1.6.0</version>
Felix Meschbergercdcc8f02010-08-03 09:45:33 +0000257 <scope>provided</scope>
258 </dependency>
259
260 <dependency>
261 <groupId>org.apache.felix</groupId>
262 <artifactId>org.apache.felix.shell</artifactId>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000263 <version>1.0.0</version>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000264 <scope>provided</scope>
265 </dependency>
266
Felix Meschbergerccc755f2010-04-03 09:55:38 +0000267 <!--
268 Required for a simple VersionRange class, the class from
269 the utils bundle is overkill and requires JDK 1.4 or better
270 -->
271 <dependency>
272 <groupId>org.apache.felix</groupId>
273 <artifactId>org.apache.felix.framework</artifactId>
274 <version>2.0.2</version>
275 <scope>provided</scope>
276 <optional>true</optional>
277 </dependency>
278
Felix Meschbergerb16615b2009-06-29 10:21:00 +0000279 <!-- Parsing Import/Export-Package headers -->
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000280 <dependency>
281 <groupId>org.apache.felix</groupId>
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000282 <artifactId>org.apache.felix.utils</artifactId>
Felix Meschbergerccc755f2010-04-03 09:55:38 +0000283 <version>1.0.0</version>
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000284 <scope>provided</scope>
Felix Meschbergeref9ec942008-05-21 21:25:49 +0000285 <optional>true</optional>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000286 </dependency>
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000287
288 <!-- OSGi and Apache Felix OBR API -->
289 <dependency>
290 <groupId>org.apache.felix</groupId>
291 <artifactId>org.osgi.service.obr</artifactId>
292 <version>1.0.2</version>
293 <scope>provided</scope>
294 </dependency>
295 <dependency>
296 <groupId>org.apache.felix</groupId>
297 <artifactId>org.apache.felix.bundlerepository</artifactId>
Felix Meschbergerccc755f2010-04-03 09:55:38 +0000298 <version>1.6.0</version>
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000299 <scope>provided</scope>
300 <optional>true</optional>
301 </dependency>
302
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000303 </dependencies>
Felix Meschberger714d78f2008-08-27 19:52:34 +0000304</project>