Felix Meschberger | 1f58a18 | 2008-05-20 18:28:18 +0000 | [diff] [blame] | 1 | <!-- |
Felix Meschberger | 4c66413 | 2008-06-02 13:52:15 +0000 | [diff] [blame] | 2 | 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 Meschberger | 1f58a18 | 2008-05-20 18:28:18 +0000 | [diff] [blame] | 10 | http://www.apache.org/licenses/LICENSE-2.0 |
Felix Meschberger | 4c66413 | 2008-06-02 13:52:15 +0000 | [diff] [blame] | 11 | |
| 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 Meschberger | 1f58a18 | 2008-05-20 18:28:18 +0000 | [diff] [blame] | 18 | --> |
Felix Meschberger | f73d213 | 2008-05-20 18:19:33 +0000 | [diff] [blame] | 19 | <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 Meschberger | bb30b0c | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 20 | |
| 21 | <modelVersion>4.0.0</modelVersion> |
| 22 | <parent> |
Felix Meschberger | 5fbdd8c | 2008-05-16 13:09:35 +0000 | [diff] [blame] | 23 | <groupId>org.apache.felix</groupId> |
Felix Meschberger | eea9951 | 2009-05-11 14:25:53 +0000 | [diff] [blame] | 24 | <artifactId>felix-parent</artifactId> |
| 25 | <version>1.2.0</version> |
Felix Meschberger | 5fbdd8c | 2008-05-16 13:09:35 +0000 | [diff] [blame] | 26 | <relativePath>../pom/pom.xml</relativePath> |
Felix Meschberger | bb30b0c | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 27 | </parent> |
| 28 | |
Felix Meschberger | 5fbdd8c | 2008-05-16 13:09:35 +0000 | [diff] [blame] | 29 | <artifactId>org.apache.felix.webconsole</artifactId> |
Felix Meschberger | bb30b0c | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 30 | <packaging>bundle</packaging> |
Guillaume Nodet | fa9bd74 | 2010-06-11 15:41:10 +0000 | [diff] [blame] | 31 | <version>3.0.3-SNAPSHOT</version> |
Felix Meschberger | bb30b0c | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 32 | |
Felix Meschberger | 5fbdd8c | 2008-05-16 13:09:35 +0000 | [diff] [blame] | 33 | <name>Apache Felix Web Management Console</name> |
| 34 | <description> |
Felix Meschberger | 584090b | 2008-08-27 06:46:31 +0000 | [diff] [blame] | 35 | Web Based Management Console for OSGi Frameworks. See |
Felix Meschberger | 0b0dc8c | 2009-10-01 14:27:10 +0000 | [diff] [blame] | 36 | http://felix.apache.org/site/apache-felix-web-console.html for more |
Felix Meschberger | 584090b | 2008-08-27 06:46:31 +0000 | [diff] [blame] | 37 | information on this bundle. |
Felix Meschberger | 5fbdd8c | 2008-05-16 13:09:35 +0000 | [diff] [blame] | 38 | </description> |
Felix Meschberger | bb30b0c | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 39 | |
| 40 | <scm> |
Guillaume Nodet | fa9bd74 | 2010-06-11 15:41:10 +0000 | [diff] [blame] | 41 | <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 Meschberger | bb30b0c | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 44 | </scm> |
| 45 | |
| 46 | <build> |
Felix Meschberger | aec198b | 2010-03-26 11:38:34 +0000 | [diff] [blame] | 47 | <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> |
| 56 | <include>LICENSE*</include> |
| 57 | <include>NOTICE*</include> |
| 58 | </includes> |
| 59 | </resource> |
| 60 | <!-- CSS and images for backwards compatibility --> |
| 61 | <resource> |
| 62 | <directory>${basedir}/src/main/compat</directory> |
| 63 | </resource> |
| 64 | </resources> |
Felix Meschberger | bb30b0c | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 65 | <plugins> |
Felix Meschberger | ed15be5 | 2010-02-22 14:12:43 +0000 | [diff] [blame] | 66 | <!-- translate UTF-8 encoded properties files to ISO-8859-1 --> |
| 67 | <plugin> |
| 68 | <groupId>org.codehaus.mojo</groupId> |
| 69 | <artifactId>native2ascii-maven-plugin</artifactId> |
| 70 | <version>1.0-alpha-1</version> |
| 71 | <executions> |
| 72 | <execution> |
| 73 | <goals> |
| 74 | <goal>native2ascii</goal> |
| 75 | </goals> |
| 76 | <configuration> |
| 77 | <encoding>UTF-8</encoding> |
| 78 | </configuration> |
| 79 | </execution> |
| 80 | </executions> |
| 81 | </plugin> |
| 82 | |
Felix Meschberger | bb30b0c | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 83 | <plugin> |
| 84 | <groupId>org.apache.felix</groupId> |
Felix Meschberger | bb30b0c | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 85 | <artifactId>maven-bundle-plugin</artifactId> |
Carsten Ziegeler | 6d6ac24 | 2008-08-20 12:54:13 +0000 | [diff] [blame] | 86 | <version>1.4.3</version> |
Felix Meschberger | bb30b0c | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 87 | <extensions>true</extensions> |
| 88 | <configuration> |
| 89 | <instructions> |
Carsten Ziegeler | 540e3bc | 2008-05-16 14:44:08 +0000 | [diff] [blame] | 90 | <Bundle-SymbolicName> |
| 91 | ${artifactId} |
| 92 | </Bundle-SymbolicName> |
Felix Meschberger | 4c66413 | 2008-06-02 13:52:15 +0000 | [diff] [blame] | 93 | <Bundle-Vendor> |
| 94 | The Apache Software Foundation |
| 95 | </Bundle-Vendor> |
| 96 | <Bundle-DocURL> |
Felix Meschberger | a6cdce2 | 2008-12-22 11:39:17 +0000 | [diff] [blame] | 97 | http://felix.apache.org/site/apache-felix-web-console.html |
Felix Meschberger | 4c66413 | 2008-06-02 13:52:15 +0000 | [diff] [blame] | 98 | </Bundle-DocURL> |
Felix Meschberger | bb30b0c | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 99 | <Bundle-Activator> |
Felix Meschberger | e024f26 | 2008-05-16 13:14:45 +0000 | [diff] [blame] | 100 | org.apache.felix.webconsole.internal.OsgiManagerActivator |
Felix Meschberger | bb30b0c | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 101 | </Bundle-Activator> |
| 102 | <Export-Package> |
Carsten Ziegeler | f8e97ca | 2010-02-05 16:05:32 +0000 | [diff] [blame] | 103 | org.apache.felix.webconsole;version=3.0.0 |
Felix Meschberger | bb30b0c | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 104 | </Export-Package> |
| 105 | <Private-Package> |
Felix Meschberger | e024f26 | 2008-05-16 13:14:45 +0000 | [diff] [blame] | 106 | !org.apache.felix.webconsole, |
| 107 | org.apache.felix.webconsole.*, |
Felix Meschberger | bb30b0c | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 108 | </Private-Package> |
| 109 | <Import-Package> |
Felix Meschberger | 27919e7 | 2009-06-09 10:09:40 +0000 | [diff] [blame] | 110 | org.osgi.service.http, |
Felix Meschberger | 4c66413 | 2008-06-02 13:52:15 +0000 | [diff] [blame] | 111 | org.apache.felix.scr; |
| 112 | org.apache.felix.shell; |
Carsten Ziegeler | 38383ad | 2009-02-06 14:53:56 +0000 | [diff] [blame] | 113 | org.osgi.service.*;resolution:=optional, |
Felix Meschberger | 96b92e9 | 2009-05-15 11:43:45 +0000 | [diff] [blame] | 114 | javax.portlet;resolution:=optional, |
Felix Meschberger | 5fc7079 | 2010-01-17 17:40:57 +0000 | [diff] [blame] | 115 | javax.servlet.*;version=2.4, |
| 116 | * |
Felix Meschberger | bb30b0c | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 117 | </Import-Package> |
Felix Meschberger | d66a131 | 2010-03-22 15:31:13 +0000 | [diff] [blame] | 118 | <DynamicImport-Package> |
| 119 | org.apache.felix.bundlerepository, |
| 120 | org.osgi.service.obr |
| 121 | </DynamicImport-Package> |
Felix Meschberger | 4c66413 | 2008-06-02 13:52:15 +0000 | [diff] [blame] | 122 | <Embed-Dependency> |
Felix Meschberger | b16615b | 2009-06-29 10:21:00 +0000 | [diff] [blame] | 123 | <!-- Import/Export-Package parsing --> |
Felix Meschberger | d66a131 | 2010-03-22 15:31:13 +0000 | [diff] [blame] | 124 | org.apache.felix.utils;inline=org/apache/felix/utils/manifest/**, |
Felix Meschberger | ccc755f | 2010-04-03 09:55:38 +0000 | [diff] [blame] | 125 | org.apache.felix.framework;inline=org/apache/felix/framework/util/VersionRange**, |
Felix Meschberger | 4c66413 | 2008-06-02 13:52:15 +0000 | [diff] [blame] | 126 | |
Felix Meschberger | 9364e1f | 2009-09-23 05:58:18 +0000 | [diff] [blame] | 127 | <!-- ServiceTracker --> |
| 128 | org.osgi.compendium; |
| 129 | inline=org/osgi/util/tracker/*, |
| 130 | |
Felix Meschberger | 4c66413 | 2008-06-02 13:52:15 +0000 | [diff] [blame] | 131 | <!-- Required for JSON data transfer --> |
Carsten Ziegeler | bc118d9 | 2009-02-05 18:35:13 +0000 | [diff] [blame] | 132 | json, |
| 133 | |
| 134 | <!-- File Upload functionality --> |
| 135 | commons-fileupload, |
Felix Meschberger | 90777f4 | 2010-01-12 08:09:52 +0000 | [diff] [blame] | 136 | |
Carsten Ziegeler | bc118d9 | 2009-02-05 18:35:13 +0000 | [diff] [blame] | 137 | <!-- Required by FileUpload and Util --> |
| 138 | commons-io |
Felix Meschberger | 4c66413 | 2008-06-02 13:52:15 +0000 | [diff] [blame] | 139 | </Embed-Dependency> |
Felix Meschberger | 90777f4 | 2010-01-12 08:09:52 +0000 | [diff] [blame] | 140 | |
| 141 | <_donotcopy>NOTICE.bare</_donotcopy> |
| 142 | <_removeheaders> |
| 143 | Embed-Dependency,Private-Package,Include-Resource |
| 144 | </_removeheaders> |
Felix Meschberger | bb30b0c | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 145 | </instructions> |
| 146 | </configuration> |
| 147 | </plugin> |
| 148 | </plugins> |
| 149 | </build> |
| 150 | |
Felix Meschberger | 90777f4 | 2010-01-12 08:09:52 +0000 | [diff] [blame] | 151 | <profiles> |
| 152 | <!-- |
| 153 | The "bare-bundle" profile builds a bundle not including certain |
| 154 | 3rd party libraries and classes, namely: Commons IO, Commons |
| 155 | FileUpload, JSON, and the OSGi ServiceTracker. These are imported |
| 156 | by this bundle. The classes from the bundlerepository bundle are |
| 157 | still included because they are not exported from the |
| 158 | bundlerepository bundle and thus cannot be imported. |
| 159 | The "bare-bundle" can be used if the non-embedded libraries are |
| 160 | provided by the framework in which the web console is installed. |
| 161 | --> |
| 162 | <profile> |
| 163 | <id>bare-bundle</id> |
| 164 | <activation><activeByDefault>true</activeByDefault></activation> |
| 165 | <build> |
| 166 | <plugins> |
| 167 | <plugin> |
| 168 | <groupId>org.apache.felix</groupId> |
| 169 | <artifactId>maven-bundle-plugin</artifactId> |
| 170 | <executions> |
| 171 | <execution> |
| 172 | <id>bare-bundle</id> |
| 173 | <goals> |
| 174 | <goal>bundle</goal> |
| 175 | </goals> |
| 176 | <configuration> |
| 177 | <classifier>bare</classifier> |
| 178 | <instructions> |
Felix Meschberger | 4e46647 | 2010-02-17 11:56:17 +0000 | [diff] [blame] | 179 | <Bundle-SymbolicName> |
| 180 | ${artifactId}.bare |
| 181 | </Bundle-SymbolicName> |
Felix Meschberger | 90777f4 | 2010-01-12 08:09:52 +0000 | [diff] [blame] | 182 | <Include-Resource> |
Felix Meschberger | 02fe056 | 2010-01-12 08:15:06 +0000 | [diff] [blame] | 183 | {maven-resources},META-INF/NOTICE=src/main/bare-resources/NOTICE |
Felix Meschberger | 90777f4 | 2010-01-12 08:09:52 +0000 | [diff] [blame] | 184 | </Include-Resource> |
| 185 | <_donotcopy>LICENSE.json</_donotcopy> |
| 186 | <!-- <_donotcopy>(LICENSE.json|NOTICE.bare)</_donotcopy> --> |
| 187 | <Embed-Dependency> |
Felix Meschberger | ccc755f | 2010-04-03 09:55:38 +0000 | [diff] [blame] | 188 | org.apache.felix.utils;inline=org/apache/felix/utils/manifest/**, |
| 189 | org.apache.felix.framework;inline=org/apache/felix/framework/util/VersionRange** |
Felix Meschberger | 90777f4 | 2010-01-12 08:09:52 +0000 | [diff] [blame] | 190 | </Embed-Dependency> |
| 191 | </instructions> |
| 192 | </configuration> |
| 193 | </execution> |
| 194 | </executions> |
| 195 | </plugin> |
| 196 | </plugins> |
| 197 | </build> |
| 198 | </profile> |
| 199 | </profiles> |
| 200 | |
Felix Meschberger | bb30b0c | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 201 | <dependencies> |
| 202 | <dependency> |
| 203 | <groupId>javax.servlet</groupId> |
| 204 | <artifactId>servlet-api</artifactId> |
Felix Meschberger | 5fbdd8c | 2008-05-16 13:09:35 +0000 | [diff] [blame] | 205 | <version>2.4</version> |
| 206 | <scope>provided</scope> |
Felix Meschberger | bb30b0c | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 207 | </dependency> |
| 208 | |
Felix Meschberger | bb30b0c | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 209 | <dependency> |
| 210 | <groupId>commons-fileupload</groupId> |
| 211 | <artifactId>commons-fileupload</artifactId> |
Felix Meschberger | 5fbdd8c | 2008-05-16 13:09:35 +0000 | [diff] [blame] | 212 | <version>1.1.1</version> |
Carsten Ziegeler | bc118d9 | 2009-02-05 18:35:13 +0000 | [diff] [blame] | 213 | <scope>provided</scope> |
| 214 | <optional>true</optional> |
| 215 | </dependency> |
| 216 | |
| 217 | <dependency> |
| 218 | <groupId>commons-io</groupId> |
| 219 | <artifactId>commons-io</artifactId> |
| 220 | <version>1.4</version> |
| 221 | <scope>provided</scope> |
Felix Meschberger | ef9ec94 | 2008-05-21 21:25:49 +0000 | [diff] [blame] | 222 | <optional>true</optional> |
Felix Meschberger | bb30b0c | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 223 | </dependency> |
| 224 | |
| 225 | <dependency> |
Carsten Ziegeler | c53e35a | 2009-12-15 15:57:11 +0000 | [diff] [blame] | 226 | <groupId>org.osgi</groupId> |
Felix Meschberger | bb30b0c | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 227 | <artifactId>org.osgi.core</artifactId> |
Carsten Ziegeler | c53e35a | 2009-12-15 15:57:11 +0000 | [diff] [blame] | 228 | <version>4.1.0</version> |
Felix Meschberger | 5fbdd8c | 2008-05-16 13:09:35 +0000 | [diff] [blame] | 229 | <scope>provided</scope> |
Felix Meschberger | bb30b0c | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 230 | </dependency> |
| 231 | <dependency> |
Carsten Ziegeler | c53e35a | 2009-12-15 15:57:11 +0000 | [diff] [blame] | 232 | <groupId>org.osgi</groupId> |
Felix Meschberger | bb30b0c | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 233 | <artifactId>org.osgi.compendium</artifactId> |
Carsten Ziegeler | c53e35a | 2009-12-15 15:57:11 +0000 | [diff] [blame] | 234 | <version>4.1.0</version> |
Felix Meschberger | 5fbdd8c | 2008-05-16 13:09:35 +0000 | [diff] [blame] | 235 | <scope>provided</scope> |
Felix Meschberger | bb30b0c | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 236 | </dependency> |
| 237 | |
| 238 | <dependency> |
Felix Meschberger | 5fbdd8c | 2008-05-16 13:09:35 +0000 | [diff] [blame] | 239 | <groupId>org.json</groupId> |
| 240 | <artifactId>json</artifactId> |
| 241 | <version>20070829</version> |
Felix Meschberger | bb30b0c | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 242 | <scope>compile</scope> |
Felix Meschberger | ef9ec94 | 2008-05-21 21:25:49 +0000 | [diff] [blame] | 243 | <optional>true</optional> |
Felix Meschberger | bb30b0c | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 244 | </dependency> |
| 245 | |
| 246 | <dependency> |
| 247 | <groupId>org.apache.felix</groupId> |
| 248 | <artifactId>org.apache.felix.scr</artifactId> |
Felix Meschberger | 5fbdd8c | 2008-05-16 13:09:35 +0000 | [diff] [blame] | 249 | <version>1.0.0</version> |
Felix Meschberger | bb30b0c | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 250 | <scope>provided</scope> |
| 251 | </dependency> |
| 252 | |
Felix Meschberger | ccc755f | 2010-04-03 09:55:38 +0000 | [diff] [blame] | 253 | <!-- |
| 254 | Required for a simple VersionRange class, the class from |
| 255 | the utils bundle is overkill and requires JDK 1.4 or better |
| 256 | --> |
| 257 | <dependency> |
| 258 | <groupId>org.apache.felix</groupId> |
| 259 | <artifactId>org.apache.felix.framework</artifactId> |
| 260 | <version>2.0.2</version> |
| 261 | <scope>provided</scope> |
| 262 | <optional>true</optional> |
| 263 | </dependency> |
| 264 | |
Felix Meschberger | b16615b | 2009-06-29 10:21:00 +0000 | [diff] [blame] | 265 | <!-- Parsing Import/Export-Package headers --> |
Felix Meschberger | bb30b0c | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 266 | <dependency> |
| 267 | <groupId>org.apache.felix</groupId> |
Felix Meschberger | d66a131 | 2010-03-22 15:31:13 +0000 | [diff] [blame] | 268 | <artifactId>org.apache.felix.utils</artifactId> |
Felix Meschberger | ccc755f | 2010-04-03 09:55:38 +0000 | [diff] [blame] | 269 | <version>1.0.0</version> |
Felix Meschberger | d66a131 | 2010-03-22 15:31:13 +0000 | [diff] [blame] | 270 | <scope>provided</scope> |
Felix Meschberger | ef9ec94 | 2008-05-21 21:25:49 +0000 | [diff] [blame] | 271 | <optional>true</optional> |
Felix Meschberger | bb30b0c | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 272 | </dependency> |
Felix Meschberger | d66a131 | 2010-03-22 15:31:13 +0000 | [diff] [blame] | 273 | |
| 274 | <!-- OSGi and Apache Felix OBR API --> |
| 275 | <dependency> |
| 276 | <groupId>org.apache.felix</groupId> |
| 277 | <artifactId>org.osgi.service.obr</artifactId> |
| 278 | <version>1.0.2</version> |
| 279 | <scope>provided</scope> |
| 280 | </dependency> |
| 281 | <dependency> |
| 282 | <groupId>org.apache.felix</groupId> |
| 283 | <artifactId>org.apache.felix.bundlerepository</artifactId> |
Felix Meschberger | ccc755f | 2010-04-03 09:55:38 +0000 | [diff] [blame] | 284 | <version>1.6.0</version> |
Felix Meschberger | d66a131 | 2010-03-22 15:31:13 +0000 | [diff] [blame] | 285 | <scope>provided</scope> |
| 286 | <optional>true</optional> |
| 287 | </dependency> |
| 288 | |
Felix Meschberger | bb30b0c | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 289 | </dependencies> |
Felix Meschberger | 714d78f | 2008-08-27 19:52:34 +0000 | [diff] [blame] | 290 | </project> |