blob: a365388dc966e7049efea45b0aa85d357769d0d8 [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>
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,
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>
142 <Include-Resource>
Felix Meschberger13360452010-01-12 08:15:06 +0000143 {maven-resources},META-INF/NOTICE=src/main/bare-resources/NOTICE
Felix Meschbergerc17f2d12010-01-12 08:09:52 +0000144 </Include-Resource>
145 <_donotcopy>LICENSE.json</_donotcopy>
146 <!-- <_donotcopy>(LICENSE.json|NOTICE.bare)</_donotcopy> -->
147 <Embed-Dependency>
148 org.apache.felix.bundlerepository;
149 inline=org/apache/felix/bundlerepository/R4*.class|
150 org/apache/felix/bundlerepository/Util.class|
Felix Meschberger6dcc01e2010-01-17 17:40:57 +0000151 org/apache/felix/bundlerepository/VersionRange.class
Felix Meschbergerc17f2d12010-01-12 08:09:52 +0000152 </Embed-Dependency>
153 </instructions>
154 </configuration>
155 </execution>
156 </executions>
157 </plugin>
158 </plugins>
159 </build>
160 </profile>
161 </profiles>
162
Felix Meschbergerca29a962008-05-16 11:59:32 +0000163 <dependencies>
164 <dependency>
165 <groupId>javax.servlet</groupId>
166 <artifactId>servlet-api</artifactId>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000167 <version>2.4</version>
168 <scope>provided</scope>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000169 </dependency>
170
Felix Meschbergerca29a962008-05-16 11:59:32 +0000171 <dependency>
172 <groupId>commons-fileupload</groupId>
173 <artifactId>commons-fileupload</artifactId>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000174 <version>1.1.1</version>
Carsten Ziegeler32196dc2009-02-05 18:35:13 +0000175 <scope>provided</scope>
176 <optional>true</optional>
177 </dependency>
178
179 <dependency>
180 <groupId>commons-io</groupId>
181 <artifactId>commons-io</artifactId>
182 <version>1.4</version>
183 <scope>provided</scope>
Felix Meschberger6c39c6c2008-05-21 21:25:49 +0000184 <optional>true</optional>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000185 </dependency>
186
187 <dependency>
Carsten Ziegeler975b2e22009-12-15 15:57:11 +0000188 <groupId>org.osgi</groupId>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000189 <artifactId>org.osgi.core</artifactId>
Carsten Ziegeler975b2e22009-12-15 15:57:11 +0000190 <version>4.1.0</version>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000191 <scope>provided</scope>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000192 </dependency>
193 <dependency>
Carsten Ziegeler975b2e22009-12-15 15:57:11 +0000194 <groupId>org.osgi</groupId>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000195 <artifactId>org.osgi.compendium</artifactId>
Carsten Ziegeler975b2e22009-12-15 15:57:11 +0000196 <version>4.1.0</version>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000197 <scope>provided</scope>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000198 </dependency>
199
200 <dependency>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000201 <groupId>org.json</groupId>
202 <artifactId>json</artifactId>
203 <version>20070829</version>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000204 <scope>compile</scope>
Felix Meschberger6c39c6c2008-05-21 21:25:49 +0000205 <optional>true</optional>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000206 </dependency>
207
208 <dependency>
209 <groupId>org.apache.felix</groupId>
210 <artifactId>org.apache.felix.scr</artifactId>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000211 <version>1.0.0</version>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000212 <scope>provided</scope>
213 </dependency>
214
Felix Meschberger18330ac2009-06-29 10:21:00 +0000215 <!-- OBR Service API -->
216 <dependency>
217 <groupId>org.apache.felix</groupId>
218 <artifactId>org.osgi.service.obr</artifactId>
219 <version>1.0.2</version>
220 <scope>provided</scope>
221 </dependency>
222
223 <!-- Parsing Import/Export-Package headers -->
Felix Meschbergerca29a962008-05-16 11:59:32 +0000224 <dependency>
225 <groupId>org.apache.felix</groupId>
226 <artifactId>org.apache.felix.bundlerepository</artifactId>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000227 <version>1.0.3</version>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000228 <scope>compile</scope>
Felix Meschberger6c39c6c2008-05-21 21:25:49 +0000229 <optional>true</optional>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000230 </dependency>
231
232 </dependencies>
Felix Meschberger51a72802008-08-27 19:52:34 +0000233</project>