blob: 187a99cc93ba792c20415c25729de48c7be33d21 [file] [log] [blame]
Felix Meschberger1f58a182008-05-20 18:28:18 +00001<!--
Felix Meschberger4c664132008-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 Meschberger1f58a182008-05-20 18:28:18 +000010 http://www.apache.org/licenses/LICENSE-2.0
Felix Meschberger4c664132008-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 Meschberger1f58a182008-05-20 18:28:18 +000018-->
Felix Meschbergerf73d2132008-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 Meschbergerbb30b0c2008-05-16 11:59:32 +000020
21 <modelVersion>4.0.0</modelVersion>
22 <parent>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +000023 <groupId>org.apache.felix</groupId>
Felix Meschbergereea99512009-05-11 14:25:53 +000024 <artifactId>felix-parent</artifactId>
25 <version>1.2.0</version>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +000026 <relativePath>../pom/pom.xml</relativePath>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000027 </parent>
28
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +000029 <artifactId>org.apache.felix.webconsole</artifactId>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000030 <packaging>bundle</packaging>
Felix Meschbergera54c6582010-03-26 12:43:01 +000031 <version>3.0.1-SNAPSHOT</version>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000032
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +000033 <name>Apache Felix Web Management Console</name>
34 <description>
Felix Meschberger584090b2008-08-27 06:46:31 +000035 Web Based Management Console for OSGi Frameworks. See
Felix Meschberger0b0dc8c2009-10-01 14:27:10 +000036 http://felix.apache.org/site/apache-felix-web-console.html for more
Felix Meschberger584090b2008-08-27 06:46:31 +000037 information on this bundle.
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +000038 </description>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000039
40 <scm>
Felix Meschbergera54c6582010-03-26 12:43:01 +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 Meschbergerbb30b0c2008-05-16 11:59:32 +000044 </scm>
45
46 <build>
Felix Meschbergeraec198b2010-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 Meschbergerbb30b0c2008-05-16 11:59:32 +000065 <plugins>
Felix Meschbergered15be52010-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 Meschbergerbb30b0c2008-05-16 11:59:32 +000083 <plugin>
84 <groupId>org.apache.felix</groupId>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000085 <artifactId>maven-bundle-plugin</artifactId>
Carsten Ziegeler6d6ac242008-08-20 12:54:13 +000086 <version>1.4.3</version>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000087 <extensions>true</extensions>
88 <configuration>
89 <instructions>
Carsten Ziegeler540e3bc2008-05-16 14:44:08 +000090 <Bundle-SymbolicName>
91 ${artifactId}
92 </Bundle-SymbolicName>
Felix Meschberger4c664132008-06-02 13:52:15 +000093 <Bundle-Vendor>
94 The Apache Software Foundation
95 </Bundle-Vendor>
96 <Bundle-DocURL>
Felix Meschbergera6cdce22008-12-22 11:39:17 +000097 http://felix.apache.org/site/apache-felix-web-console.html
Felix Meschberger4c664132008-06-02 13:52:15 +000098 </Bundle-DocURL>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000099 <Bundle-Activator>
Felix Meschbergere024f262008-05-16 13:14:45 +0000100 org.apache.felix.webconsole.internal.OsgiManagerActivator
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000101 </Bundle-Activator>
102 <Export-Package>
Carsten Ziegelerf8e97ca2010-02-05 16:05:32 +0000103 org.apache.felix.webconsole;version=3.0.0
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000104 </Export-Package>
105 <Private-Package>
Felix Meschbergere024f262008-05-16 13:14:45 +0000106 !org.apache.felix.webconsole,
107 org.apache.felix.webconsole.*,
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000108 </Private-Package>
109 <Import-Package>
Felix Meschberger27919e72009-06-09 10:09:40 +0000110 org.osgi.service.http,
Felix Meschberger4c664132008-06-02 13:52:15 +0000111 org.apache.felix.scr;
112 org.apache.felix.shell;
Carsten Ziegeler38383ad2009-02-06 14:53:56 +0000113 org.osgi.service.*;resolution:=optional,
Felix Meschberger96b92e92009-05-15 11:43:45 +0000114 javax.portlet;resolution:=optional,
Felix Meschberger5fc70792010-01-17 17:40:57 +0000115 javax.servlet.*;version=2.4,
116 *
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000117 </Import-Package>
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000118 <DynamicImport-Package>
119 org.apache.felix.bundlerepository,
120 org.osgi.service.obr
121 </DynamicImport-Package>
Felix Meschberger4c664132008-06-02 13:52:15 +0000122 <Embed-Dependency>
Felix Meschbergerb16615b2009-06-29 10:21:00 +0000123 <!-- Import/Export-Package parsing -->
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000124 org.apache.felix.utils;inline=org/apache/felix/utils/manifest/**,
Felix Meschberger4c664132008-06-02 13:52:15 +0000125
Felix Meschberger9364e1f2009-09-23 05:58:18 +0000126 <!-- ServiceTracker -->
127 org.osgi.compendium;
128 inline=org/osgi/util/tracker/*,
129
Felix Meschberger4c664132008-06-02 13:52:15 +0000130 <!-- Required for JSON data transfer -->
Carsten Ziegelerbc118d92009-02-05 18:35:13 +0000131 json,
132
133 <!-- File Upload functionality -->
134 commons-fileupload,
Felix Meschberger90777f42010-01-12 08:09:52 +0000135
Carsten Ziegelerbc118d92009-02-05 18:35:13 +0000136 <!-- Required by FileUpload and Util -->
137 commons-io
Felix Meschberger4c664132008-06-02 13:52:15 +0000138 </Embed-Dependency>
Felix Meschberger90777f42010-01-12 08:09:52 +0000139
140 <_donotcopy>NOTICE.bare</_donotcopy>
141 <_removeheaders>
142 Embed-Dependency,Private-Package,Include-Resource
143 </_removeheaders>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000144 </instructions>
145 </configuration>
146 </plugin>
147 </plugins>
148 </build>
149
Felix Meschberger90777f42010-01-12 08:09:52 +0000150 <profiles>
151 <!--
152 The "bare-bundle" profile builds a bundle not including certain
153 3rd party libraries and classes, namely: Commons IO, Commons
154 FileUpload, JSON, and the OSGi ServiceTracker. These are imported
155 by this bundle. The classes from the bundlerepository bundle are
156 still included because they are not exported from the
157 bundlerepository bundle and thus cannot be imported.
158 The "bare-bundle" can be used if the non-embedded libraries are
159 provided by the framework in which the web console is installed.
160 -->
161 <profile>
162 <id>bare-bundle</id>
163 <activation><activeByDefault>true</activeByDefault></activation>
164 <build>
165 <plugins>
166 <plugin>
167 <groupId>org.apache.felix</groupId>
168 <artifactId>maven-bundle-plugin</artifactId>
169 <executions>
170 <execution>
171 <id>bare-bundle</id>
172 <goals>
173 <goal>bundle</goal>
174 </goals>
175 <configuration>
176 <classifier>bare</classifier>
177 <instructions>
Felix Meschberger4e466472010-02-17 11:56:17 +0000178 <Bundle-SymbolicName>
179 ${artifactId}.bare
180 </Bundle-SymbolicName>
Felix Meschberger90777f42010-01-12 08:09:52 +0000181 <Include-Resource>
Felix Meschberger02fe0562010-01-12 08:15:06 +0000182 {maven-resources},META-INF/NOTICE=src/main/bare-resources/NOTICE
Felix Meschberger90777f42010-01-12 08:09:52 +0000183 </Include-Resource>
184 <_donotcopy>LICENSE.json</_donotcopy>
185 <!-- <_donotcopy>(LICENSE.json|NOTICE.bare)</_donotcopy> -->
186 <Embed-Dependency>
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000187 org.apache.felix.utils;inline=org/apache/felix/utils/manifest/**
Felix Meschberger90777f42010-01-12 08:09:52 +0000188 </Embed-Dependency>
189 </instructions>
190 </configuration>
191 </execution>
192 </executions>
193 </plugin>
194 </plugins>
195 </build>
196 </profile>
197 </profiles>
198
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000199 <dependencies>
200 <dependency>
201 <groupId>javax.servlet</groupId>
202 <artifactId>servlet-api</artifactId>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000203 <version>2.4</version>
204 <scope>provided</scope>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000205 </dependency>
206
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000207 <dependency>
208 <groupId>commons-fileupload</groupId>
209 <artifactId>commons-fileupload</artifactId>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000210 <version>1.1.1</version>
Carsten Ziegelerbc118d92009-02-05 18:35:13 +0000211 <scope>provided</scope>
212 <optional>true</optional>
213 </dependency>
214
215 <dependency>
216 <groupId>commons-io</groupId>
217 <artifactId>commons-io</artifactId>
218 <version>1.4</version>
219 <scope>provided</scope>
Felix Meschbergeref9ec942008-05-21 21:25:49 +0000220 <optional>true</optional>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000221 </dependency>
222
223 <dependency>
Carsten Ziegelerc53e35a2009-12-15 15:57:11 +0000224 <groupId>org.osgi</groupId>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000225 <artifactId>org.osgi.core</artifactId>
Carsten Ziegelerc53e35a2009-12-15 15:57:11 +0000226 <version>4.1.0</version>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000227 <scope>provided</scope>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000228 </dependency>
229 <dependency>
Carsten Ziegelerc53e35a2009-12-15 15:57:11 +0000230 <groupId>org.osgi</groupId>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000231 <artifactId>org.osgi.compendium</artifactId>
Carsten Ziegelerc53e35a2009-12-15 15:57:11 +0000232 <version>4.1.0</version>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000233 <scope>provided</scope>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000234 </dependency>
235
236 <dependency>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000237 <groupId>org.json</groupId>
238 <artifactId>json</artifactId>
239 <version>20070829</version>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000240 <scope>compile</scope>
Felix Meschbergeref9ec942008-05-21 21:25:49 +0000241 <optional>true</optional>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000242 </dependency>
243
244 <dependency>
245 <groupId>org.apache.felix</groupId>
246 <artifactId>org.apache.felix.scr</artifactId>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000247 <version>1.0.0</version>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000248 <scope>provided</scope>
249 </dependency>
250
Felix Meschbergerb16615b2009-06-29 10:21:00 +0000251 <!-- Parsing Import/Export-Package headers -->
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000252 <dependency>
253 <groupId>org.apache.felix</groupId>
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000254 <artifactId>org.apache.felix.utils</artifactId>
Felix Meschbergerd7a49622010-03-26 12:47:20 +0000255 <version>0.1.0-SNAPSHOT</version>
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000256 <scope>provided</scope>
Felix Meschbergeref9ec942008-05-21 21:25:49 +0000257 <optional>true</optional>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000258 </dependency>
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000259
260 <!-- OSGi and Apache Felix OBR API -->
261 <dependency>
262 <groupId>org.apache.felix</groupId>
263 <artifactId>org.osgi.service.obr</artifactId>
264 <version>1.0.2</version>
265 <scope>provided</scope>
266 </dependency>
267 <dependency>
268 <groupId>org.apache.felix</groupId>
269 <artifactId>org.apache.felix.bundlerepository</artifactId>
Felix Meschbergerd7a49622010-03-26 12:47:20 +0000270 <version>1.5.0-SNAPSHOT</version>
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000271 <scope>provided</scope>
272 <optional>true</optional>
273 </dependency>
274
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000275 </dependencies>
Felix Meschberger714d78f2008-08-27 19:52:34 +0000276</project>