blob: 66c3e47ac5c666c1c44d3b39df9d1cb72c5b3abb [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>
Felix Meschberger3eaa6432010-01-18 08:22:07 +000031 <version>2.0.7-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>
Felix Meschberger3eaa6432010-01-18 08:22:07 +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>
Carsten Ziegeler9da0f182010-02-05 16:05:32 +000068 org.apache.felix.webconsole;version=3.0.0
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,
Felix Meschberger6dcc01e2010-01-17 17:40:57 +000080 javax.servlet.*;version=2.4,
81 *
Felix Meschbergerca29a962008-05-16 11:59:32 +000082 </Import-Package>
Felix Meschberger9b3c4e02008-06-02 13:52:15 +000083 <Embed-Dependency>
Felix Meschberger18330ac2009-06-29 10:21:00 +000084 <!-- Import/Export-Package parsing -->
Felix Meschbergerfa8bebf2009-09-08 08:11:56 +000085 org.apache.felix.bundlerepository;
86 inline=org/apache/felix/bundlerepository/R4*.class|
87 org/apache/felix/bundlerepository/Util.class|
88 org/apache/felix/bundlerepository/VersionRange.class,
Felix Meschberger9b3c4e02008-06-02 13:52:15 +000089
Felix Meschberger3a0aac42009-09-23 05:58:18 +000090 <!-- ServiceTracker -->
91 org.osgi.compendium;
92 inline=org/osgi/util/tracker/*,
93
Felix Meschberger9b3c4e02008-06-02 13:52:15 +000094 <!-- Required for JSON data transfer -->
Carsten Ziegeler32196dc2009-02-05 18:35:13 +000095 json,
96
97 <!-- File Upload functionality -->
98 commons-fileupload,
Felix Meschbergerc17f2d12010-01-12 08:09:52 +000099
Carsten Ziegeler32196dc2009-02-05 18:35:13 +0000100 <!-- Required by FileUpload and Util -->
101 commons-io
Felix Meschberger9b3c4e02008-06-02 13:52:15 +0000102 </Embed-Dependency>
Felix Meschbergerc17f2d12010-01-12 08:09:52 +0000103
104 <_donotcopy>NOTICE.bare</_donotcopy>
105 <_removeheaders>
106 Embed-Dependency,Private-Package,Include-Resource
107 </_removeheaders>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000108 </instructions>
109 </configuration>
110 </plugin>
111 </plugins>
112 </build>
113
Felix Meschbergerc17f2d12010-01-12 08:09:52 +0000114 <profiles>
115 <!--
116 The "bare-bundle" profile builds a bundle not including certain
117 3rd party libraries and classes, namely: Commons IO, Commons
118 FileUpload, JSON, and the OSGi ServiceTracker. These are imported
119 by this bundle. The classes from the bundlerepository bundle are
120 still included because they are not exported from the
121 bundlerepository bundle and thus cannot be imported.
122 The "bare-bundle" can be used if the non-embedded libraries are
123 provided by the framework in which the web console is installed.
124 -->
125 <profile>
126 <id>bare-bundle</id>
127 <activation><activeByDefault>true</activeByDefault></activation>
128 <build>
129 <plugins>
130 <plugin>
131 <groupId>org.apache.felix</groupId>
132 <artifactId>maven-bundle-plugin</artifactId>
133 <executions>
134 <execution>
135 <id>bare-bundle</id>
136 <goals>
137 <goal>bundle</goal>
138 </goals>
139 <configuration>
140 <classifier>bare</classifier>
141 <instructions>
Felix Meschbergere1833c22010-02-17 11:56:17 +0000142 <Bundle-SymbolicName>
143 ${artifactId}.bare
144 </Bundle-SymbolicName>
Felix Meschbergerc17f2d12010-01-12 08:09:52 +0000145 <Include-Resource>
Felix Meschberger13360452010-01-12 08:15:06 +0000146 {maven-resources},META-INF/NOTICE=src/main/bare-resources/NOTICE
Felix Meschbergerc17f2d12010-01-12 08:09:52 +0000147 </Include-Resource>
148 <_donotcopy>LICENSE.json</_donotcopy>
149 <!-- <_donotcopy>(LICENSE.json|NOTICE.bare)</_donotcopy> -->
150 <Embed-Dependency>
151 org.apache.felix.bundlerepository;
152 inline=org/apache/felix/bundlerepository/R4*.class|
153 org/apache/felix/bundlerepository/Util.class|
Felix Meschberger6dcc01e2010-01-17 17:40:57 +0000154 org/apache/felix/bundlerepository/VersionRange.class
Felix Meschbergerc17f2d12010-01-12 08:09:52 +0000155 </Embed-Dependency>
156 </instructions>
157 </configuration>
158 </execution>
159 </executions>
160 </plugin>
161 </plugins>
162 </build>
163 </profile>
164 </profiles>
165
Felix Meschbergerca29a962008-05-16 11:59:32 +0000166 <dependencies>
167 <dependency>
168 <groupId>javax.servlet</groupId>
169 <artifactId>servlet-api</artifactId>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000170 <version>2.4</version>
171 <scope>provided</scope>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000172 </dependency>
173
Felix Meschbergerca29a962008-05-16 11:59:32 +0000174 <dependency>
175 <groupId>commons-fileupload</groupId>
176 <artifactId>commons-fileupload</artifactId>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000177 <version>1.1.1</version>
Carsten Ziegeler32196dc2009-02-05 18:35:13 +0000178 <scope>provided</scope>
179 <optional>true</optional>
180 </dependency>
181
182 <dependency>
183 <groupId>commons-io</groupId>
184 <artifactId>commons-io</artifactId>
185 <version>1.4</version>
186 <scope>provided</scope>
Felix Meschberger6c39c6c2008-05-21 21:25:49 +0000187 <optional>true</optional>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000188 </dependency>
189
190 <dependency>
Carsten Ziegeler975b2e22009-12-15 15:57:11 +0000191 <groupId>org.osgi</groupId>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000192 <artifactId>org.osgi.core</artifactId>
Carsten Ziegeler975b2e22009-12-15 15:57:11 +0000193 <version>4.1.0</version>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000194 <scope>provided</scope>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000195 </dependency>
196 <dependency>
Carsten Ziegeler975b2e22009-12-15 15:57:11 +0000197 <groupId>org.osgi</groupId>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000198 <artifactId>org.osgi.compendium</artifactId>
Carsten Ziegeler975b2e22009-12-15 15:57:11 +0000199 <version>4.1.0</version>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000200 <scope>provided</scope>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000201 </dependency>
202
203 <dependency>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000204 <groupId>org.json</groupId>
205 <artifactId>json</artifactId>
206 <version>20070829</version>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000207 <scope>compile</scope>
Felix Meschberger6c39c6c2008-05-21 21:25:49 +0000208 <optional>true</optional>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000209 </dependency>
210
211 <dependency>
212 <groupId>org.apache.felix</groupId>
213 <artifactId>org.apache.felix.scr</artifactId>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000214 <version>1.0.0</version>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000215 <scope>provided</scope>
216 </dependency>
217
Felix Meschberger18330ac2009-06-29 10:21:00 +0000218 <!-- OBR Service API -->
219 <dependency>
220 <groupId>org.apache.felix</groupId>
221 <artifactId>org.osgi.service.obr</artifactId>
222 <version>1.0.2</version>
223 <scope>provided</scope>
224 </dependency>
225
226 <!-- Parsing Import/Export-Package headers -->
Felix Meschbergerca29a962008-05-16 11:59:32 +0000227 <dependency>
228 <groupId>org.apache.felix</groupId>
229 <artifactId>org.apache.felix.bundlerepository</artifactId>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000230 <version>1.0.3</version>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000231 <scope>compile</scope>
Felix Meschberger6c39c6c2008-05-21 21:25:49 +0000232 <optional>true</optional>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000233 </dependency>
234
235 </dependencies>
Felix Meschberger51a72802008-08-27 19:52:34 +0000236</project>