blob: 9d6d944940d9b5cd1049b1b42bd102659c138134 [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 Meschbergere24b8ae2010-01-18 08:22:07 +000031 <version>2.0.7-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 Meschbergere24b8ae2010-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 Meschbergerbb30b0c2008-05-16 11:59:32 +000044 </scm>
45
46 <build>
47 <plugins>
Felix Meschbergered15be52010-02-22 14:12:43 +000048 <!-- translate UTF-8 encoded properties files to ISO-8859-1 -->
49 <plugin>
50 <groupId>org.codehaus.mojo</groupId>
51 <artifactId>native2ascii-maven-plugin</artifactId>
52 <version>1.0-alpha-1</version>
53 <executions>
54 <execution>
55 <goals>
56 <goal>native2ascii</goal>
57 </goals>
58 <configuration>
59 <encoding>UTF-8</encoding>
60 </configuration>
61 </execution>
62 </executions>
63 </plugin>
64
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000065 <plugin>
66 <groupId>org.apache.felix</groupId>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000067 <artifactId>maven-bundle-plugin</artifactId>
Carsten Ziegeler6d6ac242008-08-20 12:54:13 +000068 <version>1.4.3</version>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000069 <extensions>true</extensions>
70 <configuration>
71 <instructions>
Carsten Ziegeler540e3bc2008-05-16 14:44:08 +000072 <Bundle-SymbolicName>
73 ${artifactId}
74 </Bundle-SymbolicName>
Felix Meschberger4c664132008-06-02 13:52:15 +000075 <Bundle-Vendor>
76 The Apache Software Foundation
77 </Bundle-Vendor>
78 <Bundle-DocURL>
Felix Meschbergera6cdce22008-12-22 11:39:17 +000079 http://felix.apache.org/site/apache-felix-web-console.html
Felix Meschberger4c664132008-06-02 13:52:15 +000080 </Bundle-DocURL>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000081 <Bundle-Activator>
Felix Meschbergere024f262008-05-16 13:14:45 +000082 org.apache.felix.webconsole.internal.OsgiManagerActivator
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000083 </Bundle-Activator>
84 <Export-Package>
Carsten Ziegelerf8e97ca2010-02-05 16:05:32 +000085 org.apache.felix.webconsole;version=3.0.0
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000086 </Export-Package>
87 <Private-Package>
Felix Meschbergere024f262008-05-16 13:14:45 +000088 !org.apache.felix.webconsole,
89 org.apache.felix.webconsole.*,
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000090 </Private-Package>
91 <Import-Package>
Felix Meschberger27919e72009-06-09 10:09:40 +000092 org.osgi.service.http,
Felix Meschberger4c664132008-06-02 13:52:15 +000093 org.apache.felix.scr;
94 org.apache.felix.shell;
Carsten Ziegeler38383ad2009-02-06 14:53:56 +000095 org.osgi.service.*;resolution:=optional,
Felix Meschberger96b92e92009-05-15 11:43:45 +000096 javax.portlet;resolution:=optional,
Felix Meschberger5fc70792010-01-17 17:40:57 +000097 javax.servlet.*;version=2.4,
98 *
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000099 </Import-Package>
Felix Meschberger4c664132008-06-02 13:52:15 +0000100 <Embed-Dependency>
Felix Meschbergerb16615b2009-06-29 10:21:00 +0000101 <!-- Import/Export-Package parsing -->
Felix Meschberger97840a82009-09-08 08:11:56 +0000102 org.apache.felix.bundlerepository;
103 inline=org/apache/felix/bundlerepository/R4*.class|
104 org/apache/felix/bundlerepository/Util.class|
105 org/apache/felix/bundlerepository/VersionRange.class,
Felix Meschberger4c664132008-06-02 13:52:15 +0000106
Felix Meschberger9364e1f2009-09-23 05:58:18 +0000107 <!-- ServiceTracker -->
108 org.osgi.compendium;
109 inline=org/osgi/util/tracker/*,
110
Felix Meschberger4c664132008-06-02 13:52:15 +0000111 <!-- Required for JSON data transfer -->
Carsten Ziegelerbc118d92009-02-05 18:35:13 +0000112 json,
113
114 <!-- File Upload functionality -->
115 commons-fileupload,
Felix Meschberger90777f42010-01-12 08:09:52 +0000116
Carsten Ziegelerbc118d92009-02-05 18:35:13 +0000117 <!-- Required by FileUpload and Util -->
118 commons-io
Felix Meschberger4c664132008-06-02 13:52:15 +0000119 </Embed-Dependency>
Felix Meschberger90777f42010-01-12 08:09:52 +0000120
121 <_donotcopy>NOTICE.bare</_donotcopy>
122 <_removeheaders>
123 Embed-Dependency,Private-Package,Include-Resource
124 </_removeheaders>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000125 </instructions>
126 </configuration>
127 </plugin>
128 </plugins>
129 </build>
130
Felix Meschberger90777f42010-01-12 08:09:52 +0000131 <profiles>
132 <!--
133 The "bare-bundle" profile builds a bundle not including certain
134 3rd party libraries and classes, namely: Commons IO, Commons
135 FileUpload, JSON, and the OSGi ServiceTracker. These are imported
136 by this bundle. The classes from the bundlerepository bundle are
137 still included because they are not exported from the
138 bundlerepository bundle and thus cannot be imported.
139 The "bare-bundle" can be used if the non-embedded libraries are
140 provided by the framework in which the web console is installed.
141 -->
142 <profile>
143 <id>bare-bundle</id>
144 <activation><activeByDefault>true</activeByDefault></activation>
145 <build>
146 <plugins>
147 <plugin>
148 <groupId>org.apache.felix</groupId>
149 <artifactId>maven-bundle-plugin</artifactId>
150 <executions>
151 <execution>
152 <id>bare-bundle</id>
153 <goals>
154 <goal>bundle</goal>
155 </goals>
156 <configuration>
157 <classifier>bare</classifier>
158 <instructions>
Felix Meschberger4e466472010-02-17 11:56:17 +0000159 <Bundle-SymbolicName>
160 ${artifactId}.bare
161 </Bundle-SymbolicName>
Felix Meschberger90777f42010-01-12 08:09:52 +0000162 <Include-Resource>
Felix Meschberger02fe0562010-01-12 08:15:06 +0000163 {maven-resources},META-INF/NOTICE=src/main/bare-resources/NOTICE
Felix Meschberger90777f42010-01-12 08:09:52 +0000164 </Include-Resource>
165 <_donotcopy>LICENSE.json</_donotcopy>
166 <!-- <_donotcopy>(LICENSE.json|NOTICE.bare)</_donotcopy> -->
167 <Embed-Dependency>
168 org.apache.felix.bundlerepository;
169 inline=org/apache/felix/bundlerepository/R4*.class|
170 org/apache/felix/bundlerepository/Util.class|
Felix Meschberger5fc70792010-01-17 17:40:57 +0000171 org/apache/felix/bundlerepository/VersionRange.class
Felix Meschberger90777f42010-01-12 08:09:52 +0000172 </Embed-Dependency>
173 </instructions>
174 </configuration>
175 </execution>
176 </executions>
177 </plugin>
178 </plugins>
179 </build>
180 </profile>
181 </profiles>
182
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000183 <dependencies>
184 <dependency>
185 <groupId>javax.servlet</groupId>
186 <artifactId>servlet-api</artifactId>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000187 <version>2.4</version>
188 <scope>provided</scope>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000189 </dependency>
190
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000191 <dependency>
192 <groupId>commons-fileupload</groupId>
193 <artifactId>commons-fileupload</artifactId>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000194 <version>1.1.1</version>
Carsten Ziegelerbc118d92009-02-05 18:35:13 +0000195 <scope>provided</scope>
196 <optional>true</optional>
197 </dependency>
198
199 <dependency>
200 <groupId>commons-io</groupId>
201 <artifactId>commons-io</artifactId>
202 <version>1.4</version>
203 <scope>provided</scope>
Felix Meschbergeref9ec942008-05-21 21:25:49 +0000204 <optional>true</optional>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000205 </dependency>
206
207 <dependency>
Carsten Ziegelerc53e35a2009-12-15 15:57:11 +0000208 <groupId>org.osgi</groupId>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000209 <artifactId>org.osgi.core</artifactId>
Carsten Ziegelerc53e35a2009-12-15 15:57:11 +0000210 <version>4.1.0</version>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000211 <scope>provided</scope>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000212 </dependency>
213 <dependency>
Carsten Ziegelerc53e35a2009-12-15 15:57:11 +0000214 <groupId>org.osgi</groupId>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000215 <artifactId>org.osgi.compendium</artifactId>
Carsten Ziegelerc53e35a2009-12-15 15:57:11 +0000216 <version>4.1.0</version>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000217 <scope>provided</scope>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000218 </dependency>
219
220 <dependency>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000221 <groupId>org.json</groupId>
222 <artifactId>json</artifactId>
223 <version>20070829</version>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000224 <scope>compile</scope>
Felix Meschbergeref9ec942008-05-21 21:25:49 +0000225 <optional>true</optional>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000226 </dependency>
227
228 <dependency>
229 <groupId>org.apache.felix</groupId>
230 <artifactId>org.apache.felix.scr</artifactId>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000231 <version>1.0.0</version>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000232 <scope>provided</scope>
233 </dependency>
234
Felix Meschbergerb16615b2009-06-29 10:21:00 +0000235 <!-- OBR Service API -->
236 <dependency>
237 <groupId>org.apache.felix</groupId>
238 <artifactId>org.osgi.service.obr</artifactId>
239 <version>1.0.2</version>
240 <scope>provided</scope>
241 </dependency>
242
243 <!-- Parsing Import/Export-Package headers -->
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000244 <dependency>
245 <groupId>org.apache.felix</groupId>
246 <artifactId>org.apache.felix.bundlerepository</artifactId>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000247 <version>1.0.3</version>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000248 <scope>compile</scope>
Felix Meschbergeref9ec942008-05-21 21:25:49 +0000249 <optional>true</optional>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000250 </dependency>
251
252 </dependencies>
Felix Meschberger714d78f2008-08-27 19:52:34 +0000253</project>