blob: 64c97d366ace576b330d40afb5fbb48783e47294 [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>
Felix Meschberger17f7f792010-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 Meschbergerca29a962008-05-16 11:59:32 +000065 <plugin>
66 <groupId>org.apache.felix</groupId>
Felix Meschbergerca29a962008-05-16 11:59:32 +000067 <artifactId>maven-bundle-plugin</artifactId>
Carsten Ziegelerd0a6f362008-08-20 12:54:13 +000068 <version>1.4.3</version>
Felix Meschbergerca29a962008-05-16 11:59:32 +000069 <extensions>true</extensions>
70 <configuration>
71 <instructions>
Carsten Ziegeler5e32e602008-05-16 14:44:08 +000072 <Bundle-SymbolicName>
73 ${artifactId}
74 </Bundle-SymbolicName>
Felix Meschberger9b3c4e02008-06-02 13:52:15 +000075 <Bundle-Vendor>
76 The Apache Software Foundation
77 </Bundle-Vendor>
78 <Bundle-DocURL>
Felix Meschbergera26ffb42008-12-22 11:39:17 +000079 http://felix.apache.org/site/apache-felix-web-console.html
Felix Meschberger9b3c4e02008-06-02 13:52:15 +000080 </Bundle-DocURL>
Felix Meschbergerca29a962008-05-16 11:59:32 +000081 <Bundle-Activator>
Felix Meschbergerab3c75c2008-05-16 13:14:45 +000082 org.apache.felix.webconsole.internal.OsgiManagerActivator
Felix Meschbergerca29a962008-05-16 11:59:32 +000083 </Bundle-Activator>
84 <Export-Package>
Carsten Ziegeler9da0f182010-02-05 16:05:32 +000085 org.apache.felix.webconsole;version=3.0.0
Felix Meschbergerca29a962008-05-16 11:59:32 +000086 </Export-Package>
87 <Private-Package>
Felix Meschbergerab3c75c2008-05-16 13:14:45 +000088 !org.apache.felix.webconsole,
89 org.apache.felix.webconsole.*,
Felix Meschbergerca29a962008-05-16 11:59:32 +000090 </Private-Package>
91 <Import-Package>
Felix Meschberger6f21ed42009-06-09 10:09:40 +000092 org.osgi.service.http,
Felix Meschberger9b3c4e02008-06-02 13:52:15 +000093 org.apache.felix.scr;
94 org.apache.felix.shell;
Guillaume Nodet65c01e92010-03-04 20:53:59 +000095 org.apache.felix.bundlerepository;
Carsten Ziegeleraa079482009-02-06 14:53:56 +000096 org.osgi.service.*;resolution:=optional,
Felix Meschberger790de592009-05-15 11:43:45 +000097 javax.portlet;resolution:=optional,
Felix Meschberger6dcc01e2010-01-17 17:40:57 +000098 javax.servlet.*;version=2.4,
99 *
Felix Meschbergerca29a962008-05-16 11:59:32 +0000100 </Import-Package>
Felix Meschberger9b3c4e02008-06-02 13:52:15 +0000101 <Embed-Dependency>
Felix Meschberger18330ac2009-06-29 10:21:00 +0000102 <!-- Import/Export-Package parsing -->
Felix Meschbergerfa8bebf2009-09-08 08:11:56 +0000103 org.apache.felix.bundlerepository;
Guillaume Nodet65c01e92010-03-04 20:53:59 +0000104 inline=org/apache/felix/bundlerepository/impl/R4*.class|
105 org/apache/felix/bundlerepository/impl/Util.class|
106 org/apache/felix/bundlerepository/impl/VersionRange.class,
Felix Meschberger9b3c4e02008-06-02 13:52:15 +0000107
Felix Meschberger3a0aac42009-09-23 05:58:18 +0000108 <!-- ServiceTracker -->
109 org.osgi.compendium;
110 inline=org/osgi/util/tracker/*,
111
Felix Meschberger9b3c4e02008-06-02 13:52:15 +0000112 <!-- Required for JSON data transfer -->
Carsten Ziegeler32196dc2009-02-05 18:35:13 +0000113 json,
114
115 <!-- File Upload functionality -->
116 commons-fileupload,
Felix Meschbergerc17f2d12010-01-12 08:09:52 +0000117
Carsten Ziegeler32196dc2009-02-05 18:35:13 +0000118 <!-- Required by FileUpload and Util -->
119 commons-io
Felix Meschberger9b3c4e02008-06-02 13:52:15 +0000120 </Embed-Dependency>
Felix Meschbergerc17f2d12010-01-12 08:09:52 +0000121
122 <_donotcopy>NOTICE.bare</_donotcopy>
123 <_removeheaders>
124 Embed-Dependency,Private-Package,Include-Resource
125 </_removeheaders>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000126 </instructions>
127 </configuration>
128 </plugin>
129 </plugins>
130 </build>
131
Felix Meschbergerc17f2d12010-01-12 08:09:52 +0000132 <profiles>
133 <!--
134 The "bare-bundle" profile builds a bundle not including certain
135 3rd party libraries and classes, namely: Commons IO, Commons
136 FileUpload, JSON, and the OSGi ServiceTracker. These are imported
137 by this bundle. The classes from the bundlerepository bundle are
138 still included because they are not exported from the
139 bundlerepository bundle and thus cannot be imported.
140 The "bare-bundle" can be used if the non-embedded libraries are
141 provided by the framework in which the web console is installed.
142 -->
143 <profile>
144 <id>bare-bundle</id>
145 <activation><activeByDefault>true</activeByDefault></activation>
146 <build>
147 <plugins>
148 <plugin>
149 <groupId>org.apache.felix</groupId>
150 <artifactId>maven-bundle-plugin</artifactId>
151 <executions>
152 <execution>
153 <id>bare-bundle</id>
154 <goals>
155 <goal>bundle</goal>
156 </goals>
157 <configuration>
158 <classifier>bare</classifier>
159 <instructions>
Felix Meschbergere1833c22010-02-17 11:56:17 +0000160 <Bundle-SymbolicName>
161 ${artifactId}.bare
162 </Bundle-SymbolicName>
Felix Meschbergerc17f2d12010-01-12 08:09:52 +0000163 <Include-Resource>
Felix Meschberger13360452010-01-12 08:15:06 +0000164 {maven-resources},META-INF/NOTICE=src/main/bare-resources/NOTICE
Felix Meschbergerc17f2d12010-01-12 08:09:52 +0000165 </Include-Resource>
166 <_donotcopy>LICENSE.json</_donotcopy>
167 <!-- <_donotcopy>(LICENSE.json|NOTICE.bare)</_donotcopy> -->
168 <Embed-Dependency>
169 org.apache.felix.bundlerepository;
Guillaume Nodet65c01e92010-03-04 20:53:59 +0000170 inline=org/apache/felix/bundlerepository/impl/R4*.class|
171 org/apache/felix/bundlerepository/impl/Util.class|
172 org/apache/felix/bundlerepository/impl/VersionRange.class
Felix Meschbergerc17f2d12010-01-12 08:09:52 +0000173 </Embed-Dependency>
174 </instructions>
175 </configuration>
176 </execution>
177 </executions>
178 </plugin>
179 </plugins>
180 </build>
181 </profile>
182 </profiles>
183
Felix Meschbergerca29a962008-05-16 11:59:32 +0000184 <dependencies>
185 <dependency>
186 <groupId>javax.servlet</groupId>
187 <artifactId>servlet-api</artifactId>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000188 <version>2.4</version>
189 <scope>provided</scope>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000190 </dependency>
191
Felix Meschbergerca29a962008-05-16 11:59:32 +0000192 <dependency>
193 <groupId>commons-fileupload</groupId>
194 <artifactId>commons-fileupload</artifactId>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000195 <version>1.1.1</version>
Carsten Ziegeler32196dc2009-02-05 18:35:13 +0000196 <scope>provided</scope>
197 <optional>true</optional>
198 </dependency>
199
200 <dependency>
201 <groupId>commons-io</groupId>
202 <artifactId>commons-io</artifactId>
203 <version>1.4</version>
204 <scope>provided</scope>
Felix Meschberger6c39c6c2008-05-21 21:25:49 +0000205 <optional>true</optional>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000206 </dependency>
207
208 <dependency>
Carsten Ziegeler975b2e22009-12-15 15:57:11 +0000209 <groupId>org.osgi</groupId>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000210 <artifactId>org.osgi.core</artifactId>
Carsten Ziegeler975b2e22009-12-15 15:57:11 +0000211 <version>4.1.0</version>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000212 <scope>provided</scope>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000213 </dependency>
214 <dependency>
Carsten Ziegeler975b2e22009-12-15 15:57:11 +0000215 <groupId>org.osgi</groupId>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000216 <artifactId>org.osgi.compendium</artifactId>
Carsten Ziegeler975b2e22009-12-15 15:57:11 +0000217 <version>4.1.0</version>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000218 <scope>provided</scope>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000219 </dependency>
220
221 <dependency>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000222 <groupId>org.json</groupId>
223 <artifactId>json</artifactId>
224 <version>20070829</version>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000225 <scope>compile</scope>
Felix Meschberger6c39c6c2008-05-21 21:25:49 +0000226 <optional>true</optional>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000227 </dependency>
228
229 <dependency>
230 <groupId>org.apache.felix</groupId>
231 <artifactId>org.apache.felix.scr</artifactId>
Felix Meschbergere60e0722008-05-16 13:09:35 +0000232 <version>1.0.0</version>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000233 <scope>provided</scope>
234 </dependency>
235
Felix Meschberger18330ac2009-06-29 10:21:00 +0000236 <!-- Parsing Import/Export-Package headers -->
Felix Meschbergerca29a962008-05-16 11:59:32 +0000237 <dependency>
238 <groupId>org.apache.felix</groupId>
239 <artifactId>org.apache.felix.bundlerepository</artifactId>
Guillaume Nodet65c01e92010-03-04 20:53:59 +0000240 <version>1.5.0-SNAPSHOT</version>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000241 <scope>compile</scope>
Felix Meschberger6c39c6c2008-05-21 21:25:49 +0000242 <optional>true</optional>
Felix Meschbergerca29a962008-05-16 11:59:32 +0000243 </dependency>
244
245 </dependencies>
Felix Meschberger51a72802008-08-27 19:52:34 +0000246</project>