blob: b9b481b4e2dece46bfa8e73680a198cdec1c17dc [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>
Felix Meschberger1a025f02012-04-19 09:07:03 +000031 <version>3.4.1-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 Meschberger1a025f02012-04-19 09:07:03 +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 <!-- Make sure to not use non Java 1.4 API -->
85 <plugin>
86 <groupId>org.codehaus.mojo</groupId>
87 <artifactId>animal-sniffer-maven-plugin</artifactId>
88 <version>1.7</version>
89 <configuration>
90 <signature>
91 <groupId>org.codehaus.mojo.signature</groupId>
92 <artifactId>java14</artifactId>
93 <version>1.0</version>
94 </signature>
95 </configuration>
96 <executions>
97 <execution>
98 <phase>test</phase>
99 <goals>
100 <goal>check</goal>
101 </goals>
102 </execution>
103 </executions>
104 </plugin>
Felix Meschberger7933fca2011-12-17 12:34:04 +0000105 <plugin>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000106 <groupId>org.apache.felix</groupId>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000107 <artifactId>maven-bundle-plugin</artifactId>
Felix Meschberger7933fca2011-12-17 12:34:04 +0000108 <version>2.3.6</version>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000109 <extensions>true</extensions>
110 <configuration>
111 <instructions>
Carsten Ziegeler540e3bc2008-05-16 14:44:08 +0000112 <Bundle-SymbolicName>
Felix Meschberger6fbedfa2011-03-24 16:22:32 +0000113 ${project.artifactId}
Carsten Ziegeler540e3bc2008-05-16 14:44:08 +0000114 </Bundle-SymbolicName>
Felix Meschberger4c664132008-06-02 13:52:15 +0000115 <Bundle-Vendor>
116 The Apache Software Foundation
117 </Bundle-Vendor>
118 <Bundle-DocURL>
Felix Meschbergera6cdce22008-12-22 11:39:17 +0000119 http://felix.apache.org/site/apache-felix-web-console.html
Felix Meschberger4c664132008-06-02 13:52:15 +0000120 </Bundle-DocURL>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000121 <Bundle-Activator>
Felix Meschbergere024f262008-05-16 13:14:45 +0000122 org.apache.felix.webconsole.internal.OsgiManagerActivator
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000123 </Bundle-Activator>
Felix Meschberger8eac10c2012-01-06 15:03:17 +0000124 <Export-Package>
125 org.apache.felix.webconsole;version=3.1.2;provide:=true
126 </Export-Package>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000127 <Import-Package>
Felix Meschbergerc73f5772011-12-19 12:54:03 +0000128 org.osgi.service.metatype;resolution:=optional,
Felix Meschberger5fc70792010-01-17 17:40:57 +0000129 javax.servlet.*;version=2.4,
130 *
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000131 </Import-Package>
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000132 <DynamicImport-Package>
Felix Meschbergerc73f5772011-12-19 12:54:03 +0000133 org.apache.felix.bundlerepository;version="[2.0,3)",
134 org.osgi.service.obr;version="[1.0,2)",
135 org.osgi.service.cm;version="[1.2,2)",
136 org.osgi.service.condpermadmin;version="[1.0,2)",
137 org.osgi.service.log;version="[1.3,2)",
138 org.osgi.service.metatype;version="[1.1,2)",
139 org.osgi.service.permissionadmin;version="[1.2,2)",
140 org.osgi.service.prefs;version="[1.1,2)",
141 org.osgi.service.wireadmin;version="[1.0,2)"
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000142 </DynamicImport-Package>
Felix Meschbergerc37926b2011-12-17 11:16:13 +0000143 <Include-Resource>
Felix Meschbergerae42b9c2012-04-05 14:11:10 +0000144 {maven-resources},OSGI-INF=target/classes/OSGI-INF
Felix Meschbergerc37926b2011-12-17 11:16:13 +0000145 </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 Meschbergerc73f5772011-12-19 12:54:03 +0000148 org.apache.felix.framework;inline=org/apache/felix/framework/util/VersionRange**,
149 org.osgi.compendium;inline=org/osgi/service/metatype/**
Felix Meschberger4c664132008-06-02 13:52:15 +0000150 </Embed-Dependency>
Felix Meschberger90777f42010-01-12 08:09:52 +0000151 <_removeheaders>
152 Embed-Dependency,Private-Package,Include-Resource
153 </_removeheaders>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000154 </instructions>
155 </configuration>
156 </plugin>
Felix Meschbergerbbdc6f02011-12-17 12:17:32 +0000157 <plugin>
158 <artifactId>maven-javadoc-plugin</artifactId>
159 <configuration>
160 <excludePackageNames>
161 *.internal
162 </excludePackageNames>
163 </configuration>
164 </plugin>
165 <plugin>
166 <groupId>org.apache.rat</groupId>
167 <artifactId>apache-rat-plugin</artifactId>
168 <configuration>
169 <includes>
170 <include>src/**</include>
171 </includes>
172 <excludes>
173 <exclude>src/main/appended-resources/**</exclude>
174 <exclude>src/main/resources/res/lib/jquery-1.3.2.js</exclude>
175 <exclude>src/main/resources/res/lib/jquery-ui-1.7.2.js</exclude>
176 <exclude>src/main/resources/res/lib/jquery-ui-i18n-1.7.2.js</exclude>
177 <exclude>src/main/resources/res/lib/jquery.cookies-2.2.0.js</exclude>
178 <exclude>src/main/resources/res/lib/jquery.multifile-1.4.6.js</exclude>
179 <exclude>src/main/resources/res/lib/jquery.tablesorter-2.0.3.js</exclude>
180 <exclude>src/main/resources/res/lib/reset-min.css</exclude>
181 <exclude>src/main/resources/res/lib/themes/**</exclude>
182 <exclude>src/main/resources/res/ui/ui.tabs.paging.js</exclude>
183 <exclude>src/main/resources/templates/*.html</exclude>
184 </excludes>
185 </configuration>
186 </plugin>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000187 </plugins>
188 </build>
189
190 <dependencies>
191 <dependency>
192 <groupId>javax.servlet</groupId>
193 <artifactId>servlet-api</artifactId>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000194 <version>2.4</version>
195 <scope>provided</scope>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000196 </dependency>
197
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000198 <dependency>
199 <groupId>commons-fileupload</groupId>
200 <artifactId>commons-fileupload</artifactId>
Felix Meschbergere5722152011-12-17 13:00:58 +0000201 <version>1.2.1</version>
Carsten Ziegelerbc118d92009-02-05 18:35:13 +0000202 <scope>provided</scope>
Carsten Ziegelerbc118d92009-02-05 18:35:13 +0000203 </dependency>
204
205 <dependency>
206 <groupId>commons-io</groupId>
207 <artifactId>commons-io</artifactId>
208 <version>1.4</version>
209 <scope>provided</scope>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000210 </dependency>
211
212 <dependency>
Carsten Ziegelerc53e35a2009-12-15 15:57:11 +0000213 <groupId>org.osgi</groupId>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000214 <artifactId>org.osgi.core</artifactId>
Carsten Ziegelerc53e35a2009-12-15 15:57:11 +0000215 <version>4.1.0</version>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000216 <scope>provided</scope>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000217 </dependency>
218 <dependency>
Carsten Ziegelerc53e35a2009-12-15 15:57:11 +0000219 <groupId>org.osgi</groupId>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000220 <artifactId>org.osgi.compendium</artifactId>
Carsten Ziegelerc53e35a2009-12-15 15:57:11 +0000221 <version>4.1.0</version>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000222 <scope>provided</scope>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000223 </dependency>
224
225 <dependency>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000226 <groupId>org.json</groupId>
227 <artifactId>json</artifactId>
228 <version>20070829</version>
Felix Meschbergercdcc8f02010-08-03 09:45:33 +0000229 <scope>provided</scope>
230 </dependency>
Felix Meschbergercdcc8f02010-08-03 09:45:33 +0000231 <dependency>
232 <groupId>org.apache.felix</groupId>
233 <artifactId>org.apache.felix.shell</artifactId>
Felix Meschberger5fbdd8c2008-05-16 13:09:35 +0000234 <version>1.0.0</version>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000235 <scope>provided</scope>
236 </dependency>
237
Felix Meschbergerccc755f2010-04-03 09:55:38 +0000238 <!--
239 Required for a simple VersionRange class, the class from
240 the utils bundle is overkill and requires JDK 1.4 or better
241 -->
242 <dependency>
243 <groupId>org.apache.felix</groupId>
244 <artifactId>org.apache.felix.framework</artifactId>
245 <version>2.0.2</version>
246 <scope>provided</scope>
247 <optional>true</optional>
248 </dependency>
249
Felix Meschbergerb16615b2009-06-29 10:21:00 +0000250 <!-- Parsing Import/Export-Package headers -->
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000251 <dependency>
252 <groupId>org.apache.felix</groupId>
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000253 <artifactId>org.apache.felix.utils</artifactId>
Felix Meschbergerccc755f2010-04-03 09:55:38 +0000254 <version>1.0.0</version>
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000255 <scope>provided</scope>
Felix Meschbergeref9ec942008-05-21 21:25:49 +0000256 <optional>true</optional>
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000257 </dependency>
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000258
259 <!-- OSGi and Apache Felix OBR API -->
260 <dependency>
261 <groupId>org.apache.felix</groupId>
262 <artifactId>org.osgi.service.obr</artifactId>
263 <version>1.0.2</version>
264 <scope>provided</scope>
265 </dependency>
266 <dependency>
267 <groupId>org.apache.felix</groupId>
268 <artifactId>org.apache.felix.bundlerepository</artifactId>
Felix Meschbergerccc755f2010-04-03 09:55:38 +0000269 <version>1.6.0</version>
Felix Meschbergerd66a1312010-03-22 15:31:13 +0000270 <scope>provided</scope>
271 <optional>true</optional>
272 </dependency>
273
Felix Meschbergerbb30b0c2008-05-16 11:59:32 +0000274 </dependencies>
Felix Meschberger714d78f2008-08-27 19:52:34 +0000275</project>