Felix Meschberger | 57efc29 | 2008-05-20 18:28:18 +0000 | [diff] [blame] | 1 | <!-- |
Felix Meschberger | 9b3c4e0 | 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 | 57efc29 | 2008-05-20 18:28:18 +0000 | [diff] [blame] | 10 | http://www.apache.org/licenses/LICENSE-2.0 |
Felix Meschberger | 9b3c4e0 | 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 | 57efc29 | 2008-05-20 18:28:18 +0000 | [diff] [blame] | 18 | --> |
Felix Meschberger | 7dfbb4a | 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 | ca29a96 | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 20 | |
| 21 | <modelVersion>4.0.0</modelVersion> |
| 22 | <parent> |
Felix Meschberger | e60e072 | 2008-05-16 13:09:35 +0000 | [diff] [blame] | 23 | <groupId>org.apache.felix</groupId> |
Felix Meschberger | e48e5db | 2009-05-11 14:25:53 +0000 | [diff] [blame] | 24 | <artifactId>felix-parent</artifactId> |
Felix Meschberger | 9de2c59 | 2011-12-17 12:17:32 +0000 | [diff] [blame] | 25 | <version>2.1</version> |
Felix Meschberger | e60e072 | 2008-05-16 13:09:35 +0000 | [diff] [blame] | 26 | <relativePath>../pom/pom.xml</relativePath> |
Felix Meschberger | ca29a96 | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 27 | </parent> |
| 28 | |
Felix Meschberger | e60e072 | 2008-05-16 13:09:35 +0000 | [diff] [blame] | 29 | <artifactId>org.apache.felix.webconsole</artifactId> |
Felix Meschberger | ca29a96 | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 30 | <packaging>bundle</packaging> |
Guillaume Nodet | f331342 | 2011-02-01 08:01:11 +0000 | [diff] [blame] | 31 | <version>3.1.9-SNAPSHOT</version> |
Felix Meschberger | ca29a96 | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 32 | |
Felix Meschberger | e60e072 | 2008-05-16 13:09:35 +0000 | [diff] [blame] | 33 | <name>Apache Felix Web Management Console</name> |
| 34 | <description> |
Felix Meschberger | 8ee5c43 | 2008-08-27 06:46:31 +0000 | [diff] [blame] | 35 | Web Based Management Console for OSGi Frameworks. See |
Felix Meschberger | 61ac607 | 2009-10-01 14:27:10 +0000 | [diff] [blame] | 36 | http://felix.apache.org/site/apache-felix-web-console.html for more |
Felix Meschberger | 8ee5c43 | 2008-08-27 06:46:31 +0000 | [diff] [blame] | 37 | information on this bundle. |
Felix Meschberger | e60e072 | 2008-05-16 13:09:35 +0000 | [diff] [blame] | 38 | </description> |
Felix Meschberger | ca29a96 | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 39 | |
| 40 | <scm> |
Guillaume Nodet | f331342 | 2011-02-01 08:01:11 +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 | ca29a96 | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 44 | </scm> |
| 45 | |
| 46 | <build> |
Felix Meschberger | f85d5af | 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> |
Felix Meschberger | fabe025 | 2010-08-12 07:40:34 +0000 | [diff] [blame] | 56 | <include>LICENSE</include> |
| 57 | <include>NOTICE</include> |
| 58 | <include>DEPENDENCIES</include> |
Felix Meschberger | a4f5364 | 2010-11-03 22:28:52 +0000 | [diff] [blame] | 59 | <include>changelog.txt</include> |
Felix Meschberger | f85d5af | 2010-03-26 11:38:34 +0000 | [diff] [blame] | 60 | </includes> |
| 61 | </resource> |
| 62 | <!-- CSS and images for backwards compatibility --> |
| 63 | <resource> |
| 64 | <directory>${basedir}/src/main/compat</directory> |
| 65 | </resource> |
| 66 | </resources> |
Felix Meschberger | ca29a96 | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 67 | <plugins> |
Felix Meschberger | 17f7f79 | 2010-02-22 14:12:43 +0000 | [diff] [blame] | 68 | <!-- 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 Meschberger | d727405 | 2011-12-17 13:57:38 +0000 | [diff] [blame] | 72 | <version>1.0-beta-1</version> |
Felix Meschberger | 17f7f79 | 2010-02-22 14:12:43 +0000 | [diff] [blame] | 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 Meschberger | a424dec | 2011-12-17 18:11:16 +0000 | [diff] [blame] | 84 | <!-- Allow certain Java 5 features, generate Java 1.4 class files --> |
Felix Meschberger | ca29a96 | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 85 | <plugin> |
Felix Meschberger | 46d6815 | 2011-12-17 12:34:04 +0000 | [diff] [blame] | 86 | <artifactId>maven-compiler-plugin</artifactId> |
| 87 | <configuration> |
| 88 | <source>5</source> |
| 89 | <target>jsr14</target> |
| 90 | </configuration> |
| 91 | </plugin> |
Felix Meschberger | a424dec | 2011-12-17 18:11:16 +0000 | [diff] [blame] | 92 | <!-- 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 Meschberger | 46d6815 | 2011-12-17 12:34:04 +0000 | [diff] [blame] | 113 | <plugin> |
Felix Meschberger | ca29a96 | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 114 | <groupId>org.apache.felix</groupId> |
Felix Meschberger | ca29a96 | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 115 | <artifactId>maven-bundle-plugin</artifactId> |
Felix Meschberger | 46d6815 | 2011-12-17 12:34:04 +0000 | [diff] [blame] | 116 | <version>2.3.6</version> |
Felix Meschberger | ca29a96 | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 117 | <extensions>true</extensions> |
| 118 | <configuration> |
| 119 | <instructions> |
Carsten Ziegeler | 5e32e60 | 2008-05-16 14:44:08 +0000 | [diff] [blame] | 120 | <Bundle-SymbolicName> |
Felix Meschberger | ccdf4fa | 2011-03-24 16:22:32 +0000 | [diff] [blame] | 121 | ${project.artifactId} |
Carsten Ziegeler | 5e32e60 | 2008-05-16 14:44:08 +0000 | [diff] [blame] | 122 | </Bundle-SymbolicName> |
Felix Meschberger | 9b3c4e0 | 2008-06-02 13:52:15 +0000 | [diff] [blame] | 123 | <Bundle-Vendor> |
| 124 | The Apache Software Foundation |
| 125 | </Bundle-Vendor> |
| 126 | <Bundle-DocURL> |
Felix Meschberger | a26ffb4 | 2008-12-22 11:39:17 +0000 | [diff] [blame] | 127 | http://felix.apache.org/site/apache-felix-web-console.html |
Felix Meschberger | 9b3c4e0 | 2008-06-02 13:52:15 +0000 | [diff] [blame] | 128 | </Bundle-DocURL> |
Felix Meschberger | ca29a96 | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 129 | <Bundle-Activator> |
Felix Meschberger | ab3c75c | 2008-05-16 13:14:45 +0000 | [diff] [blame] | 130 | org.apache.felix.webconsole.internal.OsgiManagerActivator |
Felix Meschberger | ca29a96 | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 131 | </Bundle-Activator> |
Felix Meschberger | ca29a96 | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 132 | <Import-Package> |
Felix Meschberger | b58af94 | 2011-12-19 12:54:03 +0000 | [diff] [blame] | 133 | org.osgi.service.metatype;resolution:=optional, |
Felix Meschberger | 6dcc01e | 2010-01-17 17:40:57 +0000 | [diff] [blame] | 134 | javax.servlet.*;version=2.4, |
| 135 | * |
Felix Meschberger | ca29a96 | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 136 | </Import-Package> |
Felix Meschberger | 35ddac2 | 2010-03-22 15:31:13 +0000 | [diff] [blame] | 137 | <DynamicImport-Package> |
Felix Meschberger | b58af94 | 2011-12-19 12:54:03 +0000 | [diff] [blame] | 138 | org.apache.felix.bundlerepository;version="[2.0,3)", |
| 139 | org.osgi.service.obr;version="[1.0,2)", |
| 140 | org.osgi.service.cm;version="[1.2,2)", |
| 141 | org.osgi.service.condpermadmin;version="[1.0,2)", |
| 142 | org.osgi.service.log;version="[1.3,2)", |
| 143 | org.osgi.service.metatype;version="[1.1,2)", |
| 144 | org.osgi.service.permissionadmin;version="[1.2,2)", |
| 145 | org.osgi.service.prefs;version="[1.1,2)", |
| 146 | org.osgi.service.wireadmin;version="[1.0,2)" |
Felix Meschberger | 35ddac2 | 2010-03-22 15:31:13 +0000 | [diff] [blame] | 147 | </DynamicImport-Package> |
Felix Meschberger | dcf0f3d | 2011-12-17 11:16:13 +0000 | [diff] [blame] | 148 | <Include-Resource> |
| 149 | {maven-resources},META-INF=src/main/bare-resources |
| 150 | </Include-Resource> |
Felix Meschberger | 9b3c4e0 | 2008-06-02 13:52:15 +0000 | [diff] [blame] | 151 | <Embed-Dependency> |
Felix Meschberger | 35ddac2 | 2010-03-22 15:31:13 +0000 | [diff] [blame] | 152 | org.apache.felix.utils;inline=org/apache/felix/utils/manifest/**, |
Felix Meschberger | b58af94 | 2011-12-19 12:54:03 +0000 | [diff] [blame] | 153 | org.apache.felix.framework;inline=org/apache/felix/framework/util/VersionRange**, |
| 154 | org.osgi.compendium;inline=org/osgi/service/metatype/** |
Felix Meschberger | 9b3c4e0 | 2008-06-02 13:52:15 +0000 | [diff] [blame] | 155 | </Embed-Dependency> |
Felix Meschberger | c17f2d1 | 2010-01-12 08:09:52 +0000 | [diff] [blame] | 156 | <_removeheaders> |
| 157 | Embed-Dependency,Private-Package,Include-Resource |
| 158 | </_removeheaders> |
Felix Meschberger | ca29a96 | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 159 | </instructions> |
| 160 | </configuration> |
| 161 | </plugin> |
Felix Meschberger | 9de2c59 | 2011-12-17 12:17:32 +0000 | [diff] [blame] | 162 | <plugin> |
| 163 | <artifactId>maven-javadoc-plugin</artifactId> |
| 164 | <configuration> |
| 165 | <excludePackageNames> |
| 166 | *.internal |
| 167 | </excludePackageNames> |
| 168 | </configuration> |
| 169 | </plugin> |
| 170 | <plugin> |
| 171 | <groupId>org.apache.rat</groupId> |
| 172 | <artifactId>apache-rat-plugin</artifactId> |
| 173 | <configuration> |
| 174 | <includes> |
| 175 | <include>src/**</include> |
| 176 | </includes> |
| 177 | <excludes> |
| 178 | <exclude>src/main/appended-resources/**</exclude> |
| 179 | <exclude>src/main/resources/res/lib/jquery-1.3.2.js</exclude> |
| 180 | <exclude>src/main/resources/res/lib/jquery-ui-1.7.2.js</exclude> |
| 181 | <exclude>src/main/resources/res/lib/jquery-ui-i18n-1.7.2.js</exclude> |
| 182 | <exclude>src/main/resources/res/lib/jquery.cookies-2.2.0.js</exclude> |
| 183 | <exclude>src/main/resources/res/lib/jquery.multifile-1.4.6.js</exclude> |
| 184 | <exclude>src/main/resources/res/lib/jquery.tablesorter-2.0.3.js</exclude> |
| 185 | <exclude>src/main/resources/res/lib/reset-min.css</exclude> |
| 186 | <exclude>src/main/resources/res/lib/themes/**</exclude> |
| 187 | <exclude>src/main/resources/res/ui/ui.tabs.paging.js</exclude> |
| 188 | <exclude>src/main/resources/templates/*.html</exclude> |
| 189 | </excludes> |
| 190 | </configuration> |
| 191 | </plugin> |
Felix Meschberger | ca29a96 | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 192 | </plugins> |
| 193 | </build> |
| 194 | |
| 195 | <dependencies> |
| 196 | <dependency> |
| 197 | <groupId>javax.servlet</groupId> |
| 198 | <artifactId>servlet-api</artifactId> |
Felix Meschberger | e60e072 | 2008-05-16 13:09:35 +0000 | [diff] [blame] | 199 | <version>2.4</version> |
| 200 | <scope>provided</scope> |
Felix Meschberger | ca29a96 | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 201 | </dependency> |
| 202 | |
Felix Meschberger | ca29a96 | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 203 | <dependency> |
| 204 | <groupId>commons-fileupload</groupId> |
| 205 | <artifactId>commons-fileupload</artifactId> |
Felix Meschberger | 7587b42 | 2011-12-17 13:00:58 +0000 | [diff] [blame] | 206 | <version>1.2.1</version> |
Carsten Ziegeler | 32196dc | 2009-02-05 18:35:13 +0000 | [diff] [blame] | 207 | <scope>provided</scope> |
Carsten Ziegeler | 32196dc | 2009-02-05 18:35:13 +0000 | [diff] [blame] | 208 | </dependency> |
| 209 | |
| 210 | <dependency> |
| 211 | <groupId>commons-io</groupId> |
| 212 | <artifactId>commons-io</artifactId> |
| 213 | <version>1.4</version> |
| 214 | <scope>provided</scope> |
Felix Meschberger | ca29a96 | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 215 | </dependency> |
| 216 | |
| 217 | <dependency> |
Carsten Ziegeler | 975b2e2 | 2009-12-15 15:57:11 +0000 | [diff] [blame] | 218 | <groupId>org.osgi</groupId> |
Felix Meschberger | ca29a96 | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 219 | <artifactId>org.osgi.core</artifactId> |
Carsten Ziegeler | 975b2e2 | 2009-12-15 15:57:11 +0000 | [diff] [blame] | 220 | <version>4.1.0</version> |
Felix Meschberger | e60e072 | 2008-05-16 13:09:35 +0000 | [diff] [blame] | 221 | <scope>provided</scope> |
Felix Meschberger | ca29a96 | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 222 | </dependency> |
| 223 | <dependency> |
Carsten Ziegeler | 975b2e2 | 2009-12-15 15:57:11 +0000 | [diff] [blame] | 224 | <groupId>org.osgi</groupId> |
Felix Meschberger | ca29a96 | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 225 | <artifactId>org.osgi.compendium</artifactId> |
Carsten Ziegeler | 975b2e2 | 2009-12-15 15:57:11 +0000 | [diff] [blame] | 226 | <version>4.1.0</version> |
Felix Meschberger | e60e072 | 2008-05-16 13:09:35 +0000 | [diff] [blame] | 227 | <scope>provided</scope> |
Felix Meschberger | ca29a96 | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 228 | </dependency> |
| 229 | |
| 230 | <dependency> |
Felix Meschberger | e60e072 | 2008-05-16 13:09:35 +0000 | [diff] [blame] | 231 | <groupId>org.json</groupId> |
| 232 | <artifactId>json</artifactId> |
| 233 | <version>20070829</version> |
Felix Meschberger | c5c5551 | 2010-08-03 09:45:33 +0000 | [diff] [blame] | 234 | <scope>provided</scope> |
| 235 | </dependency> |
Felix Meschberger | c5c5551 | 2010-08-03 09:45:33 +0000 | [diff] [blame] | 236 | <dependency> |
| 237 | <groupId>org.apache.felix</groupId> |
| 238 | <artifactId>org.apache.felix.shell</artifactId> |
Felix Meschberger | e60e072 | 2008-05-16 13:09:35 +0000 | [diff] [blame] | 239 | <version>1.0.0</version> |
Felix Meschberger | ca29a96 | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 240 | <scope>provided</scope> |
| 241 | </dependency> |
| 242 | |
Felix Meschberger | d43b6d9 | 2010-04-03 09:55:38 +0000 | [diff] [blame] | 243 | <!-- |
| 244 | Required for a simple VersionRange class, the class from |
| 245 | the utils bundle is overkill and requires JDK 1.4 or better |
| 246 | --> |
| 247 | <dependency> |
| 248 | <groupId>org.apache.felix</groupId> |
| 249 | <artifactId>org.apache.felix.framework</artifactId> |
| 250 | <version>2.0.2</version> |
| 251 | <scope>provided</scope> |
| 252 | <optional>true</optional> |
| 253 | </dependency> |
| 254 | |
Felix Meschberger | 18330ac | 2009-06-29 10:21:00 +0000 | [diff] [blame] | 255 | <!-- Parsing Import/Export-Package headers --> |
Felix Meschberger | ca29a96 | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 256 | <dependency> |
| 257 | <groupId>org.apache.felix</groupId> |
Felix Meschberger | 35ddac2 | 2010-03-22 15:31:13 +0000 | [diff] [blame] | 258 | <artifactId>org.apache.felix.utils</artifactId> |
Felix Meschberger | d43b6d9 | 2010-04-03 09:55:38 +0000 | [diff] [blame] | 259 | <version>1.0.0</version> |
Felix Meschberger | 35ddac2 | 2010-03-22 15:31:13 +0000 | [diff] [blame] | 260 | <scope>provided</scope> |
Felix Meschberger | 6c39c6c | 2008-05-21 21:25:49 +0000 | [diff] [blame] | 261 | <optional>true</optional> |
Felix Meschberger | ca29a96 | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 262 | </dependency> |
Felix Meschberger | 35ddac2 | 2010-03-22 15:31:13 +0000 | [diff] [blame] | 263 | |
| 264 | <!-- OSGi and Apache Felix OBR API --> |
| 265 | <dependency> |
| 266 | <groupId>org.apache.felix</groupId> |
| 267 | <artifactId>org.osgi.service.obr</artifactId> |
| 268 | <version>1.0.2</version> |
| 269 | <scope>provided</scope> |
| 270 | </dependency> |
| 271 | <dependency> |
| 272 | <groupId>org.apache.felix</groupId> |
| 273 | <artifactId>org.apache.felix.bundlerepository</artifactId> |
Felix Meschberger | d43b6d9 | 2010-04-03 09:55:38 +0000 | [diff] [blame] | 274 | <version>1.6.0</version> |
Felix Meschberger | 35ddac2 | 2010-03-22 15:31:13 +0000 | [diff] [blame] | 275 | <scope>provided</scope> |
| 276 | <optional>true</optional> |
| 277 | </dependency> |
| 278 | |
Felix Meschberger | 46d6815 | 2011-12-17 12:34:04 +0000 | [diff] [blame] | 279 | <!-- BND annotations --> |
| 280 | <dependency> |
| 281 | <groupId>biz.aQute</groupId> |
| 282 | <artifactId>bndlib</artifactId> |
| 283 | <version>1.50.0</version> |
| 284 | <scope>provided</scope> |
| 285 | </dependency> |
| 286 | |
Felix Meschberger | ca29a96 | 2008-05-16 11:59:32 +0000 | [diff] [blame] | 287 | </dependencies> |
Felix Meschberger | 51a7280 | 2008-08-27 19:52:34 +0000 | [diff] [blame] | 288 | </project> |