blob: a365388dc966e7049efea45b0aa85d357769d0d8 [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>
48 <plugin>
49 <groupId>org.apache.felix</groupId>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000050 <artifactId>maven-bundle-plugin</artifactId>
Carsten Ziegeler6d6ac242008-08-20 12:54:13 +000051 <version>1.4.3</version>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000052 <extensions>true</extensions>
53 <configuration>
54 <instructions>
Carsten Ziegeler540e3bc2008-05-16 14:44:08 +000055 <Bundle-SymbolicName>
56 ${artifactId}
57 </Bundle-SymbolicName>
Felix Meschberger4c664132008-06-02 13:52:15 +000058 <Bundle-Vendor>
59 The Apache Software Foundation
60 </Bundle-Vendor>
61 <Bundle-DocURL>
Felix Meschbergera6cdce22008-12-22 11:39:17 +000062 http://felix.apache.org/site/apache-felix-web-console.html
Felix Meschberger4c664132008-06-02 13:52:15 +000063 </Bundle-DocURL>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000064 <Bundle-Activator>
Felix Meschbergere024f262008-05-16 13:14:45 +000065 org.apache.felix.webconsole.internal.OsgiManagerActivator
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000066 </Bundle-Activator>
67 <Export-Package>
Felix Meschbergerb16615b2009-06-29 10:21:00 +000068 org.apache.felix.webconsole;version=${project.version}
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000069 </Export-Package>
70 <Private-Package>
Felix Meschbergere024f262008-05-16 13:14:45 +000071 !org.apache.felix.webconsole,
72 org.apache.felix.webconsole.*,
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000073 </Private-Package>
74 <Import-Package>
Felix Meschberger27919e72009-06-09 10:09:40 +000075 org.osgi.service.http,
Felix Meschberger4c664132008-06-02 13:52:15 +000076 org.apache.felix.scr;
77 org.apache.felix.shell;
Carsten Ziegeler38383ad2009-02-06 14:53:56 +000078 org.osgi.service.*;resolution:=optional,
Felix Meschberger96b92e92009-05-15 11:43:45 +000079 javax.portlet;resolution:=optional,
Felix Meschberger5fc70792010-01-17 17:40:57 +000080 javax.servlet.*;version=2.4,
81 *
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000082 </Import-Package>
Felix Meschberger4c664132008-06-02 13:52:15 +000083 <Embed-Dependency>
Felix Meschbergerb16615b2009-06-29 10:21:00 +000084 <!-- Import/Export-Package parsing -->
Felix Meschberger97840a82009-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 Meschberger4c664132008-06-02 13:52:15 +000089
Felix Meschberger9364e1f2009-09-23 05:58:18 +000090 <!-- ServiceTracker -->
91 org.osgi.compendium;
92 inline=org/osgi/util/tracker/*,
93
Felix Meschberger4c664132008-06-02 13:52:15 +000094 <!-- Required for JSON data transfer -->
Carsten Ziegelerbc118d92009-02-05 18:35:13 +000095 json,
96
97 <!-- File Upload functionality -->
98 commons-fileupload,
Felix Meschberger90777f42010-01-12 08:09:52 +000099
Carsten Ziegelerbc118d92009-02-05 18:35:13 +0000100 <!-- Required by FileUpload and Util -->
101 commons-io
Felix Meschberger4c664132008-06-02 13:52:15 +0000102 </Embed-Dependency>
Felix Meschberger90777f42010-01-12 08:09:52 +0000103
104 <_donotcopy>NOTICE.bare</_donotcopy>
105 <_removeheaders>
106 Embed-Dependency,Private-Package,Include-Resource
107 </_removeheaders>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000108 </instructions>
109 </configuration>
110 </plugin>
111 </plugins>
112 </build>
113
Felix Meschberger90777f42010-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 Meschberger02fe0562010-01-12 08:15:06 +0000143 {maven-resources},META-INF/NOTICE=src/main/bare-resources/NOTICE
Felix Meschberger90777f42010-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 Meschberger5fc70792010-01-17 17:40:57 +0000151 org/apache/felix/bundlerepository/VersionRange.class
Felix Meschberger90777f42010-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 Meschbergerbb30b0c2008-05-16 11:59:32 +0000163 <dependencies>
164 <dependency>
165 <groupId>javax.servlet</groupId>
166 <artifactId>servlet-api</artifactId>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000167 <version>2.4</version>
168 <scope>provided</scope>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000169 </dependency>
170
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000171 <dependency>
172 <groupId>commons-fileupload</groupId>
173 <artifactId>commons-fileupload</artifactId>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000174 <version>1.1.1</version>
Carsten Ziegelerbc118d92009-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 Meschbergeref9ec942008-05-21 21:25:49 +0000184 <optional>true</optional>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000185 </dependency>
186
187 <dependency>
Carsten Ziegelerc53e35a2009-12-15 15:57:11 +0000188 <groupId>org.osgi</groupId>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000189 <artifactId>org.osgi.core</artifactId>
Carsten Ziegelerc53e35a2009-12-15 15:57:11 +0000190 <version>4.1.0</version>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000191 <scope>provided</scope>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000192 </dependency>
193 <dependency>
Carsten Ziegelerc53e35a2009-12-15 15:57:11 +0000194 <groupId>org.osgi</groupId>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000195 <artifactId>org.osgi.compendium</artifactId>
Carsten Ziegelerc53e35a2009-12-15 15:57:11 +0000196 <version>4.1.0</version>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000197 <scope>provided</scope>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000198 </dependency>
199
200 <dependency>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000201 <groupId>org.json</groupId>
202 <artifactId>json</artifactId>
203 <version>20070829</version>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000204 <scope>compile</scope>
Felix Meschbergeref9ec942008-05-21 21:25:49 +0000205 <optional>true</optional>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000206 </dependency>
207
208 <dependency>
209 <groupId>org.apache.felix</groupId>
210 <artifactId>org.apache.felix.scr</artifactId>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000211 <version>1.0.0</version>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000212 <scope>provided</scope>
213 </dependency>
214
Felix Meschbergerb16615b2009-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 Meschbergerbb30b0c2008-05-16 11:59:32 +0000224 <dependency>
225 <groupId>org.apache.felix</groupId>
226 <artifactId>org.apache.felix.bundlerepository</artifactId>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000227 <version>1.0.3</version>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000228 <scope>compile</scope>
Felix Meschbergeref9ec942008-05-21 21:25:49 +0000229 <optional>true</optional>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000230 </dependency>
231
232 </dependencies>
Felix Meschberger714d78f2008-08-27 19:52:34 +0000233</project>