blob: 2c51ed9c2182bbd1545df649de62cc2c30c86b35 [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 Meschbergerbb30b0c2008-05-16 11:59:32 +000084 <plugin>
Felix Meschberger7933fca2011-12-17 12:34:04 +000085 <artifactId>maven-compiler-plugin</artifactId>
86 <configuration>
87 <source>5</source>
88 <target>jsr14</target>
89 </configuration>
90 </plugin>
91 <plugin>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000092 <groupId>org.apache.felix</groupId>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000093 <artifactId>maven-bundle-plugin</artifactId>
Felix Meschberger7933fca2011-12-17 12:34:04 +000094 <version>2.3.6</version>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +000095 <extensions>true</extensions>
96 <configuration>
97 <instructions>
Carsten Ziegeler540e3bc2008-05-16 14:44:08 +000098 <Bundle-SymbolicName>
Felix Meschberger6fbedfa2011-03-24 16:22:32 +000099 ${project.artifactId}
Carsten Ziegeler540e3bc2008-05-16 14:44:08 +0000100 </Bundle-SymbolicName>
Felix Meschberger4c664132008-06-02 13:52:15 +0000101 <Bundle-Vendor>
102 The Apache Software Foundation
103 </Bundle-Vendor>
104 <Bundle-DocURL>
Felix Meschbergera6cdce22008-12-22 11:39:17 +0000105 http://felix.apache.org/site/apache-felix-web-console.html
Felix Meschberger4c664132008-06-02 13:52:15 +0000106 </Bundle-DocURL>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000107 <Bundle-Activator>
Felix Meschbergere024f262008-05-16 13:14:45 +0000108 org.apache.felix.webconsole.internal.OsgiManagerActivator
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000109 </Bundle-Activator>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000110 <Import-Package>
Felix Meschberger27919e72009-06-09 10:09:40 +0000111 org.osgi.service.http,
Felix Meschberger4c664132008-06-02 13:52:15 +0000112 org.apache.felix.shell;
Carsten Ziegeler38383ad2009-02-06 14:53:56 +0000113 org.osgi.service.*;resolution:=optional,
Felix Meschberger5fc70792010-01-17 17:40:57 +0000114 javax.servlet.*;version=2.4,
115 *
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000116 </Import-Package>
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000117 <DynamicImport-Package>
118 org.apache.felix.bundlerepository,
119 org.osgi.service.obr
120 </DynamicImport-Package>
Felix Meschbergerc37926b2011-12-17 11:16:13 +0000121 <Include-Resource>
122 {maven-resources},META-INF=src/main/bare-resources
123 </Include-Resource>
Felix Meschberger4c664132008-06-02 13:52:15 +0000124 <Embed-Dependency>
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000125 org.apache.felix.utils;inline=org/apache/felix/utils/manifest/**,
Felix Meschbergerc37926b2011-12-17 11:16:13 +0000126 org.apache.felix.framework;inline=org/apache/felix/framework/util/VersionRange**
Felix Meschberger4c664132008-06-02 13:52:15 +0000127 </Embed-Dependency>
Felix Meschberger90777f42010-01-12 08:09:52 +0000128 <_removeheaders>
129 Embed-Dependency,Private-Package,Include-Resource
130 </_removeheaders>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000131 </instructions>
132 </configuration>
133 </plugin>
Felix Meschbergerbbdc6f02011-12-17 12:17:32 +0000134 <plugin>
135 <artifactId>maven-javadoc-plugin</artifactId>
136 <configuration>
137 <excludePackageNames>
138 *.internal
139 </excludePackageNames>
140 </configuration>
141 </plugin>
142 <plugin>
143 <groupId>org.apache.rat</groupId>
144 <artifactId>apache-rat-plugin</artifactId>
145 <configuration>
146 <includes>
147 <include>src/**</include>
148 </includes>
149 <excludes>
150 <exclude>src/main/appended-resources/**</exclude>
151 <exclude>src/main/resources/res/lib/jquery-1.3.2.js</exclude>
152 <exclude>src/main/resources/res/lib/jquery-ui-1.7.2.js</exclude>
153 <exclude>src/main/resources/res/lib/jquery-ui-i18n-1.7.2.js</exclude>
154 <exclude>src/main/resources/res/lib/jquery.cookies-2.2.0.js</exclude>
155 <exclude>src/main/resources/res/lib/jquery.multifile-1.4.6.js</exclude>
156 <exclude>src/main/resources/res/lib/jquery.tablesorter-2.0.3.js</exclude>
157 <exclude>src/main/resources/res/lib/reset-min.css</exclude>
158 <exclude>src/main/resources/res/lib/themes/**</exclude>
159 <exclude>src/main/resources/res/ui/ui.tabs.paging.js</exclude>
160 <exclude>src/main/resources/templates/*.html</exclude>
161 </excludes>
162 </configuration>
163 </plugin>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000164 </plugins>
165 </build>
166
167 <dependencies>
168 <dependency>
169 <groupId>javax.servlet</groupId>
170 <artifactId>servlet-api</artifactId>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000171 <version>2.4</version>
172 <scope>provided</scope>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000173 </dependency>
174
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000175 <dependency>
176 <groupId>commons-fileupload</groupId>
177 <artifactId>commons-fileupload</artifactId>
Felix Meschbergere5722152011-12-17 13:00:58 +0000178 <version>1.2.1</version>
Carsten Ziegelerbc118d92009-02-05 18:35:13 +0000179 <scope>provided</scope>
180 <optional>true</optional>
181 </dependency>
182
183 <dependency>
184 <groupId>commons-io</groupId>
185 <artifactId>commons-io</artifactId>
186 <version>1.4</version>
187 <scope>provided</scope>
Felix Meschbergeref9ec942008-05-21 21:25:49 +0000188 <optional>true</optional>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000189 </dependency>
190
191 <dependency>
Carsten Ziegelerc53e35a2009-12-15 15:57:11 +0000192 <groupId>org.osgi</groupId>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000193 <artifactId>org.osgi.core</artifactId>
Carsten Ziegelerc53e35a2009-12-15 15:57:11 +0000194 <version>4.1.0</version>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000195 <scope>provided</scope>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000196 </dependency>
197 <dependency>
Carsten Ziegelerc53e35a2009-12-15 15:57:11 +0000198 <groupId>org.osgi</groupId>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000199 <artifactId>org.osgi.compendium</artifactId>
Carsten Ziegelerc53e35a2009-12-15 15:57:11 +0000200 <version>4.1.0</version>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000201 <scope>provided</scope>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000202 </dependency>
203
204 <dependency>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000205 <groupId>org.json</groupId>
206 <artifactId>json</artifactId>
207 <version>20070829</version>
Felix Meschbergercdcc8f02010-08-03 09:45:33 +0000208 <scope>provided</scope>
209 </dependency>
Felix Meschbergercdcc8f02010-08-03 09:45:33 +0000210 <dependency>
211 <groupId>org.apache.felix</groupId>
212 <artifactId>org.apache.felix.shell</artifactId>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000213 <version>1.0.0</version>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000214 <scope>provided</scope>
215 </dependency>
216
Felix Meschbergerccc755f2010-04-03 09:55:38 +0000217 <!--
218 Required for a simple VersionRange class, the class from
219 the utils bundle is overkill and requires JDK 1.4 or better
220 -->
221 <dependency>
222 <groupId>org.apache.felix</groupId>
223 <artifactId>org.apache.felix.framework</artifactId>
224 <version>2.0.2</version>
225 <scope>provided</scope>
226 <optional>true</optional>
227 </dependency>
228
Felix Meschbergerb16615b2009-06-29 10:21:00 +0000229 <!-- Parsing Import/Export-Package headers -->
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000230 <dependency>
231 <groupId>org.apache.felix</groupId>
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000232 <artifactId>org.apache.felix.utils</artifactId>
Felix Meschbergerccc755f2010-04-03 09:55:38 +0000233 <version>1.0.0</version>
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000234 <scope>provided</scope>
Felix Meschbergeref9ec942008-05-21 21:25:49 +0000235 <optional>true</optional>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000236 </dependency>
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000237
238 <!-- OSGi and Apache Felix OBR API -->
239 <dependency>
240 <groupId>org.apache.felix</groupId>
241 <artifactId>org.osgi.service.obr</artifactId>
242 <version>1.0.2</version>
243 <scope>provided</scope>
244 </dependency>
245 <dependency>
246 <groupId>org.apache.felix</groupId>
247 <artifactId>org.apache.felix.bundlerepository</artifactId>
Felix Meschbergerccc755f2010-04-03 09:55:38 +0000248 <version>1.6.0</version>
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000249 <scope>provided</scope>
250 <optional>true</optional>
251 </dependency>
252
Felix Meschberger7933fca2011-12-17 12:34:04 +0000253 <!-- BND annotations -->
254 <dependency>
255 <groupId>biz.aQute</groupId>
256 <artifactId>bndlib</artifactId>
257 <version>1.50.0</version>
258 <scope>provided</scope>
259 </dependency>
260
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000261 </dependencies>
Felix Meschberger714d78f2008-08-27 19:52:34 +0000262</project>