Guillaume Nodet | 916f28a | 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 | 91fab3b | 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 | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 24 | <groupId>org.apache.felix.karaf</groupId> |
Guillaume Nodet | b9103c8 | 2009-05-11 14:33:35 +0000 | [diff] [blame] | 25 | <artifactId>karaf</artifactId> |
Chris Custine | 130ecdd | 2010-02-19 07:50:10 +0000 | [diff] [blame] | 26 | <version>1.5.0-SNAPSHOT</version> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 27 | </parent> |
| 28 | |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 29 | <groupId>org.apache.felix.karaf</groupId> |
| 30 | <artifactId>apache-felix-karaf</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 31 | <packaging>pom</packaging> |
Chris Custine | 130ecdd | 2010-02-19 07:50:10 +0000 | [diff] [blame] | 32 | <version>1.5.0-SNAPSHOT</version> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 33 | <name>Apache Felix Karaf :: Assembly</name> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 34 | |
Guillaume Nodet | 91a52c0 | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 35 | <properties> |
| 36 | <appendedResourcesDirectory>${basedir}/../etc/appended-resources</appendedResourcesDirectory> |
| 37 | </properties> |
| 38 | |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 39 | <dependencies> |
| 40 | <dependency> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 41 | <groupId>org.apache.felix.karaf</groupId> |
Guillaume Nodet | 225b799 | 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 | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 52 | <artifactId>org.apache.felix.karaf.main</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 53 | </dependency> |
| 54 | <dependency> |
Gert Vanthienen | 607b852 | 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 | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 57 | </dependency> |
| 58 | <dependency> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 59 | <groupId>org.apache.felix.karaf.deployer</groupId> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 60 | <artifactId>org.apache.felix.karaf.deployer.spring</artifactId> |
Guillaume Nodet | 18c56a1 | 2009-04-30 09:10:03 +0000 | [diff] [blame] | 61 | </dependency> |
| 62 | <dependency> |
Gert Vanthienen | 607b852 | 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 | 18c56a1 | 2009-04-30 09:10:03 +0000 | [diff] [blame] | 65 | </dependency> |
| 66 | <dependency> |
Gert Vanthienen | 607b852 | 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 | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 69 | </dependency> |
| 70 | <dependency> |
Guillaume Nodet | a5561af | 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 | 2cb94d0 | 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 | a11a3ce | 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 | ccfc3d8 | 2009-05-06 14:40:12 +0000 | [diff] [blame] | 97 | </dependency> |
| 98 | <dependency> |
Guillaume Nodet | 91a52c0 | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 99 | <groupId>org.apache.felix.karaf.shell</groupId> |
Guillaume Nodet | a11a3ce | 2009-10-22 18:01:48 +0000 | [diff] [blame] | 100 | <artifactId>org.apache.felix.karaf.shell.console</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 101 | </dependency> |
| 102 | <dependency> |
Guillaume Nodet | 91a52c0 | 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 | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 105 | </dependency> |
| 106 | <dependency> |
Guillaume Nodet | 91a52c0 | 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 | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 109 | </dependency> |
| 110 | <dependency> |
Guillaume Nodet | 91a52c0 | 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 | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 113 | </dependency> |
| 114 | <dependency> |
Guillaume Nodet | 91a52c0 | 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 | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 117 | </dependency> |
| 118 | <dependency> |
Guillaume Nodet | 91a52c0 | 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 | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 121 | </dependency> |
| 122 | <dependency> |
Guillaume Nodet | 91a52c0 | 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 | 077bac5 | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 125 | </dependency> |
| 126 | <dependency> |
Guillaume Nodet | 91a52c0 | 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 | 077bac5 | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 129 | </dependency> |
| 130 | <dependency> |
Gert Vanthienen | 70c155b | 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 | 607b852 | 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 | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 137 | </dependency> |
| 138 | <dependency> |
Gert Vanthienen | 607b852 | 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 | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 141 | </dependency> |
| 142 | <dependency> |
Gert Vanthienen | 607b852 | 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 | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 145 | </dependency> |
| 146 | <dependency> |
Gert Vanthienen | 607b852 | 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 | 91fab3b | 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 | 6a8e2f1 | 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 | 91fab3b | 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 | 30fdfb9 | 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 | 91fab3b | 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 | f9b2bf4 | 2009-07-10 06:56:47 +0000 | [diff] [blame] | 195 | <groupId>jline</groupId> |
| 196 | <artifactId>jline</artifactId> |
Guillaume Nodet | 91fab3b | 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 | afcbf45 | 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 | 91fab3b | 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 | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 231 | <groupId>org.apache.sshd</groupId> |
| 232 | <artifactId>sshd-core</artifactId> |
| 233 | </dependency> |
| 234 | <dependency> |
Guillaume Nodet | 350b150 | 2009-05-05 15:46:15 +0000 | [diff] [blame] | 235 | <groupId>org.eclipse</groupId> |
| 236 | <artifactId>osgi</artifactId> |
| 237 | </dependency> |
| 238 | <dependency> |
| 239 | <groupId>org.apache.felix</groupId> |
| 240 | <artifactId>org.apache.felix.framework</artifactId> |
| 241 | </dependency> |
Guillaume Nodet | fcf2d34 | 2009-06-18 20:57:23 +0000 | [diff] [blame] | 242 | <dependency> |
Guillaume Nodet | c7f649d | 2010-02-20 20:23:14 +0000 | [diff] [blame] | 243 | <groupId>org.apache.aries.blueprint</groupId> |
| 244 | <artifactId>org.apache.aries.blueprint</artifactId> |
| 245 | </dependency> |
| 246 | <dependency> |
| 247 | <groupId>org.apache.aries.jmx</groupId> |
| 248 | <artifactId>org.apache.aries.jmx</artifactId> |
| 249 | </dependency> |
| 250 | <dependency> |
| 251 | <groupId>org.apache.aries.jmx</groupId> |
| 252 | <artifactId>org.apache.aries.jmx.blueprint</artifactId> |
Guillaume Nodet | fcf2d34 | 2009-06-18 20:57:23 +0000 | [diff] [blame] | 253 | </dependency> |
Guillaume Nodet | a5561af | 2010-02-05 09:40:46 +0000 | [diff] [blame] | 254 | <dependency> |
| 255 | <groupId>org.apache.geronimo.specs</groupId> |
| 256 | <artifactId>geronimo-servlet_2.5_spec</artifactId> |
| 257 | <optional>true</optional> |
| 258 | </dependency> |
| 259 | <dependency> |
Guillaume Nodet | a5561af | 2010-02-05 09:40:46 +0000 | [diff] [blame] | 260 | <groupId>org.apache.servicemix.bundles</groupId> |
| 261 | <artifactId>org.apache.servicemix.bundles.jetty-bundle</artifactId> |
| 262 | <optional>true</optional> |
| 263 | </dependency> |
| 264 | <dependency> |
| 265 | <groupId>org.ops4j.pax.web</groupId> |
| 266 | <artifactId>pax-web-api</artifactId> |
| 267 | <optional>true</optional> |
| 268 | </dependency> |
| 269 | <dependency> |
| 270 | <groupId>org.ops4j.pax.web</groupId> |
| 271 | <artifactId>pax-web-spi</artifactId> |
| 272 | <optional>true</optional> |
| 273 | </dependency> |
| 274 | <dependency> |
| 275 | <groupId>org.ops4j.pax.web</groupId> |
| 276 | <artifactId>pax-web-runtime</artifactId> |
| 277 | <optional>true</optional> |
| 278 | </dependency> |
| 279 | <dependency> |
| 280 | <groupId>org.ops4j.pax.web</groupId> |
| 281 | <artifactId>pax-web-jetty</artifactId> |
| 282 | <optional>true</optional> |
| 283 | </dependency> |
| 284 | <dependency> |
| 285 | <groupId>org.ops4j.pax.web</groupId> |
| 286 | <artifactId>pax-web-jsp</artifactId> |
| 287 | <optional>true</optional> |
| 288 | </dependency> |
| 289 | <dependency> |
| 290 | <groupId>org.ops4j.pax.web</groupId> |
| 291 | <artifactId>pax-web-extender-war</artifactId> |
| 292 | <optional>true</optional> |
| 293 | </dependency> |
| 294 | <dependency> |
| 295 | <groupId>org.ops4j.pax.web</groupId> |
| 296 | <artifactId>pax-web-extender-whiteboard</artifactId> |
| 297 | <optional>true</optional> |
| 298 | </dependency> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 299 | </dependencies> |
| 300 | <build> |
| 301 | <resources> |
| 302 | <resource> |
| 303 | <directory>${pom.basedir}/src/main/filtered-resources</directory> |
| 304 | <filtering>true</filtering> |
| 305 | <includes> |
| 306 | <include>**/*</include> |
| 307 | </includes> |
| 308 | </resource> |
| 309 | </resources> |
Guillaume Nodet | 992a2af | 2009-08-27 15:03:40 +0000 | [diff] [blame] | 310 | <filters> |
| 311 | <filter>target/filter.txt</filter> |
| 312 | </filters> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 313 | <plugins> |
| 314 | <plugin> |
| 315 | <groupId>org.apache.maven.plugins</groupId> |
Guillaume Nodet | 992a2af | 2009-08-27 15:03:40 +0000 | [diff] [blame] | 316 | <artifactId>maven-antrun-plugin</artifactId> |
Guillaume Nodet | 992a2af | 2009-08-27 15:03:40 +0000 | [diff] [blame] | 317 | <executions> |
| 318 | <execution> |
| 319 | <id>create-prop</id> |
| 320 | <phase>generate-resources</phase> |
| 321 | <configuration> |
| 322 | <tasks> |
Guillaume Nodet | 916f28a | 2009-09-22 09:11:12 +0000 | [diff] [blame] | 323 | <taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="maven.plugin.classpath" /> |
| 324 | <property name="ant.regexp.regexpimpl" value="org.apache.tools.ant.util.regexp.Jdk14RegexpRegexp" /> |
| 325 | <property name="mv" value="${project.version}" /> |
| 326 | <echo message="Maven version: ${mv}" /> |
| 327 | <propertyregex property="ov.p1" input="${mv}" regexp="(\d+)(?:\.(\d+)(?:\.(\d+))?)?(?:[^a-zA-Z0-9](.*))?" replace="\1" defaultValue="0" /> |
| 328 | <propertyregex property="ov.p2" input="${mv}" regexp="(\d+)(?:\.(\d+)(?:\.(\d+))?)?(?:[^a-zA-Z0-9](.*))?" replace=".\2" defaultValue=".0" /> |
| 329 | <propertyregex property="ov.p3" input="${mv}" regexp="(\d+)(?:\.(\d+)(?:\.(\d+))?)?(?:[^a-zA-Z0-9](.*))?" replace=".\3" defaultValue=".0" /> |
| 330 | <propertyregex property="ov.p4" input="${mv}" regexp="(\d+)(?:\.(\d+)(?:\.(\d+))?)?(?:[^a-zA-Z0-9](.*))?" replace=".\4" defaultValue="" /> |
| 331 | <propertyregex property="ov.p1a" input="${ov.p1}" regexp="(.+)" replace="\1" defaultValue="0" /> |
| 332 | <propertyregex property="ov.p2a" input="${ov.p2}" regexp="(\..+)" replace="\1" defaultValue=".0" /> |
| 333 | <propertyregex property="ov.p3a" input="${ov.p3}" regexp="(\..+)" replace="\1" defaultValue=".0" /> |
| 334 | <propertyregex property="ov.p4a" input="${ov.p4}" regexp="(\..+)" replace="\1" defaultValue="" /> |
| 335 | <property name="ov" value="${ov.p1a}${ov.p2a}${ov.p3a}${ov.p4a}" /> |
| 336 | <echo message="OSGi version: ${ov}" /> |
| 337 | <mkdir dir="target" /> |
| 338 | <echo message="karaf.osgi.version = ${ov}" file="target/filter.txt" /> |
Guillaume Nodet | 992a2af | 2009-08-27 15:03:40 +0000 | [diff] [blame] | 339 | </tasks> |
| 340 | </configuration> |
| 341 | <goals> |
| 342 | <goal>run</goal> |
| 343 | </goals> |
| 344 | </execution> |
| 345 | </executions> |
Guillaume Nodet | 992a2af | 2009-08-27 15:03:40 +0000 | [diff] [blame] | 346 | </plugin> |
| 347 | <plugin> |
| 348 | <groupId>org.apache.maven.plugins</groupId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 349 | <artifactId>maven-resources-plugin</artifactId> |
| 350 | <executions> |
| 351 | <execution> |
| 352 | <id>filter</id> |
| 353 | <phase>generate-resources</phase> |
| 354 | <goals> |
| 355 | <goal>resources</goal> |
| 356 | </goals> |
| 357 | </execution> |
| 358 | </executions> |
| 359 | </plugin> |
| 360 | <plugin> |
| 361 | <groupId>org.apache.maven.plugins</groupId> |
| 362 | <artifactId>maven-dependency-plugin</artifactId> |
| 363 | <executions> |
| 364 | <execution> |
| 365 | <id>copy</id> |
| 366 | <phase>generate-resources</phase> |
| 367 | <goals> |
| 368 | <goal>copy</goal> |
| 369 | </goals> |
| 370 | <configuration> |
| 371 | <artifactItems> |
| 372 | <artifactItem> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 373 | <groupId>org.apache.felix.karaf</groupId> |
| 374 | <artifactId>org.apache.felix.karaf.main</artifactId> |
Guillaume Nodet | 225b799 | 2009-10-15 21:01:09 +0000 | [diff] [blame] | 375 | <outputDirectory>target/dependencies/lib</outputDirectory> |
Guillaume Nodet | 874ecc8 | 2009-05-04 07:56:47 +0000 | [diff] [blame] | 376 | <destFileName>karaf.jar</destFileName> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 377 | </artifactItem> |
| 378 | <artifactItem> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 379 | <groupId>org.apache.felix.karaf</groupId> |
| 380 | <artifactId>org.apache.felix.karaf.client</artifactId> |
Guillaume Nodet | 225b799 | 2009-10-15 21:01:09 +0000 | [diff] [blame] | 381 | <outputDirectory>target/dependencies/lib</outputDirectory> |
Guillaume Nodet | 874ecc8 | 2009-05-04 07:56:47 +0000 | [diff] [blame] | 382 | <destFileName>karaf-client.jar</destFileName> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 383 | </artifactItem> |
| 384 | <artifactItem> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 385 | <groupId>org.apache.felix.karaf.jaas</groupId> |
| 386 | <artifactId>org.apache.felix.karaf.jaas.boot</artifactId> |
Guillaume Nodet | 225b799 | 2009-10-15 21:01:09 +0000 | [diff] [blame] | 387 | <outputDirectory>target/dependencies/lib</outputDirectory> |
Guillaume Nodet | 874ecc8 | 2009-05-04 07:56:47 +0000 | [diff] [blame] | 388 | <destFileName>karaf-jaas-boot.jar</destFileName> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 389 | </artifactItem> |
Guillaume Nodet | 225b799 | 2009-10-15 21:01:09 +0000 | [diff] [blame] | 390 | <artifactItem> |
| 391 | <groupId>org.apache.felix.karaf</groupId> |
| 392 | <artifactId>manual</artifactId> |
| 393 | <type>pdf</type> |
| 394 | <outputDirectory>target/dependencies</outputDirectory> |
Guillaume Nodet | fbcd4fa | 2010-02-17 00:37:48 +0000 | [diff] [blame] | 395 | <destFileName>karaf-manual-${version}.pdf</destFileName> |
Guillaume Nodet | 225b799 | 2009-10-15 21:01:09 +0000 | [diff] [blame] | 396 | </artifactItem> |
| 397 | <artifactItem> |
| 398 | <groupId>org.apache.felix.karaf</groupId> |
| 399 | <artifactId>manual</artifactId> |
| 400 | <type>html</type> |
| 401 | <outputDirectory>target/dependencies</outputDirectory> |
Guillaume Nodet | fbcd4fa | 2010-02-17 00:37:48 +0000 | [diff] [blame] | 402 | <destFileName>karaf-manual-${version}.html</destFileName> |
Guillaume Nodet | 225b799 | 2009-10-15 21:01:09 +0000 | [diff] [blame] | 403 | </artifactItem> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 404 | </artifactItems> |
| 405 | </configuration> |
| 406 | </execution> |
| 407 | </executions> |
| 408 | </plugin> |
| 409 | <plugin> |
| 410 | <groupId>org.codehaus.mojo</groupId> |
| 411 | <artifactId>build-helper-maven-plugin</artifactId> |
| 412 | <executions> |
| 413 | <execution> |
| 414 | <id>attach-artifacts</id> |
| 415 | <phase>package</phase> |
| 416 | <goals> |
| 417 | <goal>attach-artifact</goal> |
| 418 | </goals> |
| 419 | <configuration> |
| 420 | <artifacts> |
| 421 | <artifact> |
| 422 | <file>target/classes/features.xml</file> |
| 423 | <type>xml</type> |
| 424 | <classifier>features</classifier> |
| 425 | </artifact> |
| 426 | </artifacts> |
| 427 | </configuration> |
| 428 | </execution> |
| 429 | </executions> |
| 430 | </plugin> |
| 431 | <plugin> |
| 432 | <groupId>org.apache.maven.plugins</groupId> |
| 433 | <artifactId>maven-assembly-plugin</artifactId> |
| 434 | <executions> |
| 435 | <execution> |
Guillaume Nodet | 9b259a4 | 2009-09-21 14:02:52 +0000 | [diff] [blame] | 436 | <id>make-assembly</id> |
| 437 | <phase>none</phase> |
| 438 | </execution> |
| 439 | <execution> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 440 | <id>unix-bin</id> |
| 441 | <phase>package</phase> |
| 442 | <goals> |
| 443 | <goal>single</goal> |
| 444 | </goals> |
| 445 | <configuration> |
| 446 | <descriptors> |
| 447 | <descriptor>src/main/descriptors/unix-bin.xml</descriptor> |
| 448 | </descriptors> |
| 449 | <finalName>${pom.artifactId}-${pom.version}</finalName> |
| 450 | <tarLongFileMode>gnu</tarLongFileMode> |
| 451 | </configuration> |
| 452 | </execution> |
| 453 | <execution> |
| 454 | <id>windows-bin</id> |
| 455 | <phase>package</phase> |
| 456 | <goals> |
| 457 | <goal>single</goal> |
| 458 | </goals> |
| 459 | <configuration> |
| 460 | <descriptors> |
| 461 | <descriptor>src/main/descriptors/windows-bin.xml</descriptor> |
| 462 | </descriptors> |
| 463 | <finalName>${pom.artifactId}-${pom.version}</finalName> |
| 464 | <appendAssemblyId>true</appendAssemblyId> |
Guillaume Nodet | 916f28a | 2009-09-22 09:11:12 +0000 | [diff] [blame] | 465 | <assemblyId /> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 466 | </configuration> |
| 467 | </execution> |
| 468 | <execution> |
| 469 | <id>unix-src</id> |
| 470 | <phase>package</phase> |
| 471 | <goals> |
| 472 | <goal>single</goal> |
| 473 | </goals> |
| 474 | <configuration> |
| 475 | <descriptors> |
| 476 | <descriptor>src/main/descriptors/unix-src.xml</descriptor> |
| 477 | </descriptors> |
| 478 | <tarLongFileMode>gnu</tarLongFileMode> |
| 479 | </configuration> |
| 480 | </execution> |
| 481 | <execution> |
| 482 | <id>windows-src</id> |
| 483 | <phase>package</phase> |
| 484 | <goals> |
| 485 | <goal>single</goal> |
| 486 | </goals> |
| 487 | <configuration> |
| 488 | <descriptors> |
| 489 | <descriptor>src/main/descriptors/windows-src.xml</descriptor> |
| 490 | </descriptors> |
| 491 | </configuration> |
| 492 | </execution> |
| 493 | </executions> |
| 494 | </plugin> |
| 495 | </plugins> |
| 496 | </build> |
| 497 | |
| 498 | <profiles> |
| 499 | <profile> |
| 500 | <id>assembly-src</id> |
| 501 | <build> |
| 502 | <plugins> |
| 503 | <plugin> |
| 504 | <groupId>org.apache.maven.plugins</groupId> |
| 505 | <artifactId>maven-assembly-plugin</artifactId> |
| 506 | <executions> |
| 507 | <execution> |
| 508 | <id>unix-src</id> |
| 509 | <phase>package</phase> |
| 510 | <goals> |
| 511 | <goal>attached</goal> |
| 512 | </goals> |
| 513 | <configuration> |
| 514 | <descriptors> |
| 515 | <descriptor>src/main/descriptors/unix-src.xml</descriptor> |
| 516 | </descriptors> |
| 517 | </configuration> |
| 518 | </execution> |
| 519 | <execution> |
| 520 | <id>windows-src</id> |
| 521 | <phase>package</phase> |
| 522 | <goals> |
| 523 | <goal>attached</goal> |
| 524 | </goals> |
| 525 | <configuration> |
| 526 | <descriptors> |
| 527 | <descriptor>src/main/descriptors/windows-src.xml</descriptor> |
| 528 | </descriptors> |
| 529 | </configuration> |
| 530 | </execution> |
| 531 | </executions> |
| 532 | </plugin> |
| 533 | </plugins> |
| 534 | </build> |
| 535 | </profile> |
| 536 | </profiles> |
| 537 | </project> |