blob: 0679cc020e4fa5316f4ebb61111db839f6ae65a4 [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>
Carsten Ziegelera7f3dc82009-12-15 10:05:35 +000031 <version>2.0.5-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>
Carsten Ziegelera7f3dc82009-12-15 10:05:35 +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>
47 <plugins>
48 <plugin>
49 <groupId>org.apache.felix</groupId>
Felix Meschbergerca29a962008-05-16 11:59:32 +000050 <artifactId>maven-bundle-plugin</artifactId>
Carsten Ziegelerd0a6f362008-08-20 12:54:13 +000051 <version>1.4.3</version>
Felix Meschbergerca29a962008-05-16 11:59:32 +000052 <extensions>true</extensions>
53 <configuration>
54 <instructions>
Carsten Ziegeler5e32e602008-05-16 14:44:08 +000055 <Bundle-SymbolicName>
56 ${artifactId}
57 </Bundle-SymbolicName>
Felix Meschberger9b3c4e02008-06-02 13:52:15 +000058 <Bundle-Vendor>
59 The Apache Software Foundation
60 </Bundle-Vendor>
61 <Bundle-DocURL>
Felix Meschbergera26ffb42008-12-22 11:39:17 +000062 http://felix.apache.org/site/apache-felix-web-console.html
Felix Meschberger9b3c4e02008-06-02 13:52:15 +000063 </Bundle-DocURL>
Felix Meschbergerca29a962008-05-16 11:59:32 +000064 <Bundle-Activator>
Felix Meschbergerab3c75c2008-05-16 13:14:45 +000065 org.apache.felix.webconsole.internal.OsgiManagerActivator
Felix Meschbergerca29a962008-05-16 11:59:32 +000066 </Bundle-Activator>
67 <Export-Package>
Felix Meschberger18330ac2009-06-29 10:21:00 +000068 org.apache.felix.webconsole;version=${project.version}
Felix Meschbergerca29a962008-05-16 11:59:32 +000069 </Export-Package>
70 <Private-Package>
Felix Meschbergerab3c75c2008-05-16 13:14:45 +000071 !org.apache.felix.webconsole,
72 org.apache.felix.webconsole.*,
Felix Meschbergerca29a962008-05-16 11:59:32 +000073 </Private-Package>
74 <Import-Package>
Felix Meschberger6f21ed42009-06-09 10:09:40 +000075 org.osgi.service.http,
Felix Meschberger9b3c4e02008-06-02 13:52:15 +000076 org.apache.felix.scr;
77 org.apache.felix.shell;
Carsten Ziegeleraa079482009-02-06 14:53:56 +000078 org.osgi.service.*;resolution:=optional,
Felix Meschberger790de592009-05-15 11:43:45 +000079 javax.portlet;resolution:=optional,
80 javax.servlet.*;version=2.4,*;
Felix Meschbergerca29a962008-05-16 11:59:32 +000081 </Import-Package>
Felix Meschberger9b3c4e02008-06-02 13:52:15 +000082 <Embed-Dependency>
Felix Meschberger18330ac2009-06-29 10:21:00 +000083 <!-- Import/Export-Package parsing -->
Felix Meschbergerfa8bebf2009-09-08 08:11:56 +000084 org.apache.felix.bundlerepository;
85 inline=org/apache/felix/bundlerepository/R4*.class|
86 org/apache/felix/bundlerepository/Util.class|
87 org/apache/felix/bundlerepository/VersionRange.class,
Felix Meschberger9b3c4e02008-06-02 13:52:15 +000088
Felix Meschberger3a0aac42009-09-23 05:58:18 +000089 <!-- ServiceTracker -->
90 org.osgi.compendium;
91 inline=org/osgi/util/tracker/*,
92
Felix Meschberger9b3c4e02008-06-02 13:52:15 +000093 <!-- Required for JSON data transfer -->
Carsten Ziegeler32196dc2009-02-05 18:35:13 +000094 json,
95
96 <!-- File Upload functionality -->
97 commons-fileupload,
Felix Meschbergerc17f2d12010-01-12 08:09:52 +000098
Carsten Ziegeler32196dc2009-02-05 18:35:13 +000099 <!-- Required by FileUpload and Util -->
100 commons-io
Felix Meschberger9b3c4e02008-06-02 13:52:15 +0000101 </Embed-Dependency>
Felix Meschbergerc17f2d12010-01-12 08:09:52 +0000102
103 <_donotcopy>NOTICE.bare</_donotcopy>
104 <_removeheaders>
105 Embed-Dependency,Private-Package,Include-Resource
106 </_removeheaders>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000107 </instructions>
108 </configuration>
109 </plugin>
110 </plugins>
111 </build>
112
Felix Meschbergerc17f2d12010-01-12 08:09:52 +0000113 <profiles>
114 <!--
115 The "bare-bundle" profile builds a bundle not including certain
116 3rd party libraries and classes, namely: Commons IO, Commons
117 FileUpload, JSON, and the OSGi ServiceTracker. These are imported
118 by this bundle. The classes from the bundlerepository bundle are
119 still included because they are not exported from the
120 bundlerepository bundle and thus cannot be imported.
121 The "bare-bundle" can be used if the non-embedded libraries are
122 provided by the framework in which the web console is installed.
123 -->
124 <profile>
125 <id>bare-bundle</id>
126 <activation><activeByDefault>true</activeByDefault></activation>
127 <build>
128 <plugins>
129 <plugin>
130 <groupId>org.apache.felix</groupId>
131 <artifactId>maven-bundle-plugin</artifactId>
132 <executions>
133 <execution>
134 <id>bare-bundle</id>
135 <goals>
136 <goal>bundle</goal>
137 </goals>
138 <configuration>
139 <classifier>bare</classifier>
140 <instructions>
141 <Include-Resource>
Felix Meschberger13360452010-01-12 08:15:06 +0000142 {maven-resources},META-INF/NOTICE=src/main/bare-resources/NOTICE
Felix Meschbergerc17f2d12010-01-12 08:09:52 +0000143 </Include-Resource>
144 <_donotcopy>LICENSE.json</_donotcopy>
145 <!-- <_donotcopy>(LICENSE.json|NOTICE.bare)</_donotcopy> -->
146 <Embed-Dependency>
147 org.apache.felix.bundlerepository;
148 inline=org/apache/felix/bundlerepository/R4*.class|
149 org/apache/felix/bundlerepository/Util.class|
150 org/apache/felix/bundlerepository/VersionRange.class,
151 </Embed-Dependency>
152 </instructions>
153 </configuration>
154 </execution>
155 </executions>
156 </plugin>
157 </plugins>
158 </build>
159 </profile>
160 </profiles>
161
Felix Meschbergerca29a962008-05-16 11:59:32 +0000162 <dependencies>
163 <dependency>
164 <groupId>javax.servlet</groupId>
165 <artifactId>servlet-api</artifactId>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000166 <version>2.4</version>
167 <scope>provided</scope>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000168 </dependency>
169
Felix Meschbergerca29a962008-05-16 11:59:32 +0000170 <dependency>
171 <groupId>commons-fileupload</groupId>
172 <artifactId>commons-fileupload</artifactId>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000173 <version>1.1.1</version>
Carsten Ziegeler32196dc2009-02-05 18:35:13 +0000174 <scope>provided</scope>
175 <optional>true</optional>
176 </dependency>
177
178 <dependency>
179 <groupId>commons-io</groupId>
180 <artifactId>commons-io</artifactId>
181 <version>1.4</version>
182 <scope>provided</scope>
Felix Meschberger6c39c6c2008-05-21 21:25:49 +0000183 <optional>true</optional>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000184 </dependency>
185
186 <dependency>
Carsten Ziegeler975b2e22009-12-15 15:57:11 +0000187 <groupId>org.osgi</groupId>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000188 <artifactId>org.osgi.core</artifactId>
Carsten Ziegeler975b2e22009-12-15 15:57:11 +0000189 <version>4.1.0</version>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000190 <scope>provided</scope>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000191 </dependency>
192 <dependency>
Carsten Ziegeler975b2e22009-12-15 15:57:11 +0000193 <groupId>org.osgi</groupId>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000194 <artifactId>org.osgi.compendium</artifactId>
Carsten Ziegeler975b2e22009-12-15 15:57:11 +0000195 <version>4.1.0</version>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000196 <scope>provided</scope>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000197 </dependency>
198
199 <dependency>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000200 <groupId>org.json</groupId>
201 <artifactId>json</artifactId>
202 <version>20070829</version>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000203 <scope>compile</scope>
Felix Meschberger6c39c6c2008-05-21 21:25:49 +0000204 <optional>true</optional>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000205 </dependency>
206
207 <dependency>
208 <groupId>org.apache.felix</groupId>
209 <artifactId>org.apache.felix.scr</artifactId>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000210 <version>1.0.0</version>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000211 <scope>provided</scope>
212 </dependency>
213
Felix Meschberger18330ac2009-06-29 10:21:00 +0000214 <!-- OBR Service API -->
215 <dependency>
216 <groupId>org.apache.felix</groupId>
217 <artifactId>org.osgi.service.obr</artifactId>
218 <version>1.0.2</version>
219 <scope>provided</scope>
220 </dependency>
221
222 <!-- Parsing Import/Export-Package headers -->
Felix Meschbergerca29a962008-05-16 11:59:32 +0000223 <dependency>
224 <groupId>org.apache.felix</groupId>
225 <artifactId>org.apache.felix.bundlerepository</artifactId>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000226 <version>1.0.3</version>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000227 <scope>compile</scope>
Felix Meschberger6c39c6c2008-05-21 21:25:49 +0000228 <optional>true</optional>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000229 </dependency>
230
231 </dependencies>
Felix Meschberger51a72802008-08-27 19:52:34 +0000232</project>