blob: a0766517c710da60a7f9baddd1a72413d15bddf9 [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>
Carsten Ziegeler29d0c102015-06-24 14:32:16 +000025 <version>3</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>
Valentin Valchevb16efcb2015-03-10 13:11:55 +000031 <version>4.2.9-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 Meschbergered350d82012-12-02 18:41:33 +000039
40 <properties>
Carsten Ziegeler29d0c102015-06-24 14:32:16 +000041 <felix.java.version>4</felix.java.version>
Felix Meschbergered350d82012-12-02 18:41:33 +000042 <org.json.version>20070829</org.json.version>
43 <org.json.version.osgi>0.0.0.${org.json.version}</org.json.version.osgi>
Carsten Ziegeler2f193642013-01-29 15:27:02 +000044 <webconsole.exports>
Carsten Ziegeler8baa8be2015-02-27 05:59:41 +000045 org.apache.felix.webconsole;version=3.2.0;provide:=true,
Carsten Ziegeler2f193642013-01-29 15:27:02 +000046 org.apache.felix.webconsole.bundleinfo;version=1.0.0;provide:=true,
47 org.apache.felix.webconsole.i18n;version=1.0.0;provide:=true
48 </webconsole.exports>
Felix Meschbergered350d82012-12-02 18:41:33 +000049 </properties>
Felix Meschbergerca29a962008-05-16 11:59:32 +000050
51 <scm>
Valentin Valchevb16efcb2015-03-10 13:11:55 +000052 <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/webconsole</connection>
53 <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/webconsole</developerConnection>
54 <url>http://svn.apache.org/viewvc/felix/trunk/webconsole</url>
Felix Meschbergerca29a962008-05-16 11:59:32 +000055 </scm>
56
57 <build>
Felix Meschbergerf85d5af2010-03-26 11:38:34 +000058 <resources>
59 <!-- default resources (may be removed when compat is removed) -->
60 <resource>
61 <directory>${basedir}/src/main/resources</directory>
62 </resource>
63 <resource>
64 <targetPath>META-INF</targetPath>
65 <directory>${basedir}</directory>
66 <includes>
Felix Meschbergerfabe0252010-08-12 07:40:34 +000067 <include>LICENSE</include>
68 <include>NOTICE</include>
69 <include>DEPENDENCIES</include>
Felix Meschbergera4f53642010-11-03 22:28:52 +000070 <include>changelog.txt</include>
Felix Meschbergerf85d5af2010-03-26 11:38:34 +000071 </includes>
72 </resource>
73 <!-- CSS and images for backwards compatibility -->
74 <resource>
75 <directory>${basedir}/src/main/compat</directory>
76 </resource>
77 </resources>
Felix Meschbergerca29a962008-05-16 11:59:32 +000078 <plugins>
Felix Meschberger17f7f792010-02-22 14:12:43 +000079 <!-- translate UTF-8 encoded properties files to ISO-8859-1 -->
80 <plugin>
81 <groupId>org.codehaus.mojo</groupId>
82 <artifactId>native2ascii-maven-plugin</artifactId>
Felix Meschbergerd7274052011-12-17 13:57:38 +000083 <version>1.0-beta-1</version>
Felix Meschberger17f7f792010-02-22 14:12:43 +000084 <executions>
85 <execution>
86 <goals>
87 <goal>native2ascii</goal>
88 </goals>
89 <configuration>
90 <encoding>UTF-8</encoding>
91 </configuration>
92 </execution>
93 </executions>
94 </plugin>
Felix Meschberger46d68152011-12-17 12:34:04 +000095 <plugin>
Felix Meschbergerca29a962008-05-16 11:59:32 +000096 <groupId>org.apache.felix</groupId>
Felix Meschbergerca29a962008-05-16 11:59:32 +000097 <artifactId>maven-bundle-plugin</artifactId>
Felix Meschberger46d68152011-12-17 12:34:04 +000098 <version>2.3.6</version>
Felix Meschbergerca29a962008-05-16 11:59:32 +000099 <extensions>true</extensions>
100 <configuration>
101 <instructions>
Carsten Ziegeler5e32e602008-05-16 14:44:08 +0000102 <Bundle-SymbolicName>
Felix Meschbergerccdf4fa2011-03-24 16:22:32 +0000103 ${project.artifactId}
Carsten Ziegeler5e32e602008-05-16 14:44:08 +0000104 </Bundle-SymbolicName>
Felix Meschberger9b3c4e02008-06-02 13:52:15 +0000105 <Bundle-Vendor>
106 The Apache Software Foundation
107 </Bundle-Vendor>
108 <Bundle-DocURL>
Felix Meschbergera26ffb42008-12-22 11:39:17 +0000109 http://felix.apache.org/site/apache-felix-web-console.html
Felix Meschberger9b3c4e02008-06-02 13:52:15 +0000110 </Bundle-DocURL>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000111 <Bundle-Activator>
Felix Meschbergerab3c75c2008-05-16 13:14:45 +0000112 org.apache.felix.webconsole.internal.OsgiManagerActivator
Felix Meschbergerca29a962008-05-16 11:59:32 +0000113 </Bundle-Activator>
Felix Meschberger68c153a2012-01-06 15:03:17 +0000114 <Export-Package>
Carsten Ziegeler2f193642013-01-29 15:27:02 +0000115 ${webconsole.exports}
Felix Meschberger68c153a2012-01-06 15:03:17 +0000116 </Export-Package>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000117 <Import-Package>
Felix Meschbergered350d82012-12-02 18:41:33 +0000118 org.json.*;version=0,
Felix Meschberger6dcc01e2010-01-17 17:40:57 +0000119 javax.servlet.*;version=2.4,
Valentin Valchevcc9e47d2012-07-12 06:56:09 +0000120 org.apache.commons.io; version="[1.4,3)",
Felix Meschberger6dcc01e2010-01-17 17:40:57 +0000121 *
Felix Meschbergerca29a962008-05-16 11:59:32 +0000122 </Import-Package>
Felix Meschberger35ddac22010-03-22 15:31:13 +0000123 <DynamicImport-Package>
Felix Meschbergerb58af942011-12-19 12:54:03 +0000124 org.apache.felix.bundlerepository;version="[2.0,3)",
125 org.osgi.service.obr;version="[1.0,2)",
126 org.osgi.service.cm;version="[1.2,2)",
127 org.osgi.service.condpermadmin;version="[1.0,2)",
128 org.osgi.service.log;version="[1.3,2)",
129 org.osgi.service.metatype;version="[1.1,2)",
130 org.osgi.service.permissionadmin;version="[1.2,2)",
131 org.osgi.service.prefs;version="[1.1,2)",
132 org.osgi.service.wireadmin;version="[1.0,2)"
Felix Meschberger35ddac22010-03-22 15:31:13 +0000133 </DynamicImport-Package>
Felix Meschbergerdcf0f3d2011-12-17 11:16:13 +0000134 <Include-Resource>
Felix Meschberger921a80a2012-04-05 14:11:10 +0000135 {maven-resources},OSGI-INF=target/classes/OSGI-INF
Felix Meschbergerdcf0f3d2011-12-17 11:16:13 +0000136 </Include-Resource>
Felix Meschberger9b3c4e02008-06-02 13:52:15 +0000137 <Embed-Dependency>
Felix Meschberger35ddac22010-03-22 15:31:13 +0000138 org.apache.felix.utils;inline=org/apache/felix/utils/manifest/**,
Felix Meschbergerbee7fec2012-12-25 19:56:31 +0000139 org.apache.felix.framework;inline=org/apache/felix/framework/util/VersionRange**
Felix Meschberger9b3c4e02008-06-02 13:52:15 +0000140 </Embed-Dependency>
Felix Meschbergerc17f2d12010-01-12 08:09:52 +0000141 <_removeheaders>
142 Embed-Dependency,Private-Package,Include-Resource
143 </_removeheaders>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000144 </instructions>
145 </configuration>
146 </plugin>
Felix Meschberger9de2c592011-12-17 12:17:32 +0000147 <plugin>
148 <artifactId>maven-javadoc-plugin</artifactId>
149 <configuration>
150 <excludePackageNames>
151 *.internal
152 </excludePackageNames>
153 </configuration>
154 </plugin>
155 <plugin>
156 <groupId>org.apache.rat</groupId>
157 <artifactId>apache-rat-plugin</artifactId>
158 <configuration>
159 <includes>
160 <include>src/**</include>
161 </includes>
162 <excludes>
163 <exclude>src/main/appended-resources/**</exclude>
Felix Meschbergerefc5de52012-12-02 18:44:51 +0000164 <exclude>src/main/resources/res/lib/jquery-1.8.3.js</exclude>
165 <exclude>src/main/resources/res/lib/jquery-ui-1.9.2.js</exclude>
Felix Meschberger9de2c592011-12-17 12:17:32 +0000166 <exclude>src/main/resources/res/lib/jquery-ui-i18n-1.7.2.js</exclude>
Carsten Ziegelerb0efb6d2014-12-29 14:24:03 +0000167 <exclude>src/main/resources/res/lib/jquery.autosize.min.js</exclude>
Felix Meschberger9de2c592011-12-17 12:17:32 +0000168 <exclude>src/main/resources/res/lib/jquery.cookies-2.2.0.js</exclude>
169 <exclude>src/main/resources/res/lib/jquery.multifile-1.4.6.js</exclude>
170 <exclude>src/main/resources/res/lib/jquery.tablesorter-2.0.3.js</exclude>
171 <exclude>src/main/resources/res/lib/reset-min.css</exclude>
172 <exclude>src/main/resources/res/lib/themes/**</exclude>
173 <exclude>src/main/resources/res/ui/ui.tabs.paging.js</exclude>
174 <exclude>src/main/resources/templates/*.html</exclude>
Felix Meschbergerefc5de52012-12-02 18:44:51 +0000175 <exclude>src/main/debug-resources/res/lib/**</exclude>
Felix Meschberger9de2c592011-12-17 12:17:32 +0000176 </excludes>
177 </configuration>
178 </plugin>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000179 </plugins>
180 </build>
181
Felix Meschbergered350d82012-12-02 18:41:33 +0000182 <profiles>
183 <!--
184 The "all-in-one-bundle" profile builds a bundle including certain
185 3rd party libraries and classes, namely: Commons IO, Commons
186 FileUpload, JSON, and the OSGi ServiceTracker.
187 The "all-in-one-bundle" can be used in deployments where these
188 dependencies need not be deployed separately.
189 -->
190 <profile>
191 <id>all-in-one-bundle</id>
192 <activation><activeByDefault>true</activeByDefault></activation>
193 <build>
194 <plugins>
195 <plugin>
196 <groupId>org.apache.felix</groupId>
197 <artifactId>maven-bundle-plugin</artifactId>
198 <executions>
199 <execution>
200 <id>all-in-one-bundle</id>
201 <goals>
202 <goal>bundle</goal>
203 </goals>
204 <configuration>
205 <classifier>all</classifier>
206 <instructions>
207 <Bundle-Name>
208 ${project.name} (All In One)
209 </Bundle-Name>
Felix Meschberger4219ee02012-12-31 07:56:40 +0000210 <Bundle-Version>
211 ${project.version}-all
212 </Bundle-Version>
Carsten Ziegelerbbf96682013-01-28 21:33:31 +0000213 <Export-Package>
Felix Meschbergered350d82012-12-02 18:41:33 +0000214 org.apache.commons.fileupload,
215 org.apache.commons.fileupload.disk,
216 org.apache.commons.fileupload.servlet,
217 org.apache.commons.fileupload.util,
218 org.apache.commons.io,
219 org.apache.commons.io.filefilter,
220 org.apache.commons.io.output,
Carsten Ziegelerbbf96682013-01-28 21:33:31 +0000221 org.json;version=${org.json.version.osgi},
Felix Meschberger64383512013-05-21 16:32:52 +0000222 org.apache.felix.inventory;version=1.0.0,
Carsten Ziegeler2f193642013-01-29 15:27:02 +0000223 ${webconsole.exports}
Felix Meschbergered350d82012-12-02 18:41:33 +0000224 </Export-Package>
225 <Embed-Dependency>
226 <!-- Import/Export-Package parsing -->
227 org.apache.felix.utils;inline=org/apache/felix/utils/manifest/**,
228 org.apache.felix.framework;inline=org/apache/felix/framework/util/VersionRange**,
229
230 <!-- ServiceTracker -->
231 org.osgi.compendium;
232 inline=org/osgi/util/tracker/*,
Felix Meschberger64383512013-05-21 16:32:52 +0000233 org.apache.felix.inventory;inline=true
Felix Meschbergered350d82012-12-02 18:41:33 +0000234 </Embed-Dependency>
235
236 <_removeheaders>
237 Embed-Dependency,Private-Package,Include-Resource
238 </_removeheaders>
239 </instructions>
240 </configuration>
241 </execution>
242 </executions>
243 </plugin>
244 <!--
245 <plugin>
246 <groupId>org.apache.maven.plugins</groupId>
247 <artifactId>maven-remote-resources-plugin</artifactId>
248 <executions>
249 <execution>
250 <goals>
251 <goal>process</goal>
252 </goals>
253 <configuration>
254 <resourceBundles>
255 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
256 </resourceBundles>
257 </configuration>
258 </execution>
259 </executions>
260 </plugin>
261 -->
262 </plugins>
263 </build>
Felix Meschberger64383512013-05-21 16:32:52 +0000264 <dependencies>
265 <dependency>
266 <groupId>org.apache.felix</groupId>
267 <artifactId>org.apache.felix.inventory</artifactId>
Felix Meschberger93f54c12013-05-27 12:57:36 +0000268 <version>1.0.0</version>
Felix Meschberger64383512013-05-21 16:32:52 +0000269 <scope>provided</scope>
270 </dependency>
271 </dependencies>
Felix Meschbergered350d82012-12-02 18:41:33 +0000272 </profile>
Felix Meschbergerefc5de52012-12-02 18:44:51 +0000273
274 <!--
275 The "debug" profile builds a bundle using the non-minified
276 JQuery libraries and CSS files instead to make debugging
277 JQuery related issues easier.
278 -->
279 <profile>
280 <id>debug-bundle</id>
281 <activation><activeByDefault>true</activeByDefault></activation>
282 <build>
283 <plugins>
284 <plugin>
285 <groupId>org.apache.felix</groupId>
286 <artifactId>maven-bundle-plugin</artifactId>
287 <executions>
288 <execution>
289 <id>debug-bundle</id>
290 <goals>
291 <goal>bundle</goal>
292 </goals>
293 <configuration>
294 <classifier>debug</classifier>
295 <instructions>
296 <Bundle-Name>
297 ${project.name} (JQuery Debug)
298 </Bundle-Name>
Felix Meschberger4219ee02012-12-31 07:56:40 +0000299 <Bundle-Version>
300 ${project.version}-debug
301 </Bundle-Version>
Felix Meschbergerefc5de52012-12-02 18:44:51 +0000302 <Include-Resource>
303 {maven-resources},
304 res=src/main/debug-resources/res
305 </Include-Resource>
306 </instructions>
307 </configuration>
308 </execution>
309 </executions>
310 </plugin>
311 <!--
312 <plugin>
313 <groupId>org.apache.maven.plugins</groupId>
314 <artifactId>maven-remote-resources-plugin</artifactId>
315 <executions>
316 <execution>
317 <goals>
318 <goal>process</goal>
319 </goals>
320 <configuration>
321 <resourceBundles>
322 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
323 </resourceBundles>
324 </configuration>
325 </execution>
326 </executions>
327 </plugin>
328 -->
329 </plugins>
330 </build>
331 </profile>
Felix Meschbergered350d82012-12-02 18:41:33 +0000332 </profiles>
333
Felix Meschbergerca29a962008-05-16 11:59:32 +0000334 <dependencies>
335 <dependency>
336 <groupId>javax.servlet</groupId>
337 <artifactId>servlet-api</artifactId>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000338 <version>2.4</version>
339 <scope>provided</scope>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000340 </dependency>
341
Felix Meschbergerca29a962008-05-16 11:59:32 +0000342 <dependency>
343 <groupId>commons-fileupload</groupId>
344 <artifactId>commons-fileupload</artifactId>
Felix Meschberger7587b422011-12-17 13:00:58 +0000345 <version>1.2.1</version>
Carsten Ziegeler32196dc2009-02-05 18:35:13 +0000346 <scope>provided</scope>
Carsten Ziegeler32196dc2009-02-05 18:35:13 +0000347 </dependency>
348
349 <dependency>
350 <groupId>commons-io</groupId>
351 <artifactId>commons-io</artifactId>
352 <version>1.4</version>
353 <scope>provided</scope>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000354 </dependency>
355
356 <dependency>
Carsten Ziegeler975b2e22009-12-15 15:57:11 +0000357 <groupId>org.osgi</groupId>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000358 <artifactId>org.osgi.core</artifactId>
Carsten Ziegeler975b2e22009-12-15 15:57:11 +0000359 <version>4.1.0</version>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000360 <scope>provided</scope>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000361 </dependency>
362 <dependency>
Carsten Ziegeler975b2e22009-12-15 15:57:11 +0000363 <groupId>org.osgi</groupId>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000364 <artifactId>org.osgi.compendium</artifactId>
Carsten Ziegeler975b2e22009-12-15 15:57:11 +0000365 <version>4.1.0</version>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000366 <scope>provided</scope>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000367 </dependency>
368
369 <dependency>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000370 <groupId>org.json</groupId>
371 <artifactId>json</artifactId>
Felix Meschbergered350d82012-12-02 18:41:33 +0000372 <version>${org.json.version}</version>
Felix Meschbergerc5c55512010-08-03 09:45:33 +0000373 <scope>provided</scope>
374 </dependency>
Felix Meschbergered350d82012-12-02 18:41:33 +0000375
Felix Meschbergerc5c55512010-08-03 09:45:33 +0000376 <dependency>
377 <groupId>org.apache.felix</groupId>
378 <artifactId>org.apache.felix.shell</artifactId>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000379 <version>1.0.0</version>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000380 <scope>provided</scope>
381 </dependency>
382
Felix Meschbergerd43b6d92010-04-03 09:55:38 +0000383 <!--
384 Required for a simple VersionRange class, the class from
385 the utils bundle is overkill and requires JDK 1.4 or better
386 -->
387 <dependency>
388 <groupId>org.apache.felix</groupId>
389 <artifactId>org.apache.felix.framework</artifactId>
390 <version>2.0.2</version>
391 <scope>provided</scope>
392 <optional>true</optional>
393 </dependency>
394
Felix Meschberger18330ac2009-06-29 10:21:00 +0000395 <!-- Parsing Import/Export-Package headers -->
Felix Meschbergerca29a962008-05-16 11:59:32 +0000396 <dependency>
397 <groupId>org.apache.felix</groupId>
Felix Meschberger35ddac22010-03-22 15:31:13 +0000398 <artifactId>org.apache.felix.utils</artifactId>
Felix Meschbergerd43b6d92010-04-03 09:55:38 +0000399 <version>1.0.0</version>
Felix Meschberger35ddac22010-03-22 15:31:13 +0000400 <scope>provided</scope>
Felix Meschberger6c39c6c2008-05-21 21:25:49 +0000401 <optional>true</optional>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000402 </dependency>
Felix Meschberger35ddac22010-03-22 15:31:13 +0000403
404 <!-- OSGi and Apache Felix OBR API -->
405 <dependency>
406 <groupId>org.apache.felix</groupId>
407 <artifactId>org.osgi.service.obr</artifactId>
408 <version>1.0.2</version>
409 <scope>provided</scope>
410 </dependency>
411 <dependency>
412 <groupId>org.apache.felix</groupId>
413 <artifactId>org.apache.felix.bundlerepository</artifactId>
Felix Meschbergerd43b6d92010-04-03 09:55:38 +0000414 <version>1.6.0</version>
Felix Meschberger35ddac22010-03-22 15:31:13 +0000415 <scope>provided</scope>
416 <optional>true</optional>
417 </dependency>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000418 </dependencies>
Felix Meschberger51a72802008-08-27 19:52:34 +0000419</project>