Guillaume Nodet | 6896d70 | 2009-09-22 09:11:12 +0000 | [diff] [blame] | 1 | <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"> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 2 | |
| 3 | <!-- |
| 4 | |
| 5 | Licensed to the Apache Software Foundation (ASF) under one or more |
| 6 | contributor license agreements. See the NOTICE file distributed with |
| 7 | this work for additional information regarding copyright ownership. |
| 8 | The ASF licenses this file to You under the Apache License, Version 2.0 |
| 9 | (the "License"); you may not use this file except in compliance with |
| 10 | the License. You may obtain a copy of the License at |
| 11 | |
| 12 | http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | |
| 14 | Unless required by applicable law or agreed to in writing, software |
| 15 | distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | See the License for the specific language governing permissions and |
| 18 | limitations under the License. |
| 19 | --> |
| 20 | |
| 21 | <modelVersion>4.0.0</modelVersion> |
| 22 | |
| 23 | <parent> |
Gert Vanthienen | f54a839 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 24 | <groupId>org.apache.felix.karaf</groupId> |
Guillaume Nodet | 60dbfd7 | 2009-05-11 14:33:35 +0000 | [diff] [blame] | 25 | <artifactId>karaf</artifactId> |
Guillaume Nodet | 1432d50 | 2009-11-27 12:32:26 +0000 | [diff] [blame] | 26 | <version>1.3.0-SNAPSHOT</version> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 27 | </parent> |
| 28 | |
Gert Vanthienen | f54a839 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 29 | <groupId>org.apache.felix.karaf</groupId> |
| 30 | <artifactId>apache-felix-karaf</artifactId> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 31 | <packaging>pom</packaging> |
Guillaume Nodet | 1432d50 | 2009-11-27 12:32:26 +0000 | [diff] [blame] | 32 | <version>1.3.0-SNAPSHOT</version> |
Gert Vanthienen | f54a839 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 33 | <name>Apache Felix Karaf :: Assembly</name> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 34 | |
Guillaume Nodet | 23a0f3d | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 35 | <properties> |
| 36 | <appendedResourcesDirectory>${basedir}/../etc/appended-resources</appendedResourcesDirectory> |
| 37 | </properties> |
| 38 | |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 39 | <dependencies> |
| 40 | <dependency> |
Gert Vanthienen | f54a839 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 41 | <groupId>org.apache.felix.karaf</groupId> |
Guillaume Nodet | 20e0115 | 2009-10-15 21:01:09 +0000 | [diff] [blame] | 42 | <artifactId>manual</artifactId> |
| 43 | <type>pdf</type> |
| 44 | </dependency> |
| 45 | <dependency> |
| 46 | <groupId>org.apache.felix.karaf</groupId> |
| 47 | <artifactId>manual</artifactId> |
| 48 | <type>html</type> |
| 49 | </dependency> |
| 50 | <dependency> |
| 51 | <groupId>org.apache.felix.karaf</groupId> |
Gert Vanthienen | f54a839 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 52 | <artifactId>org.apache.felix.karaf.main</artifactId> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 53 | </dependency> |
| 54 | <dependency> |
Gert Vanthienen | f54a839 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 55 | <groupId>org.apache.felix.karaf</groupId> |
| 56 | <artifactId>org.apache.felix.karaf.client</artifactId> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 57 | </dependency> |
| 58 | <dependency> |
Gert Vanthienen | f54a839 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 59 | <groupId>org.apache.felix.karaf.deployer</groupId> |
Gert Vanthienen | f54a839 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 60 | <artifactId>org.apache.felix.karaf.deployer.spring</artifactId> |
Guillaume Nodet | 2e6afd1 | 2009-04-30 09:10:03 +0000 | [diff] [blame] | 61 | </dependency> |
| 62 | <dependency> |
Gert Vanthienen | f54a839 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 63 | <groupId>org.apache.felix.karaf.deployer</groupId> |
| 64 | <artifactId>org.apache.felix.karaf.deployer.blueprint</artifactId> |
Guillaume Nodet | 2e6afd1 | 2009-04-30 09:10:03 +0000 | [diff] [blame] | 65 | </dependency> |
| 66 | <dependency> |
Gert Vanthienen | f54a839 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 67 | <groupId>org.apache.felix.karaf.deployer</groupId> |
| 68 | <artifactId>org.apache.felix.karaf.deployer.features</artifactId> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 69 | </dependency> |
| 70 | <dependency> |
Guillaume Nodet | 60a69b6 | 2010-02-05 09:40:46 +0000 | [diff] [blame] | 71 | <groupId>org.apache.felix.karaf.deployer</groupId> |
| 72 | <artifactId>org.apache.felix.karaf.deployer.war</artifactId> |
| 73 | </dependency> |
| 74 | <dependency> |
Guillaume Nodet | e692a96 | 2009-08-07 09:55:51 +0000 | [diff] [blame] | 75 | <groupId>org.apache.felix.karaf.features</groupId> |
| 76 | <artifactId>org.apache.felix.karaf.features.core</artifactId> |
| 77 | </dependency> |
| 78 | <dependency> |
| 79 | <groupId>org.apache.felix.karaf.features</groupId> |
| 80 | <artifactId>org.apache.felix.karaf.features.command</artifactId> |
| 81 | </dependency> |
| 82 | <dependency> |
| 83 | <groupId>org.apache.felix.karaf.features</groupId> |
| 84 | <artifactId>org.apache.felix.karaf.features.management</artifactId> |
| 85 | </dependency> |
| 86 | <dependency> |
Guillaume Nodet | 8c0c8eb | 2009-10-22 18:01:48 +0000 | [diff] [blame] | 87 | <groupId>org.apache.felix.karaf.admin</groupId> |
| 88 | <artifactId>org.apache.felix.karaf.admin.core</artifactId> |
| 89 | </dependency> |
| 90 | <dependency> |
| 91 | <groupId>org.apache.felix.karaf.admin</groupId> |
| 92 | <artifactId>org.apache.felix.karaf.admin.command</artifactId> |
| 93 | </dependency> |
| 94 | <dependency> |
| 95 | <groupId>org.apache.felix.karaf.admin</groupId> |
| 96 | <artifactId>org.apache.felix.karaf.admin.management</artifactId> |
Guillaume Nodet | 22d03c6 | 2009-05-06 14:40:12 +0000 | [diff] [blame] | 97 | </dependency> |
| 98 | <dependency> |
Guillaume Nodet | 23a0f3d | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 99 | <groupId>org.apache.felix.karaf.shell</groupId> |
Guillaume Nodet | 8c0c8eb | 2009-10-22 18:01:48 +0000 | [diff] [blame] | 100 | <artifactId>org.apache.felix.karaf.shell.console</artifactId> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 101 | </dependency> |
| 102 | <dependency> |
Guillaume Nodet | 23a0f3d | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 103 | <groupId>org.apache.felix.karaf.shell</groupId> |
| 104 | <artifactId>org.apache.felix.karaf.shell.obr</artifactId> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 105 | </dependency> |
| 106 | <dependency> |
Guillaume Nodet | 23a0f3d | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 107 | <groupId>org.apache.felix.karaf.shell</groupId> |
| 108 | <artifactId>org.apache.felix.karaf.shell.osgi</artifactId> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 109 | </dependency> |
| 110 | <dependency> |
Guillaume Nodet | 23a0f3d | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 111 | <groupId>org.apache.felix.karaf.shell</groupId> |
| 112 | <artifactId>org.apache.felix.karaf.shell.log</artifactId> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 113 | </dependency> |
| 114 | <dependency> |
Guillaume Nodet | 23a0f3d | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 115 | <groupId>org.apache.felix.karaf.shell</groupId> |
| 116 | <artifactId>org.apache.felix.karaf.shell.config</artifactId> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 117 | </dependency> |
| 118 | <dependency> |
Guillaume Nodet | 23a0f3d | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 119 | <groupId>org.apache.felix.karaf.shell</groupId> |
| 120 | <artifactId>org.apache.felix.karaf.shell.packages</artifactId> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 121 | </dependency> |
| 122 | <dependency> |
Guillaume Nodet | 23a0f3d | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 123 | <groupId>org.apache.felix.karaf.shell</groupId> |
| 124 | <artifactId>org.apache.felix.karaf.shell.commands</artifactId> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 125 | </dependency> |
| 126 | <dependency> |
Guillaume Nodet | 23a0f3d | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 127 | <groupId>org.apache.felix.karaf.shell</groupId> |
| 128 | <artifactId>org.apache.felix.karaf.shell.ssh</artifactId> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 129 | </dependency> |
| 130 | <dependency> |
Gert Vanthienen | d52c71a | 2009-12-04 15:49:54 +0000 | [diff] [blame] | 131 | <groupId>org.apache.felix.karaf.shell</groupId> |
| 132 | <artifactId>org.apache.felix.karaf.shell.dev</artifactId> |
| 133 | </dependency> |
| 134 | <dependency> |
Gert Vanthienen | f54a839 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 135 | <groupId>org.apache.felix.karaf.jaas</groupId> |
| 136 | <artifactId>org.apache.felix.karaf.jaas.boot</artifactId> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 137 | </dependency> |
| 138 | <dependency> |
Gert Vanthienen | f54a839 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 139 | <groupId>org.apache.felix.karaf.jaas</groupId> |
| 140 | <artifactId>org.apache.felix.karaf.jaas.config</artifactId> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 141 | </dependency> |
| 142 | <dependency> |
Gert Vanthienen | f54a839 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 143 | <groupId>org.apache.felix.karaf.jaas</groupId> |
| 144 | <artifactId>org.apache.felix.karaf.jaas.modules</artifactId> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 145 | </dependency> |
| 146 | <dependency> |
Gert Vanthienen | f54a839 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 147 | <groupId>org.apache.felix.karaf</groupId> |
| 148 | <artifactId>org.apache.felix.karaf.management</artifactId> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 149 | </dependency> |
| 150 | <dependency> |
| 151 | <groupId>org.springframework.osgi</groupId> |
| 152 | <artifactId>spring-osgi-extender</artifactId> |
| 153 | </dependency> |
| 154 | <dependency> |
| 155 | <groupId>org.springframework.osgi</groupId> |
| 156 | <artifactId>spring-osgi-core</artifactId> |
| 157 | </dependency> |
| 158 | <dependency> |
| 159 | <groupId>org.springframework.osgi</groupId> |
| 160 | <artifactId>spring-osgi-io</artifactId> |
| 161 | </dependency> |
| 162 | <dependency> |
Guillaume Nodet | 9967653 | 2009-08-24 07:27:30 +0000 | [diff] [blame] | 163 | <groupId>org.springframework.osgi</groupId> |
| 164 | <artifactId>spring-osgi-annotation</artifactId> |
| 165 | </dependency> |
| 166 | <dependency> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 167 | <groupId>org.springframework</groupId> |
| 168 | <artifactId>spring-context</artifactId> |
| 169 | </dependency> |
| 170 | <dependency> |
| 171 | <groupId>org.springframework</groupId> |
| 172 | <artifactId>spring-beans</artifactId> |
| 173 | </dependency> |
| 174 | <dependency> |
| 175 | <groupId>org.springframework</groupId> |
| 176 | <artifactId>spring-core</artifactId> |
| 177 | </dependency> |
| 178 | <dependency> |
| 179 | <groupId>org.springframework</groupId> |
| 180 | <artifactId>spring-aop</artifactId> |
| 181 | </dependency> |
| 182 | <dependency> |
| 183 | <groupId>org.apache.felix</groupId> |
| 184 | <artifactId>org.apache.felix.bundlerepository</artifactId> |
| 185 | </dependency> |
| 186 | <dependency> |
Guillaume Nodet | dce21f4 | 2009-08-31 07:19:00 +0000 | [diff] [blame] | 187 | <groupId>org.apache.felix</groupId> |
| 188 | <artifactId>org.apache.felix.fileinstall</artifactId> |
| 189 | </dependency> |
| 190 | <dependency> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 191 | <groupId>org.apache.mina</groupId> |
| 192 | <artifactId>mina-core</artifactId> |
| 193 | </dependency> |
| 194 | <dependency> |
Guillaume Nodet | cb2db1b | 2009-07-10 06:56:47 +0000 | [diff] [blame] | 195 | <groupId>jline</groupId> |
| 196 | <artifactId>jline</artifactId> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 197 | </dependency> |
| 198 | <dependency> |
| 199 | <groupId>org.apache.felix</groupId> |
| 200 | <artifactId>org.osgi.compendium</artifactId> |
| 201 | </dependency> |
| 202 | <dependency> |
| 203 | <groupId>org.apache.felix</groupId> |
| 204 | <artifactId>org.apache.felix.configadmin</artifactId> |
| 205 | </dependency> |
| 206 | <dependency> |
| 207 | <groupId>org.apache.felix</groupId> |
Guillaume Nodet | 7584865 | 2009-06-11 08:36:21 +0000 | [diff] [blame] | 208 | <artifactId>org.apache.felix.metatype</artifactId> |
| 209 | </dependency> |
| 210 | <dependency> |
| 211 | <groupId>org.apache.felix</groupId> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 212 | <artifactId>org.apache.felix.prefs</artifactId> |
| 213 | </dependency> |
| 214 | <dependency> |
| 215 | <groupId>org.ops4j.pax.logging</groupId> |
| 216 | <artifactId>pax-logging-api</artifactId> |
| 217 | </dependency> |
| 218 | <dependency> |
| 219 | <groupId>org.ops4j.pax.logging</groupId> |
| 220 | <artifactId>pax-logging-service</artifactId> |
| 221 | </dependency> |
| 222 | <dependency> |
| 223 | <groupId>org.ops4j.pax.url</groupId> |
| 224 | <artifactId>pax-url-mvn</artifactId> |
| 225 | </dependency> |
| 226 | <dependency> |
| 227 | <groupId>org.ops4j.pax.url</groupId> |
| 228 | <artifactId>pax-url-wrap</artifactId> |
| 229 | </dependency> |
| 230 | <dependency> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 231 | <groupId>org.apache.sshd</groupId> |
| 232 | <artifactId>sshd-core</artifactId> |
| 233 | </dependency> |
| 234 | <dependency> |
| 235 | <groupId>org.osgi</groupId> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 236 | <artifactId>org.osgi.impl.bundle.jmx</artifactId> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 237 | </dependency> |
Guillaume Nodet | b417d98 | 2009-05-05 15:46:15 +0000 | [diff] [blame] | 238 | <dependency> |
| 239 | <groupId>org.eclipse</groupId> |
| 240 | <artifactId>osgi</artifactId> |
| 241 | </dependency> |
| 242 | <dependency> |
| 243 | <groupId>org.apache.felix</groupId> |
| 244 | <artifactId>org.apache.felix.framework</artifactId> |
| 245 | </dependency> |
Guillaume Nodet | 6b2946d | 2009-06-18 20:57:23 +0000 | [diff] [blame] | 246 | <dependency> |
Guillaume Nodet | 60dc348 | 2009-09-14 13:13:16 +0000 | [diff] [blame] | 247 | <groupId>org.apache.geronimo.blueprint</groupId> |
| 248 | <artifactId>geronimo-blueprint</artifactId> |
Guillaume Nodet | 6b2946d | 2009-06-18 20:57:23 +0000 | [diff] [blame] | 249 | </dependency> |
Guillaume Nodet | 60a69b6 | 2010-02-05 09:40:46 +0000 | [diff] [blame] | 250 | <dependency> |
| 251 | <groupId>org.apache.geronimo.specs</groupId> |
| 252 | <artifactId>geronimo-servlet_2.5_spec</artifactId> |
| 253 | <optional>true</optional> |
| 254 | </dependency> |
| 255 | <dependency> |
Guillaume Nodet | 60a69b6 | 2010-02-05 09:40:46 +0000 | [diff] [blame] | 256 | <groupId>org.apache.servicemix.bundles</groupId> |
| 257 | <artifactId>org.apache.servicemix.bundles.jetty-bundle</artifactId> |
| 258 | <optional>true</optional> |
| 259 | </dependency> |
| 260 | <dependency> |
| 261 | <groupId>org.ops4j.pax.web</groupId> |
| 262 | <artifactId>pax-web-api</artifactId> |
| 263 | <optional>true</optional> |
| 264 | </dependency> |
| 265 | <dependency> |
| 266 | <groupId>org.ops4j.pax.web</groupId> |
| 267 | <artifactId>pax-web-spi</artifactId> |
| 268 | <optional>true</optional> |
| 269 | </dependency> |
| 270 | <dependency> |
| 271 | <groupId>org.ops4j.pax.web</groupId> |
| 272 | <artifactId>pax-web-runtime</artifactId> |
| 273 | <optional>true</optional> |
| 274 | </dependency> |
| 275 | <dependency> |
| 276 | <groupId>org.ops4j.pax.web</groupId> |
| 277 | <artifactId>pax-web-jetty</artifactId> |
| 278 | <optional>true</optional> |
| 279 | </dependency> |
| 280 | <dependency> |
| 281 | <groupId>org.ops4j.pax.web</groupId> |
| 282 | <artifactId>pax-web-jsp</artifactId> |
| 283 | <optional>true</optional> |
| 284 | </dependency> |
| 285 | <dependency> |
| 286 | <groupId>org.ops4j.pax.web</groupId> |
| 287 | <artifactId>pax-web-extender-war</artifactId> |
| 288 | <optional>true</optional> |
| 289 | </dependency> |
| 290 | <dependency> |
| 291 | <groupId>org.ops4j.pax.web</groupId> |
| 292 | <artifactId>pax-web-extender-whiteboard</artifactId> |
| 293 | <optional>true</optional> |
| 294 | </dependency> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 295 | </dependencies> |
| 296 | <build> |
| 297 | <resources> |
| 298 | <resource> |
| 299 | <directory>${pom.basedir}/src/main/filtered-resources</directory> |
| 300 | <filtering>true</filtering> |
| 301 | <includes> |
| 302 | <include>**/*</include> |
| 303 | </includes> |
| 304 | </resource> |
| 305 | </resources> |
Guillaume Nodet | 88896e3 | 2009-08-27 15:03:40 +0000 | [diff] [blame] | 306 | <filters> |
| 307 | <filter>target/filter.txt</filter> |
| 308 | </filters> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 309 | <plugins> |
| 310 | <plugin> |
| 311 | <groupId>org.apache.maven.plugins</groupId> |
Guillaume Nodet | 88896e3 | 2009-08-27 15:03:40 +0000 | [diff] [blame] | 312 | <artifactId>maven-antrun-plugin</artifactId> |
Guillaume Nodet | 88896e3 | 2009-08-27 15:03:40 +0000 | [diff] [blame] | 313 | <executions> |
| 314 | <execution> |
| 315 | <id>create-prop</id> |
| 316 | <phase>generate-resources</phase> |
| 317 | <configuration> |
| 318 | <tasks> |
Guillaume Nodet | 6896d70 | 2009-09-22 09:11:12 +0000 | [diff] [blame] | 319 | <taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="maven.plugin.classpath" /> |
| 320 | <property name="ant.regexp.regexpimpl" value="org.apache.tools.ant.util.regexp.Jdk14RegexpRegexp" /> |
| 321 | <property name="mv" value="${project.version}" /> |
| 322 | <echo message="Maven version: ${mv}" /> |
| 323 | <propertyregex property="ov.p1" input="${mv}" regexp="(\d+)(?:\.(\d+)(?:\.(\d+))?)?(?:[^a-zA-Z0-9](.*))?" replace="\1" defaultValue="0" /> |
| 324 | <propertyregex property="ov.p2" input="${mv}" regexp="(\d+)(?:\.(\d+)(?:\.(\d+))?)?(?:[^a-zA-Z0-9](.*))?" replace=".\2" defaultValue=".0" /> |
| 325 | <propertyregex property="ov.p3" input="${mv}" regexp="(\d+)(?:\.(\d+)(?:\.(\d+))?)?(?:[^a-zA-Z0-9](.*))?" replace=".\3" defaultValue=".0" /> |
| 326 | <propertyregex property="ov.p4" input="${mv}" regexp="(\d+)(?:\.(\d+)(?:\.(\d+))?)?(?:[^a-zA-Z0-9](.*))?" replace=".\4" defaultValue="" /> |
| 327 | <propertyregex property="ov.p1a" input="${ov.p1}" regexp="(.+)" replace="\1" defaultValue="0" /> |
| 328 | <propertyregex property="ov.p2a" input="${ov.p2}" regexp="(\..+)" replace="\1" defaultValue=".0" /> |
| 329 | <propertyregex property="ov.p3a" input="${ov.p3}" regexp="(\..+)" replace="\1" defaultValue=".0" /> |
| 330 | <propertyregex property="ov.p4a" input="${ov.p4}" regexp="(\..+)" replace="\1" defaultValue="" /> |
| 331 | <property name="ov" value="${ov.p1a}${ov.p2a}${ov.p3a}${ov.p4a}" /> |
| 332 | <echo message="OSGi version: ${ov}" /> |
| 333 | <mkdir dir="target" /> |
| 334 | <echo message="karaf.osgi.version = ${ov}" file="target/filter.txt" /> |
Guillaume Nodet | 88896e3 | 2009-08-27 15:03:40 +0000 | [diff] [blame] | 335 | </tasks> |
| 336 | </configuration> |
| 337 | <goals> |
| 338 | <goal>run</goal> |
| 339 | </goals> |
| 340 | </execution> |
| 341 | </executions> |
Guillaume Nodet | 88896e3 | 2009-08-27 15:03:40 +0000 | [diff] [blame] | 342 | </plugin> |
| 343 | <plugin> |
| 344 | <groupId>org.apache.maven.plugins</groupId> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 345 | <artifactId>maven-resources-plugin</artifactId> |
| 346 | <executions> |
| 347 | <execution> |
| 348 | <id>filter</id> |
| 349 | <phase>generate-resources</phase> |
| 350 | <goals> |
| 351 | <goal>resources</goal> |
| 352 | </goals> |
| 353 | </execution> |
| 354 | </executions> |
| 355 | </plugin> |
| 356 | <plugin> |
| 357 | <groupId>org.apache.maven.plugins</groupId> |
| 358 | <artifactId>maven-dependency-plugin</artifactId> |
| 359 | <executions> |
| 360 | <execution> |
| 361 | <id>copy</id> |
| 362 | <phase>generate-resources</phase> |
| 363 | <goals> |
| 364 | <goal>copy</goal> |
| 365 | </goals> |
| 366 | <configuration> |
| 367 | <artifactItems> |
| 368 | <artifactItem> |
Gert Vanthienen | f54a839 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 369 | <groupId>org.apache.felix.karaf</groupId> |
| 370 | <artifactId>org.apache.felix.karaf.main</artifactId> |
Guillaume Nodet | 20e0115 | 2009-10-15 21:01:09 +0000 | [diff] [blame] | 371 | <outputDirectory>target/dependencies/lib</outputDirectory> |
Guillaume Nodet | 1becb5b | 2009-05-04 07:56:47 +0000 | [diff] [blame] | 372 | <destFileName>karaf.jar</destFileName> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 373 | </artifactItem> |
| 374 | <artifactItem> |
Gert Vanthienen | f54a839 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 375 | <groupId>org.apache.felix.karaf</groupId> |
| 376 | <artifactId>org.apache.felix.karaf.client</artifactId> |
Guillaume Nodet | 20e0115 | 2009-10-15 21:01:09 +0000 | [diff] [blame] | 377 | <outputDirectory>target/dependencies/lib</outputDirectory> |
Guillaume Nodet | 1becb5b | 2009-05-04 07:56:47 +0000 | [diff] [blame] | 378 | <destFileName>karaf-client.jar</destFileName> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 379 | </artifactItem> |
| 380 | <artifactItem> |
Gert Vanthienen | f54a839 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 381 | <groupId>org.apache.felix.karaf.jaas</groupId> |
| 382 | <artifactId>org.apache.felix.karaf.jaas.boot</artifactId> |
Guillaume Nodet | 20e0115 | 2009-10-15 21:01:09 +0000 | [diff] [blame] | 383 | <outputDirectory>target/dependencies/lib</outputDirectory> |
Guillaume Nodet | 1becb5b | 2009-05-04 07:56:47 +0000 | [diff] [blame] | 384 | <destFileName>karaf-jaas-boot.jar</destFileName> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 385 | </artifactItem> |
Guillaume Nodet | 20e0115 | 2009-10-15 21:01:09 +0000 | [diff] [blame] | 386 | <artifactItem> |
| 387 | <groupId>org.apache.felix.karaf</groupId> |
| 388 | <artifactId>manual</artifactId> |
| 389 | <type>pdf</type> |
| 390 | <outputDirectory>target/dependencies</outputDirectory> |
Guillaume Nodet | 7dccd5a | 2010-02-17 00:37:48 +0000 | [diff] [blame] | 391 | <destFileName>karaf-manual-${version}.pdf</destFileName> |
Guillaume Nodet | 20e0115 | 2009-10-15 21:01:09 +0000 | [diff] [blame] | 392 | </artifactItem> |
| 393 | <artifactItem> |
| 394 | <groupId>org.apache.felix.karaf</groupId> |
| 395 | <artifactId>manual</artifactId> |
| 396 | <type>html</type> |
| 397 | <outputDirectory>target/dependencies</outputDirectory> |
Guillaume Nodet | 7dccd5a | 2010-02-17 00:37:48 +0000 | [diff] [blame] | 398 | <destFileName>karaf-manual-${version}.html</destFileName> |
Guillaume Nodet | 20e0115 | 2009-10-15 21:01:09 +0000 | [diff] [blame] | 399 | </artifactItem> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 400 | </artifactItems> |
| 401 | </configuration> |
| 402 | </execution> |
| 403 | </executions> |
| 404 | </plugin> |
| 405 | <plugin> |
| 406 | <groupId>org.codehaus.mojo</groupId> |
| 407 | <artifactId>build-helper-maven-plugin</artifactId> |
| 408 | <executions> |
| 409 | <execution> |
| 410 | <id>attach-artifacts</id> |
| 411 | <phase>package</phase> |
| 412 | <goals> |
| 413 | <goal>attach-artifact</goal> |
| 414 | </goals> |
| 415 | <configuration> |
| 416 | <artifacts> |
| 417 | <artifact> |
| 418 | <file>target/classes/features.xml</file> |
| 419 | <type>xml</type> |
| 420 | <classifier>features</classifier> |
| 421 | </artifact> |
| 422 | </artifacts> |
| 423 | </configuration> |
| 424 | </execution> |
| 425 | </executions> |
| 426 | </plugin> |
| 427 | <plugin> |
| 428 | <groupId>org.apache.maven.plugins</groupId> |
| 429 | <artifactId>maven-assembly-plugin</artifactId> |
| 430 | <executions> |
| 431 | <execution> |
Guillaume Nodet | e3406a0 | 2009-09-21 14:02:52 +0000 | [diff] [blame] | 432 | <id>make-assembly</id> |
| 433 | <phase>none</phase> |
| 434 | </execution> |
| 435 | <execution> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 436 | <id>unix-bin</id> |
| 437 | <phase>package</phase> |
| 438 | <goals> |
| 439 | <goal>single</goal> |
| 440 | </goals> |
| 441 | <configuration> |
| 442 | <descriptors> |
| 443 | <descriptor>src/main/descriptors/unix-bin.xml</descriptor> |
| 444 | </descriptors> |
| 445 | <finalName>${pom.artifactId}-${pom.version}</finalName> |
| 446 | <tarLongFileMode>gnu</tarLongFileMode> |
| 447 | </configuration> |
| 448 | </execution> |
| 449 | <execution> |
| 450 | <id>windows-bin</id> |
| 451 | <phase>package</phase> |
| 452 | <goals> |
| 453 | <goal>single</goal> |
| 454 | </goals> |
| 455 | <configuration> |
| 456 | <descriptors> |
| 457 | <descriptor>src/main/descriptors/windows-bin.xml</descriptor> |
| 458 | </descriptors> |
| 459 | <finalName>${pom.artifactId}-${pom.version}</finalName> |
| 460 | <appendAssemblyId>true</appendAssemblyId> |
Guillaume Nodet | 6896d70 | 2009-09-22 09:11:12 +0000 | [diff] [blame] | 461 | <assemblyId /> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 462 | </configuration> |
| 463 | </execution> |
| 464 | <execution> |
| 465 | <id>unix-src</id> |
| 466 | <phase>package</phase> |
| 467 | <goals> |
| 468 | <goal>single</goal> |
| 469 | </goals> |
| 470 | <configuration> |
| 471 | <descriptors> |
| 472 | <descriptor>src/main/descriptors/unix-src.xml</descriptor> |
| 473 | </descriptors> |
| 474 | <tarLongFileMode>gnu</tarLongFileMode> |
| 475 | </configuration> |
| 476 | </execution> |
| 477 | <execution> |
| 478 | <id>windows-src</id> |
| 479 | <phase>package</phase> |
| 480 | <goals> |
| 481 | <goal>single</goal> |
| 482 | </goals> |
| 483 | <configuration> |
| 484 | <descriptors> |
| 485 | <descriptor>src/main/descriptors/windows-src.xml</descriptor> |
| 486 | </descriptors> |
| 487 | </configuration> |
| 488 | </execution> |
| 489 | </executions> |
| 490 | </plugin> |
| 491 | </plugins> |
| 492 | </build> |
| 493 | |
| 494 | <profiles> |
| 495 | <profile> |
| 496 | <id>assembly-src</id> |
| 497 | <build> |
| 498 | <plugins> |
| 499 | <plugin> |
| 500 | <groupId>org.apache.maven.plugins</groupId> |
| 501 | <artifactId>maven-assembly-plugin</artifactId> |
| 502 | <executions> |
| 503 | <execution> |
| 504 | <id>unix-src</id> |
| 505 | <phase>package</phase> |
| 506 | <goals> |
| 507 | <goal>attached</goal> |
| 508 | </goals> |
| 509 | <configuration> |
| 510 | <descriptors> |
| 511 | <descriptor>src/main/descriptors/unix-src.xml</descriptor> |
| 512 | </descriptors> |
| 513 | </configuration> |
| 514 | </execution> |
| 515 | <execution> |
| 516 | <id>windows-src</id> |
| 517 | <phase>package</phase> |
| 518 | <goals> |
| 519 | <goal>attached</goal> |
| 520 | </goals> |
| 521 | <configuration> |
| 522 | <descriptors> |
| 523 | <descriptor>src/main/descriptors/windows-src.xml</descriptor> |
| 524 | </descriptors> |
| 525 | </configuration> |
| 526 | </execution> |
| 527 | </executions> |
| 528 | </plugin> |
| 529 | </plugins> |
| 530 | </build> |
| 531 | </profile> |
| 532 | </profiles> |
| 533 | </project> |