blob: 0c8a2be32dd7bc8a9c0735f063e238267fefaa24 [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>
Felix Meschbergerbbdc6f02011-12-17 12:17:32 +000025 <version>2.1</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>
Guillaume Nodet49016242011-02-01 08:01:11 +000031 <version>3.1.9-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>
Guillaume Nodet49016242011-02-01 08:01:11 +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>
Felix Meschbergerd68c4b42010-08-12 07:40:34 +000056 <include>LICENSE</include>
57 <include>NOTICE</include>
58 <include>DEPENDENCIES</include>
Felix Meschberger967e8bf2010-11-03 22:28:52 +000059 <include>changelog.txt</include>
Felix Meschbergeraec198b2010-03-26 11:38:34 +000060 </includes>
61 </resource>
62 <!-- CSS and images for backwards compatibility -->
63 <resource>
64 <directory>${basedir}/src/main/compat</directory>
65 </resource>
66 </resources>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000067 <plugins>
Felix Meschbergered15be52010-02-22 14:12:43 +000068 <!-- translate UTF-8 encoded properties files to ISO-8859-1 -->
69 <plugin>
70 <groupId>org.codehaus.mojo</groupId>
71 <artifactId>native2ascii-maven-plugin</artifactId>
72 <version>1.0-alpha-1</version>
73 <executions>
74 <execution>
75 <goals>
76 <goal>native2ascii</goal>
77 </goals>
78 <configuration>
79 <encoding>UTF-8</encoding>
80 </configuration>
81 </execution>
82 </executions>
83 </plugin>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000084 <plugin>
85 <groupId>org.apache.felix</groupId>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000086 <artifactId>maven-bundle-plugin</artifactId>
Carsten Ziegeler6d6ac242008-08-20 12:54:13 +000087 <version>1.4.3</version>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000088 <extensions>true</extensions>
89 <configuration>
90 <instructions>
Carsten Ziegeler540e3bc2008-05-16 14:44:08 +000091 <Bundle-SymbolicName>
Felix Meschberger6fbedfa2011-03-24 16:22:32 +000092 ${project.artifactId}
Carsten Ziegeler540e3bc2008-05-16 14:44:08 +000093 </Bundle-SymbolicName>
Felix Meschberger4c664132008-06-02 13:52:15 +000094 <Bundle-Vendor>
95 The Apache Software Foundation
96 </Bundle-Vendor>
97 <Bundle-DocURL>
Felix Meschbergera6cdce22008-12-22 11:39:17 +000098 http://felix.apache.org/site/apache-felix-web-console.html
Felix Meschberger4c664132008-06-02 13:52:15 +000099 </Bundle-DocURL>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000100 <Bundle-Activator>
Felix Meschbergere024f262008-05-16 13:14:45 +0000101 org.apache.felix.webconsole.internal.OsgiManagerActivator
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000102 </Bundle-Activator>
103 <Export-Package>
Felix Meschberger6090dc42010-10-13 07:40:42 +0000104 org.apache.felix.webconsole;version=3.1.2
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000105 </Export-Package>
106 <Private-Package>
Felix Meschbergere024f262008-05-16 13:14:45 +0000107 !org.apache.felix.webconsole,
108 org.apache.felix.webconsole.*,
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000109 </Private-Package>
110 <Import-Package>
Felix Meschbergercdcc8f02010-08-03 09:45:33 +0000111 org.apache.felix.scr;version=1.0;resolution:=optional,
Felix Meschberger27919e72009-06-09 10:09:40 +0000112 org.osgi.service.http,
Felix Meschberger4c664132008-06-02 13:52:15 +0000113 org.apache.felix.shell;
Carsten Ziegeler38383ad2009-02-06 14:53:56 +0000114 org.osgi.service.*;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 Meschbergerc37926b2011-12-17 11:16:13 +0000122 <Include-Resource>
123 {maven-resources},META-INF=src/main/bare-resources
124 </Include-Resource>
Felix Meschberger4c664132008-06-02 13:52:15 +0000125 <Embed-Dependency>
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000126 org.apache.felix.utils;inline=org/apache/felix/utils/manifest/**,
Felix Meschbergerc37926b2011-12-17 11:16:13 +0000127 org.apache.felix.framework;inline=org/apache/felix/framework/util/VersionRange**
Felix Meschberger4c664132008-06-02 13:52:15 +0000128 </Embed-Dependency>
Felix Meschberger90777f42010-01-12 08:09:52 +0000129 <_removeheaders>
130 Embed-Dependency,Private-Package,Include-Resource
131 </_removeheaders>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000132 </instructions>
133 </configuration>
134 </plugin>
Felix Meschbergerbbdc6f02011-12-17 12:17:32 +0000135 <plugin>
136 <artifactId>maven-javadoc-plugin</artifactId>
137 <configuration>
138 <excludePackageNames>
139 *.internal
140 </excludePackageNames>
141 </configuration>
142 </plugin>
143 <plugin>
144 <groupId>org.apache.rat</groupId>
145 <artifactId>apache-rat-plugin</artifactId>
146 <configuration>
147 <includes>
148 <include>src/**</include>
149 </includes>
150 <excludes>
151 <exclude>src/main/appended-resources/**</exclude>
152 <exclude>src/main/resources/res/lib/jquery-1.3.2.js</exclude>
153 <exclude>src/main/resources/res/lib/jquery-ui-1.7.2.js</exclude>
154 <exclude>src/main/resources/res/lib/jquery-ui-i18n-1.7.2.js</exclude>
155 <exclude>src/main/resources/res/lib/jquery.cookies-2.2.0.js</exclude>
156 <exclude>src/main/resources/res/lib/jquery.multifile-1.4.6.js</exclude>
157 <exclude>src/main/resources/res/lib/jquery.tablesorter-2.0.3.js</exclude>
158 <exclude>src/main/resources/res/lib/reset-min.css</exclude>
159 <exclude>src/main/resources/res/lib/themes/**</exclude>
160 <exclude>src/main/resources/res/ui/ui.tabs.paging.js</exclude>
161 <exclude>src/main/resources/templates/*.html</exclude>
162 </excludes>
163 </configuration>
164 </plugin>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000165 </plugins>
166 </build>
167
168 <dependencies>
169 <dependency>
170 <groupId>javax.servlet</groupId>
171 <artifactId>servlet-api</artifactId>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000172 <version>2.4</version>
173 <scope>provided</scope>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000174 </dependency>
175
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000176 <dependency>
177 <groupId>commons-fileupload</groupId>
178 <artifactId>commons-fileupload</artifactId>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000179 <version>1.1.1</version>
Carsten Ziegelerbc118d92009-02-05 18:35:13 +0000180 <scope>provided</scope>
181 <optional>true</optional>
182 </dependency>
183
184 <dependency>
185 <groupId>commons-io</groupId>
186 <artifactId>commons-io</artifactId>
187 <version>1.4</version>
188 <scope>provided</scope>
Felix Meschbergeref9ec942008-05-21 21:25:49 +0000189 <optional>true</optional>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000190 </dependency>
191
192 <dependency>
Carsten Ziegelerc53e35a2009-12-15 15:57:11 +0000193 <groupId>org.osgi</groupId>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000194 <artifactId>org.osgi.core</artifactId>
Carsten Ziegelerc53e35a2009-12-15 15:57:11 +0000195 <version>4.1.0</version>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000196 <scope>provided</scope>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000197 </dependency>
198 <dependency>
Carsten Ziegelerc53e35a2009-12-15 15:57:11 +0000199 <groupId>org.osgi</groupId>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000200 <artifactId>org.osgi.compendium</artifactId>
Carsten Ziegelerc53e35a2009-12-15 15:57:11 +0000201 <version>4.1.0</version>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000202 <scope>provided</scope>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000203 </dependency>
204
205 <dependency>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000206 <groupId>org.json</groupId>
207 <artifactId>json</artifactId>
208 <version>20070829</version>
Felix Meschbergercdcc8f02010-08-03 09:45:33 +0000209 <scope>provided</scope>
210 </dependency>
Felix Meschbergercdcc8f02010-08-03 09:45:33 +0000211 <dependency>
212 <groupId>org.apache.felix</groupId>
213 <artifactId>org.apache.felix.shell</artifactId>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000214 <version>1.0.0</version>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000215 <scope>provided</scope>
216 </dependency>
217
Felix Meschbergerccc755f2010-04-03 09:55:38 +0000218 <!--
219 Required for a simple VersionRange class, the class from
220 the utils bundle is overkill and requires JDK 1.4 or better
221 -->
222 <dependency>
223 <groupId>org.apache.felix</groupId>
224 <artifactId>org.apache.felix.framework</artifactId>
225 <version>2.0.2</version>
226 <scope>provided</scope>
227 <optional>true</optional>
228 </dependency>
229
Felix Meschbergerb16615b2009-06-29 10:21:00 +0000230 <!-- Parsing Import/Export-Package headers -->
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000231 <dependency>
232 <groupId>org.apache.felix</groupId>
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000233 <artifactId>org.apache.felix.utils</artifactId>
Felix Meschbergerccc755f2010-04-03 09:55:38 +0000234 <version>1.0.0</version>
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000235 <scope>provided</scope>
Felix Meschbergeref9ec942008-05-21 21:25:49 +0000236 <optional>true</optional>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000237 </dependency>
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000238
239 <!-- OSGi and Apache Felix OBR API -->
240 <dependency>
241 <groupId>org.apache.felix</groupId>
242 <artifactId>org.osgi.service.obr</artifactId>
243 <version>1.0.2</version>
244 <scope>provided</scope>
245 </dependency>
246 <dependency>
247 <groupId>org.apache.felix</groupId>
248 <artifactId>org.apache.felix.bundlerepository</artifactId>
Felix Meschbergerccc755f2010-04-03 09:55:38 +0000249 <version>1.6.0</version>
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000250 <scope>provided</scope>
251 <optional>true</optional>
252 </dependency>
253
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000254 </dependencies>
Felix Meschberger714d78f2008-08-27 19:52:34 +0000255</project>