blob: 45708faa170ff179f89c41e7443a7e89d13b6f64 [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>
Felix Meschbergerde5fab62011-12-17 13:57:38 +000072 <version>1.0-beta-1</version>
Felix Meschbergered15be52010-02-22 14:12:43 +000073 <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 Meschberger6d3e53f2011-12-17 18:11:16 +000084 <!-- Allow certain Java 5 features, generate Java 1.4 class files -->
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000085 <plugin>
Felix Meschberger7933fca2011-12-17 12:34:04 +000086 <artifactId>maven-compiler-plugin</artifactId>
87 <configuration>
88 <source>5</source>
89 <target>jsr14</target>
90 </configuration>
91 </plugin>
Felix Meschberger6d3e53f2011-12-17 18:11:16 +000092 <!-- Make sure to not use non Java 1.4 API -->
93 <plugin>
94 <groupId>org.codehaus.mojo</groupId>
95 <artifactId>animal-sniffer-maven-plugin</artifactId>
96 <version>1.7</version>
97 <configuration>
98 <signature>
99 <groupId>org.codehaus.mojo.signature</groupId>
100 <artifactId>java14</artifactId>
101 <version>1.0</version>
102 </signature>
103 </configuration>
104 <executions>
105 <execution>
106 <phase>test</phase>
107 <goals>
108 <goal>check</goal>
109 </goals>
110 </execution>
111 </executions>
112 </plugin>
Felix Meschberger7933fca2011-12-17 12:34:04 +0000113 <plugin>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000114 <groupId>org.apache.felix</groupId>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000115 <artifactId>maven-bundle-plugin</artifactId>
Felix Meschberger7933fca2011-12-17 12:34:04 +0000116 <version>2.3.6</version>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000117 <extensions>true</extensions>
118 <configuration>
119 <instructions>
Carsten Ziegeler540e3bc2008-05-16 14:44:08 +0000120 <Bundle-SymbolicName>
Felix Meschberger6fbedfa2011-03-24 16:22:32 +0000121 ${project.artifactId}
Carsten Ziegeler540e3bc2008-05-16 14:44:08 +0000122 </Bundle-SymbolicName>
Felix Meschberger4c664132008-06-02 13:52:15 +0000123 <Bundle-Vendor>
124 The Apache Software Foundation
125 </Bundle-Vendor>
126 <Bundle-DocURL>
Felix Meschbergera6cdce22008-12-22 11:39:17 +0000127 http://felix.apache.org/site/apache-felix-web-console.html
Felix Meschberger4c664132008-06-02 13:52:15 +0000128 </Bundle-DocURL>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000129 <Bundle-Activator>
Felix Meschbergere024f262008-05-16 13:14:45 +0000130 org.apache.felix.webconsole.internal.OsgiManagerActivator
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000131 </Bundle-Activator>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000132 <Import-Package>
Felix Meschberger27919e72009-06-09 10:09:40 +0000133 org.osgi.service.http,
Felix Meschberger4c664132008-06-02 13:52:15 +0000134 org.apache.felix.shell;
Carsten Ziegeler38383ad2009-02-06 14:53:56 +0000135 org.osgi.service.*;resolution:=optional,
Felix Meschberger5fc70792010-01-17 17:40:57 +0000136 javax.servlet.*;version=2.4,
137 *
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000138 </Import-Package>
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000139 <DynamicImport-Package>
140 org.apache.felix.bundlerepository,
141 org.osgi.service.obr
142 </DynamicImport-Package>
Felix Meschbergerc37926b2011-12-17 11:16:13 +0000143 <Include-Resource>
144 {maven-resources},META-INF=src/main/bare-resources
145 </Include-Resource>
Felix Meschberger4c664132008-06-02 13:52:15 +0000146 <Embed-Dependency>
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000147 org.apache.felix.utils;inline=org/apache/felix/utils/manifest/**,
Felix Meschbergerc37926b2011-12-17 11:16:13 +0000148 org.apache.felix.framework;inline=org/apache/felix/framework/util/VersionRange**
Felix Meschberger4c664132008-06-02 13:52:15 +0000149 </Embed-Dependency>
Felix Meschberger90777f42010-01-12 08:09:52 +0000150 <_removeheaders>
151 Embed-Dependency,Private-Package,Include-Resource
152 </_removeheaders>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000153 </instructions>
154 </configuration>
155 </plugin>
Felix Meschbergerbbdc6f02011-12-17 12:17:32 +0000156 <plugin>
157 <artifactId>maven-javadoc-plugin</artifactId>
158 <configuration>
159 <excludePackageNames>
160 *.internal
161 </excludePackageNames>
162 </configuration>
163 </plugin>
164 <plugin>
165 <groupId>org.apache.rat</groupId>
166 <artifactId>apache-rat-plugin</artifactId>
167 <configuration>
168 <includes>
169 <include>src/**</include>
170 </includes>
171 <excludes>
172 <exclude>src/main/appended-resources/**</exclude>
173 <exclude>src/main/resources/res/lib/jquery-1.3.2.js</exclude>
174 <exclude>src/main/resources/res/lib/jquery-ui-1.7.2.js</exclude>
175 <exclude>src/main/resources/res/lib/jquery-ui-i18n-1.7.2.js</exclude>
176 <exclude>src/main/resources/res/lib/jquery.cookies-2.2.0.js</exclude>
177 <exclude>src/main/resources/res/lib/jquery.multifile-1.4.6.js</exclude>
178 <exclude>src/main/resources/res/lib/jquery.tablesorter-2.0.3.js</exclude>
179 <exclude>src/main/resources/res/lib/reset-min.css</exclude>
180 <exclude>src/main/resources/res/lib/themes/**</exclude>
181 <exclude>src/main/resources/res/ui/ui.tabs.paging.js</exclude>
182 <exclude>src/main/resources/templates/*.html</exclude>
183 </excludes>
184 </configuration>
185 </plugin>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000186 </plugins>
187 </build>
188
189 <dependencies>
190 <dependency>
191 <groupId>javax.servlet</groupId>
192 <artifactId>servlet-api</artifactId>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000193 <version>2.4</version>
194 <scope>provided</scope>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000195 </dependency>
196
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000197 <dependency>
198 <groupId>commons-fileupload</groupId>
199 <artifactId>commons-fileupload</artifactId>
Felix Meschbergere5722152011-12-17 13:00:58 +0000200 <version>1.2.1</version>
Carsten Ziegelerbc118d92009-02-05 18:35:13 +0000201 <scope>provided</scope>
202 <optional>true</optional>
203 </dependency>
204
205 <dependency>
206 <groupId>commons-io</groupId>
207 <artifactId>commons-io</artifactId>
208 <version>1.4</version>
209 <scope>provided</scope>
Felix Meschbergeref9ec942008-05-21 21:25:49 +0000210 <optional>true</optional>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000211 </dependency>
212
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.core</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 <dependency>
Carsten Ziegelerc53e35a2009-12-15 15:57:11 +0000220 <groupId>org.osgi</groupId>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000221 <artifactId>org.osgi.compendium</artifactId>
Carsten Ziegelerc53e35a2009-12-15 15:57:11 +0000222 <version>4.1.0</version>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000223 <scope>provided</scope>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000224 </dependency>
225
226 <dependency>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000227 <groupId>org.json</groupId>
228 <artifactId>json</artifactId>
229 <version>20070829</version>
Felix Meschbergercdcc8f02010-08-03 09:45:33 +0000230 <scope>provided</scope>
231 </dependency>
Felix Meschbergercdcc8f02010-08-03 09:45:33 +0000232 <dependency>
233 <groupId>org.apache.felix</groupId>
234 <artifactId>org.apache.felix.shell</artifactId>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000235 <version>1.0.0</version>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000236 <scope>provided</scope>
237 </dependency>
238
Felix Meschbergerccc755f2010-04-03 09:55:38 +0000239 <!--
240 Required for a simple VersionRange class, the class from
241 the utils bundle is overkill and requires JDK 1.4 or better
242 -->
243 <dependency>
244 <groupId>org.apache.felix</groupId>
245 <artifactId>org.apache.felix.framework</artifactId>
246 <version>2.0.2</version>
247 <scope>provided</scope>
248 <optional>true</optional>
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 Meschbergerccc755f2010-04-03 09:55:38 +0000255 <version>1.0.0</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 Meschbergerccc755f2010-04-03 09:55:38 +0000270 <version>1.6.0</version>
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000271 <scope>provided</scope>
272 <optional>true</optional>
273 </dependency>
274
Felix Meschberger7933fca2011-12-17 12:34:04 +0000275 <!-- BND annotations -->
276 <dependency>
277 <groupId>biz.aQute</groupId>
278 <artifactId>bndlib</artifactId>
279 <version>1.50.0</version>
280 <scope>provided</scope>
281 </dependency>
282
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000283 </dependencies>
Felix Meschberger714d78f2008-08-27 19:52:34 +0000284</project>