blob: eb14b5be85c828bbe0d7848eda869e406d29a3bf [file] [log] [blame]
Felix Meschberger57efc292008-05-20 18:28:18 +00001<!--
Felix Meschberger9b3c4e02008-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 Meschberger57efc292008-05-20 18:28:18 +000010 http://www.apache.org/licenses/LICENSE-2.0
Felix Meschberger9b3c4e02008-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 Meschberger57efc292008-05-20 18:28:18 +000018-->
Felix Meschberger7dfbb4a2008-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 Meschbergerca29a962008-05-16 11:59:32 +000020
21 <modelVersion>4.0.0</modelVersion>
22 <parent>
Felix Meschbergere60e0722008-05-16 13:09:35 +000023 <groupId>org.apache.felix</groupId>
Felix Meschbergere48e5db2009-05-11 14:25:53 +000024 <artifactId>felix-parent</artifactId>
25 <version>1.2.0</version>
Felix Meschbergere60e0722008-05-16 13:09:35 +000026 <relativePath>../pom/pom.xml</relativePath>
Felix Meschbergerca29a962008-05-16 11:59:32 +000027 </parent>
28
Felix Meschbergere60e0722008-05-16 13:09:35 +000029 <artifactId>org.apache.felix.webconsole</artifactId>
Felix Meschbergerca29a962008-05-16 11:59:32 +000030 <packaging>bundle</packaging>
Guillaume Nodet6af55c62010-06-15 11:03:20 +000031 <version>3.1.1-SNAPSHOT</version>
Felix Meschbergerca29a962008-05-16 11:59:32 +000032
Felix Meschbergere60e0722008-05-16 13:09:35 +000033 <name>Apache Felix Web Management Console</name>
34 <description>
Felix Meschberger8ee5c432008-08-27 06:46:31 +000035 Web Based Management Console for OSGi Frameworks. See
Felix Meschberger61ac6072009-10-01 14:27:10 +000036 http://felix.apache.org/site/apache-felix-web-console.html for more
Felix Meschberger8ee5c432008-08-27 06:46:31 +000037 information on this bundle.
Felix Meschbergere60e0722008-05-16 13:09:35 +000038 </description>
Felix Meschbergerca29a962008-05-16 11:59:32 +000039
40 <scm>
Guillaume Nodet6af55c62010-06-15 11:03:20 +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 Meschbergerca29a962008-05-16 11:59:32 +000044 </scm>
45
46 <build>
Felix Meschbergerf85d5af2010-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>
56 <include>LICENSE*</include>
57 <include>NOTICE*</include>
58 </includes>
59 </resource>
60 <!-- CSS and images for backwards compatibility -->
61 <resource>
62 <directory>${basedir}/src/main/compat</directory>
63 </resource>
64 </resources>
Felix Meschbergerca29a962008-05-16 11:59:32 +000065 <plugins>
Felix Meschberger17f7f792010-02-22 14:12:43 +000066 <!-- translate UTF-8 encoded properties files to ISO-8859-1 -->
67 <plugin>
68 <groupId>org.codehaus.mojo</groupId>
69 <artifactId>native2ascii-maven-plugin</artifactId>
70 <version>1.0-alpha-1</version>
71 <executions>
72 <execution>
73 <goals>
74 <goal>native2ascii</goal>
75 </goals>
76 <configuration>
77 <encoding>UTF-8</encoding>
78 </configuration>
79 </execution>
80 </executions>
81 </plugin>
82
Felix Meschbergerca29a962008-05-16 11:59:32 +000083 <plugin>
84 <groupId>org.apache.felix</groupId>
Felix Meschbergerca29a962008-05-16 11:59:32 +000085 <artifactId>maven-bundle-plugin</artifactId>
Carsten Ziegelerd0a6f362008-08-20 12:54:13 +000086 <version>1.4.3</version>
Felix Meschbergerca29a962008-05-16 11:59:32 +000087 <extensions>true</extensions>
88 <configuration>
89 <instructions>
Carsten Ziegeler5e32e602008-05-16 14:44:08 +000090 <Bundle-SymbolicName>
91 ${artifactId}
92 </Bundle-SymbolicName>
Felix Meschberger9b3c4e02008-06-02 13:52:15 +000093 <Bundle-Vendor>
94 The Apache Software Foundation
95 </Bundle-Vendor>
96 <Bundle-DocURL>
Felix Meschbergera26ffb42008-12-22 11:39:17 +000097 http://felix.apache.org/site/apache-felix-web-console.html
Felix Meschberger9b3c4e02008-06-02 13:52:15 +000098 </Bundle-DocURL>
Felix Meschbergerca29a962008-05-16 11:59:32 +000099 <Bundle-Activator>
Felix Meschbergerab3c75c2008-05-16 13:14:45 +0000100 org.apache.felix.webconsole.internal.OsgiManagerActivator
Felix Meschbergerca29a962008-05-16 11:59:32 +0000101 </Bundle-Activator>
102 <Export-Package>
Felix Meschbergerc5c55512010-08-03 09:45:33 +0000103 org.apache.felix.webconsole;version=3.1
Felix Meschbergerca29a962008-05-16 11:59:32 +0000104 </Export-Package>
105 <Private-Package>
Felix Meschbergerab3c75c2008-05-16 13:14:45 +0000106 !org.apache.felix.webconsole,
107 org.apache.felix.webconsole.*,
Felix Meschbergerca29a962008-05-16 11:59:32 +0000108 </Private-Package>
109 <Import-Package>
Felix Meschbergerc5c55512010-08-03 09:45:33 +0000110 org.apache.felix.scr;version=1.0;resolution:=optional,
Felix Meschberger6f21ed42009-06-09 10:09:40 +0000111 org.osgi.service.http,
Felix Meschberger9b3c4e02008-06-02 13:52:15 +0000112 org.apache.felix.scr;
113 org.apache.felix.shell;
Carsten Ziegeleraa079482009-02-06 14:53:56 +0000114 org.osgi.service.*;resolution:=optional,
Felix Meschberger790de592009-05-15 11:43:45 +0000115 javax.portlet;resolution:=optional,
Felix Meschberger6dcc01e2010-01-17 17:40:57 +0000116 javax.servlet.*;version=2.4,
117 *
Felix Meschbergerca29a962008-05-16 11:59:32 +0000118 </Import-Package>
Felix Meschberger35ddac22010-03-22 15:31:13 +0000119 <DynamicImport-Package>
120 org.apache.felix.bundlerepository,
121 org.osgi.service.obr
122 </DynamicImport-Package>
Felix Meschberger9b3c4e02008-06-02 13:52:15 +0000123 <Embed-Dependency>
Felix Meschberger18330ac2009-06-29 10:21:00 +0000124 <!-- Import/Export-Package parsing -->
Felix Meschberger35ddac22010-03-22 15:31:13 +0000125 org.apache.felix.utils;inline=org/apache/felix/utils/manifest/**,
Felix Meschbergerd43b6d92010-04-03 09:55:38 +0000126 org.apache.felix.framework;inline=org/apache/felix/framework/util/VersionRange**,
Felix Meschberger9b3c4e02008-06-02 13:52:15 +0000127
Felix Meschberger3a0aac42009-09-23 05:58:18 +0000128 <!-- ServiceTracker -->
129 org.osgi.compendium;
130 inline=org/osgi/util/tracker/*,
131
Felix Meschberger9b3c4e02008-06-02 13:52:15 +0000132 <!-- Required for JSON data transfer -->
Carsten Ziegeler32196dc2009-02-05 18:35:13 +0000133 json,
134
135 <!-- File Upload functionality -->
136 commons-fileupload,
Felix Meschbergerc17f2d12010-01-12 08:09:52 +0000137
Carsten Ziegeler32196dc2009-02-05 18:35:13 +0000138 <!-- Required by FileUpload and Util -->
139 commons-io
Felix Meschberger9b3c4e02008-06-02 13:52:15 +0000140 </Embed-Dependency>
Felix Meschbergerc17f2d12010-01-12 08:09:52 +0000141
142 <_donotcopy>NOTICE.bare</_donotcopy>
143 <_removeheaders>
144 Embed-Dependency,Private-Package,Include-Resource
145 </_removeheaders>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000146 </instructions>
147 </configuration>
148 </plugin>
149 </plugins>
150 </build>
151
Felix Meschbergerc17f2d12010-01-12 08:09:52 +0000152 <profiles>
153 <!--
154 The "bare-bundle" profile builds a bundle not including certain
155 3rd party libraries and classes, namely: Commons IO, Commons
156 FileUpload, JSON, and the OSGi ServiceTracker. These are imported
157 by this bundle. The classes from the bundlerepository bundle are
158 still included because they are not exported from the
159 bundlerepository bundle and thus cannot be imported.
160 The "bare-bundle" can be used if the non-embedded libraries are
161 provided by the framework in which the web console is installed.
162 -->
163 <profile>
164 <id>bare-bundle</id>
165 <activation><activeByDefault>true</activeByDefault></activation>
166 <build>
167 <plugins>
168 <plugin>
169 <groupId>org.apache.felix</groupId>
170 <artifactId>maven-bundle-plugin</artifactId>
171 <executions>
172 <execution>
173 <id>bare-bundle</id>
174 <goals>
175 <goal>bundle</goal>
176 </goals>
177 <configuration>
178 <classifier>bare</classifier>
179 <instructions>
Felix Meschbergere1833c22010-02-17 11:56:17 +0000180 <Bundle-SymbolicName>
181 ${artifactId}.bare
182 </Bundle-SymbolicName>
Felix Meschbergerc17f2d12010-01-12 08:09:52 +0000183 <Include-Resource>
Felix Meschberger13360452010-01-12 08:15:06 +0000184 {maven-resources},META-INF/NOTICE=src/main/bare-resources/NOTICE
Felix Meschbergerc17f2d12010-01-12 08:09:52 +0000185 </Include-Resource>
186 <_donotcopy>LICENSE.json</_donotcopy>
187 <!-- <_donotcopy>(LICENSE.json|NOTICE.bare)</_donotcopy> -->
188 <Embed-Dependency>
Felix Meschbergerd43b6d92010-04-03 09:55:38 +0000189 org.apache.felix.utils;inline=org/apache/felix/utils/manifest/**,
190 org.apache.felix.framework;inline=org/apache/felix/framework/util/VersionRange**
Felix Meschbergerc17f2d12010-01-12 08:09:52 +0000191 </Embed-Dependency>
192 </instructions>
193 </configuration>
194 </execution>
195 </executions>
196 </plugin>
197 </plugins>
198 </build>
199 </profile>
200 </profiles>
201
Felix Meschbergerca29a962008-05-16 11:59:32 +0000202 <dependencies>
203 <dependency>
204 <groupId>javax.servlet</groupId>
205 <artifactId>servlet-api</artifactId>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000206 <version>2.4</version>
207 <scope>provided</scope>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000208 </dependency>
209
Felix Meschbergerca29a962008-05-16 11:59:32 +0000210 <dependency>
211 <groupId>commons-fileupload</groupId>
212 <artifactId>commons-fileupload</artifactId>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000213 <version>1.1.1</version>
Carsten Ziegeler32196dc2009-02-05 18:35:13 +0000214 <scope>provided</scope>
215 <optional>true</optional>
216 </dependency>
217
218 <dependency>
219 <groupId>commons-io</groupId>
220 <artifactId>commons-io</artifactId>
221 <version>1.4</version>
222 <scope>provided</scope>
Felix Meschberger6c39c6c2008-05-21 21:25:49 +0000223 <optional>true</optional>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000224 </dependency>
225
226 <dependency>
Carsten Ziegeler975b2e22009-12-15 15:57:11 +0000227 <groupId>org.osgi</groupId>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000228 <artifactId>org.osgi.core</artifactId>
Carsten Ziegeler975b2e22009-12-15 15:57:11 +0000229 <version>4.1.0</version>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000230 <scope>provided</scope>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000231 </dependency>
232 <dependency>
Carsten Ziegeler975b2e22009-12-15 15:57:11 +0000233 <groupId>org.osgi</groupId>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000234 <artifactId>org.osgi.compendium</artifactId>
Carsten Ziegeler975b2e22009-12-15 15:57:11 +0000235 <version>4.1.0</version>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000236 <scope>provided</scope>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000237 </dependency>
238
239 <dependency>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000240 <groupId>org.json</groupId>
241 <artifactId>json</artifactId>
242 <version>20070829</version>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000243 <scope>compile</scope>
Felix Meschberger6c39c6c2008-05-21 21:25:49 +0000244 <optional>true</optional>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000245 </dependency>
246
247 <dependency>
248 <groupId>org.apache.felix</groupId>
249 <artifactId>org.apache.felix.scr</artifactId>
Felix Meschbergerc5c55512010-08-03 09:45:33 +0000250 <version>1.4.1-SNAPSHOT</version>
251 <scope>provided</scope>
252 </dependency>
253
254 <dependency>
255 <groupId>org.apache.felix</groupId>
256 <artifactId>org.apache.felix.shell</artifactId>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000257 <version>1.0.0</version>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000258 <scope>provided</scope>
259 </dependency>
260
Felix Meschbergerd43b6d92010-04-03 09:55:38 +0000261 <!--
262 Required for a simple VersionRange class, the class from
263 the utils bundle is overkill and requires JDK 1.4 or better
264 -->
265 <dependency>
266 <groupId>org.apache.felix</groupId>
267 <artifactId>org.apache.felix.framework</artifactId>
268 <version>2.0.2</version>
269 <scope>provided</scope>
270 <optional>true</optional>
271 </dependency>
272
Felix Meschberger18330ac2009-06-29 10:21:00 +0000273 <!-- Parsing Import/Export-Package headers -->
Felix Meschbergerca29a962008-05-16 11:59:32 +0000274 <dependency>
275 <groupId>org.apache.felix</groupId>
Felix Meschberger35ddac22010-03-22 15:31:13 +0000276 <artifactId>org.apache.felix.utils</artifactId>
Felix Meschbergerd43b6d92010-04-03 09:55:38 +0000277 <version>1.0.0</version>
Felix Meschberger35ddac22010-03-22 15:31:13 +0000278 <scope>provided</scope>
Felix Meschberger6c39c6c2008-05-21 21:25:49 +0000279 <optional>true</optional>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000280 </dependency>
Felix Meschberger35ddac22010-03-22 15:31:13 +0000281
282 <!-- OSGi and Apache Felix OBR API -->
283 <dependency>
284 <groupId>org.apache.felix</groupId>
285 <artifactId>org.osgi.service.obr</artifactId>
286 <version>1.0.2</version>
287 <scope>provided</scope>
288 </dependency>
289 <dependency>
290 <groupId>org.apache.felix</groupId>
291 <artifactId>org.apache.felix.bundlerepository</artifactId>
Felix Meschbergerd43b6d92010-04-03 09:55:38 +0000292 <version>1.6.0</version>
Felix Meschberger35ddac22010-03-22 15:31:13 +0000293 <scope>provided</scope>
294 <optional>true</optional>
295 </dependency>
296
Felix Meschbergerca29a962008-05-16 11:59:32 +0000297 </dependencies>
Felix Meschberger51a72802008-08-27 19:52:34 +0000298</project>