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> |
Guillaume Nodet | 916f28a | 2009-09-22 09:11:12 +0000 | [diff] [blame^] | 26 | <version>1.0.0</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> |
Guillaume Nodet | 916f28a | 2009-09-22 09:11:12 +0000 | [diff] [blame^] | 32 | <version>1.0.0</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> |
| 42 | <artifactId>org.apache.felix.karaf.main</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 43 | </dependency> |
| 44 | <dependency> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 45 | <groupId>org.apache.felix.karaf</groupId> |
| 46 | <artifactId>org.apache.felix.karaf.client</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 47 | </dependency> |
| 48 | <dependency> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 49 | <groupId>org.apache.felix.karaf.deployer</groupId> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 50 | <artifactId>org.apache.felix.karaf.deployer.spring</artifactId> |
Guillaume Nodet | 18c56a1 | 2009-04-30 09:10:03 +0000 | [diff] [blame] | 51 | </dependency> |
| 52 | <dependency> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 53 | <groupId>org.apache.felix.karaf.deployer</groupId> |
| 54 | <artifactId>org.apache.felix.karaf.deployer.blueprint</artifactId> |
Guillaume Nodet | 18c56a1 | 2009-04-30 09:10:03 +0000 | [diff] [blame] | 55 | </dependency> |
| 56 | <dependency> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 57 | <groupId>org.apache.felix.karaf.deployer</groupId> |
| 58 | <artifactId>org.apache.felix.karaf.deployer.features</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 59 | </dependency> |
| 60 | <dependency> |
Guillaume Nodet | 2cb94d0 | 2009-08-07 09:55:51 +0000 | [diff] [blame] | 61 | <groupId>org.apache.felix.karaf.features</groupId> |
| 62 | <artifactId>org.apache.felix.karaf.features.core</artifactId> |
| 63 | </dependency> |
| 64 | <dependency> |
| 65 | <groupId>org.apache.felix.karaf.features</groupId> |
| 66 | <artifactId>org.apache.felix.karaf.features.command</artifactId> |
| 67 | </dependency> |
| 68 | <dependency> |
| 69 | <groupId>org.apache.felix.karaf.features</groupId> |
| 70 | <artifactId>org.apache.felix.karaf.features.management</artifactId> |
| 71 | </dependency> |
| 72 | <dependency> |
Guillaume Nodet | 91a52c0 | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 73 | <groupId>org.apache.felix.karaf.shell</groupId> |
| 74 | <artifactId>org.apache.felix.karaf.shell.console</artifactId> |
Guillaume Nodet | ccfc3d8 | 2009-05-06 14:40:12 +0000 | [diff] [blame] | 75 | </dependency> |
| 76 | <dependency> |
Guillaume Nodet | 91a52c0 | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 77 | <groupId>org.apache.felix.karaf.shell</groupId> |
| 78 | <artifactId>org.apache.felix.karaf.shell.admin</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 79 | </dependency> |
| 80 | <dependency> |
Guillaume Nodet | 91a52c0 | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 81 | <groupId>org.apache.felix.karaf.shell</groupId> |
| 82 | <artifactId>org.apache.felix.karaf.shell.obr</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 83 | </dependency> |
| 84 | <dependency> |
Guillaume Nodet | 91a52c0 | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 85 | <groupId>org.apache.felix.karaf.shell</groupId> |
| 86 | <artifactId>org.apache.felix.karaf.shell.osgi</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 87 | </dependency> |
| 88 | <dependency> |
Guillaume Nodet | 91a52c0 | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 89 | <groupId>org.apache.felix.karaf.shell</groupId> |
| 90 | <artifactId>org.apache.felix.karaf.shell.log</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 91 | </dependency> |
| 92 | <dependency> |
Guillaume Nodet | 91a52c0 | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 93 | <groupId>org.apache.felix.karaf.shell</groupId> |
| 94 | <artifactId>org.apache.felix.karaf.shell.config</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 95 | </dependency> |
| 96 | <dependency> |
Guillaume Nodet | 91a52c0 | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 97 | <groupId>org.apache.felix.karaf.shell</groupId> |
| 98 | <artifactId>org.apache.felix.karaf.shell.packages</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 99 | </dependency> |
| 100 | <dependency> |
Guillaume Nodet | 91a52c0 | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 101 | <groupId>org.apache.felix.karaf.shell</groupId> |
| 102 | <artifactId>org.apache.felix.karaf.shell.commands</artifactId> |
Guillaume Nodet | 077bac5 | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 103 | </dependency> |
| 104 | <dependency> |
Guillaume Nodet | 91a52c0 | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 105 | <groupId>org.apache.felix.karaf.shell</groupId> |
| 106 | <artifactId>org.apache.felix.karaf.shell.ssh</artifactId> |
Guillaume Nodet | 077bac5 | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 107 | </dependency> |
| 108 | <dependency> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 109 | <groupId>org.apache.felix.karaf.jaas</groupId> |
| 110 | <artifactId>org.apache.felix.karaf.jaas.boot</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 111 | </dependency> |
| 112 | <dependency> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 113 | <groupId>org.apache.felix.karaf.jaas</groupId> |
| 114 | <artifactId>org.apache.felix.karaf.jaas.config</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 115 | </dependency> |
| 116 | <dependency> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 117 | <groupId>org.apache.felix.karaf.jaas</groupId> |
| 118 | <artifactId>org.apache.felix.karaf.jaas.modules</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 119 | </dependency> |
| 120 | <dependency> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 121 | <groupId>org.apache.felix.karaf</groupId> |
| 122 | <artifactId>org.apache.felix.karaf.management</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 123 | </dependency> |
| 124 | <dependency> |
| 125 | <groupId>org.springframework.osgi</groupId> |
| 126 | <artifactId>spring-osgi-extender</artifactId> |
| 127 | </dependency> |
| 128 | <dependency> |
| 129 | <groupId>org.springframework.osgi</groupId> |
| 130 | <artifactId>spring-osgi-core</artifactId> |
| 131 | </dependency> |
| 132 | <dependency> |
| 133 | <groupId>org.springframework.osgi</groupId> |
| 134 | <artifactId>spring-osgi-io</artifactId> |
| 135 | </dependency> |
| 136 | <dependency> |
Guillaume Nodet | 6a8e2f1 | 2009-08-24 07:27:30 +0000 | [diff] [blame] | 137 | <groupId>org.springframework.osgi</groupId> |
| 138 | <artifactId>spring-osgi-annotation</artifactId> |
| 139 | </dependency> |
| 140 | <dependency> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 141 | <groupId>org.springframework</groupId> |
| 142 | <artifactId>spring-context</artifactId> |
| 143 | </dependency> |
| 144 | <dependency> |
| 145 | <groupId>org.springframework</groupId> |
| 146 | <artifactId>spring-beans</artifactId> |
| 147 | </dependency> |
| 148 | <dependency> |
| 149 | <groupId>org.springframework</groupId> |
| 150 | <artifactId>spring-core</artifactId> |
| 151 | </dependency> |
| 152 | <dependency> |
| 153 | <groupId>org.springframework</groupId> |
| 154 | <artifactId>spring-aop</artifactId> |
| 155 | </dependency> |
| 156 | <dependency> |
| 157 | <groupId>org.apache.felix</groupId> |
| 158 | <artifactId>org.apache.felix.bundlerepository</artifactId> |
| 159 | </dependency> |
| 160 | <dependency> |
Guillaume Nodet | 30fdfb9 | 2009-08-31 07:19:00 +0000 | [diff] [blame] | 161 | <groupId>org.apache.felix</groupId> |
| 162 | <artifactId>org.apache.felix.fileinstall</artifactId> |
| 163 | </dependency> |
| 164 | <dependency> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 165 | <groupId>org.apache.mina</groupId> |
| 166 | <artifactId>mina-core</artifactId> |
| 167 | </dependency> |
| 168 | <dependency> |
Guillaume Nodet | f9b2bf4 | 2009-07-10 06:56:47 +0000 | [diff] [blame] | 169 | <groupId>jline</groupId> |
| 170 | <artifactId>jline</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 171 | </dependency> |
| 172 | <dependency> |
| 173 | <groupId>org.apache.felix</groupId> |
| 174 | <artifactId>org.osgi.compendium</artifactId> |
| 175 | </dependency> |
| 176 | <dependency> |
| 177 | <groupId>org.apache.felix</groupId> |
| 178 | <artifactId>org.apache.felix.configadmin</artifactId> |
| 179 | </dependency> |
| 180 | <dependency> |
| 181 | <groupId>org.apache.felix</groupId> |
Guillaume Nodet | afcbf45 | 2009-06-11 08:36:21 +0000 | [diff] [blame] | 182 | <artifactId>org.apache.felix.metatype</artifactId> |
| 183 | </dependency> |
| 184 | <dependency> |
| 185 | <groupId>org.apache.felix</groupId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 186 | <artifactId>org.apache.felix.prefs</artifactId> |
| 187 | </dependency> |
| 188 | <dependency> |
| 189 | <groupId>org.ops4j.pax.logging</groupId> |
| 190 | <artifactId>pax-logging-api</artifactId> |
| 191 | </dependency> |
| 192 | <dependency> |
| 193 | <groupId>org.ops4j.pax.logging</groupId> |
| 194 | <artifactId>pax-logging-service</artifactId> |
| 195 | </dependency> |
| 196 | <dependency> |
| 197 | <groupId>org.ops4j.pax.url</groupId> |
| 198 | <artifactId>pax-url-mvn</artifactId> |
| 199 | </dependency> |
| 200 | <dependency> |
| 201 | <groupId>org.ops4j.pax.url</groupId> |
| 202 | <artifactId>pax-url-wrap</artifactId> |
| 203 | </dependency> |
| 204 | <dependency> |
| 205 | <groupId>org.apache.geronimo.specs</groupId> |
| 206 | <artifactId>geronimo-servlet_2.5_spec</artifactId> |
| 207 | </dependency> |
| 208 | <dependency> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 209 | <groupId>org.apache.sshd</groupId> |
| 210 | <artifactId>sshd-core</artifactId> |
| 211 | </dependency> |
| 212 | <dependency> |
| 213 | <groupId>org.osgi</groupId> |
Guillaume Nodet | 077bac5 | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 214 | <artifactId>org.osgi.impl.bundle.jmx</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 215 | </dependency> |
Guillaume Nodet | 350b150 | 2009-05-05 15:46:15 +0000 | [diff] [blame] | 216 | <dependency> |
| 217 | <groupId>org.eclipse</groupId> |
| 218 | <artifactId>osgi</artifactId> |
| 219 | </dependency> |
| 220 | <dependency> |
| 221 | <groupId>org.apache.felix</groupId> |
| 222 | <artifactId>org.apache.felix.framework</artifactId> |
| 223 | </dependency> |
Guillaume Nodet | fcf2d34 | 2009-06-18 20:57:23 +0000 | [diff] [blame] | 224 | <dependency> |
Guillaume Nodet | 76d6902 | 2009-09-14 13:13:16 +0000 | [diff] [blame] | 225 | <groupId>org.apache.geronimo.blueprint</groupId> |
| 226 | <artifactId>geronimo-blueprint</artifactId> |
Guillaume Nodet | fcf2d34 | 2009-06-18 20:57:23 +0000 | [diff] [blame] | 227 | </dependency> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 228 | </dependencies> |
| 229 | <build> |
| 230 | <resources> |
| 231 | <resource> |
| 232 | <directory>${pom.basedir}/src/main/filtered-resources</directory> |
| 233 | <filtering>true</filtering> |
| 234 | <includes> |
| 235 | <include>**/*</include> |
| 236 | </includes> |
| 237 | </resource> |
| 238 | </resources> |
Guillaume Nodet | 992a2af | 2009-08-27 15:03:40 +0000 | [diff] [blame] | 239 | <filters> |
| 240 | <filter>target/filter.txt</filter> |
| 241 | </filters> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 242 | <plugins> |
| 243 | <plugin> |
| 244 | <groupId>org.apache.maven.plugins</groupId> |
Guillaume Nodet | 992a2af | 2009-08-27 15:03:40 +0000 | [diff] [blame] | 245 | <artifactId>maven-antrun-plugin</artifactId> |
Guillaume Nodet | 992a2af | 2009-08-27 15:03:40 +0000 | [diff] [blame] | 246 | <executions> |
| 247 | <execution> |
| 248 | <id>create-prop</id> |
| 249 | <phase>generate-resources</phase> |
| 250 | <configuration> |
| 251 | <tasks> |
Guillaume Nodet | 916f28a | 2009-09-22 09:11:12 +0000 | [diff] [blame^] | 252 | <taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="maven.plugin.classpath" /> |
| 253 | <property name="ant.regexp.regexpimpl" value="org.apache.tools.ant.util.regexp.Jdk14RegexpRegexp" /> |
| 254 | <property name="mv" value="${project.version}" /> |
| 255 | <echo message="Maven version: ${mv}" /> |
| 256 | <propertyregex property="ov.p1" input="${mv}" regexp="(\d+)(?:\.(\d+)(?:\.(\d+))?)?(?:[^a-zA-Z0-9](.*))?" replace="\1" defaultValue="0" /> |
| 257 | <propertyregex property="ov.p2" input="${mv}" regexp="(\d+)(?:\.(\d+)(?:\.(\d+))?)?(?:[^a-zA-Z0-9](.*))?" replace=".\2" defaultValue=".0" /> |
| 258 | <propertyregex property="ov.p3" input="${mv}" regexp="(\d+)(?:\.(\d+)(?:\.(\d+))?)?(?:[^a-zA-Z0-9](.*))?" replace=".\3" defaultValue=".0" /> |
| 259 | <propertyregex property="ov.p4" input="${mv}" regexp="(\d+)(?:\.(\d+)(?:\.(\d+))?)?(?:[^a-zA-Z0-9](.*))?" replace=".\4" defaultValue="" /> |
| 260 | <propertyregex property="ov.p1a" input="${ov.p1}" regexp="(.+)" replace="\1" defaultValue="0" /> |
| 261 | <propertyregex property="ov.p2a" input="${ov.p2}" regexp="(\..+)" replace="\1" defaultValue=".0" /> |
| 262 | <propertyregex property="ov.p3a" input="${ov.p3}" regexp="(\..+)" replace="\1" defaultValue=".0" /> |
| 263 | <propertyregex property="ov.p4a" input="${ov.p4}" regexp="(\..+)" replace="\1" defaultValue="" /> |
| 264 | <property name="ov" value="${ov.p1a}${ov.p2a}${ov.p3a}${ov.p4a}" /> |
| 265 | <echo message="OSGi version: ${ov}" /> |
| 266 | <mkdir dir="target" /> |
| 267 | <echo message="karaf.osgi.version = ${ov}" file="target/filter.txt" /> |
Guillaume Nodet | 992a2af | 2009-08-27 15:03:40 +0000 | [diff] [blame] | 268 | </tasks> |
| 269 | </configuration> |
| 270 | <goals> |
| 271 | <goal>run</goal> |
| 272 | </goals> |
| 273 | </execution> |
| 274 | </executions> |
Guillaume Nodet | 992a2af | 2009-08-27 15:03:40 +0000 | [diff] [blame] | 275 | </plugin> |
| 276 | <plugin> |
| 277 | <groupId>org.apache.maven.plugins</groupId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 278 | <artifactId>maven-resources-plugin</artifactId> |
| 279 | <executions> |
| 280 | <execution> |
| 281 | <id>filter</id> |
| 282 | <phase>generate-resources</phase> |
| 283 | <goals> |
| 284 | <goal>resources</goal> |
| 285 | </goals> |
| 286 | </execution> |
| 287 | </executions> |
| 288 | </plugin> |
| 289 | <plugin> |
| 290 | <groupId>org.apache.maven.plugins</groupId> |
| 291 | <artifactId>maven-dependency-plugin</artifactId> |
| 292 | <executions> |
| 293 | <execution> |
| 294 | <id>copy</id> |
| 295 | <phase>generate-resources</phase> |
| 296 | <goals> |
| 297 | <goal>copy</goal> |
| 298 | </goals> |
| 299 | <configuration> |
| 300 | <artifactItems> |
| 301 | <artifactItem> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 302 | <groupId>org.apache.felix.karaf</groupId> |
| 303 | <artifactId>org.apache.felix.karaf.main</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 304 | <outputDirectory>target/dependencies</outputDirectory> |
Guillaume Nodet | 874ecc8 | 2009-05-04 07:56:47 +0000 | [diff] [blame] | 305 | <destFileName>karaf.jar</destFileName> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 306 | </artifactItem> |
| 307 | <artifactItem> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 308 | <groupId>org.apache.felix.karaf</groupId> |
| 309 | <artifactId>org.apache.felix.karaf.client</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 310 | <outputDirectory>target/dependencies</outputDirectory> |
Guillaume Nodet | 874ecc8 | 2009-05-04 07:56:47 +0000 | [diff] [blame] | 311 | <destFileName>karaf-client.jar</destFileName> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 312 | </artifactItem> |
| 313 | <artifactItem> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 314 | <groupId>org.apache.felix.karaf.jaas</groupId> |
| 315 | <artifactId>org.apache.felix.karaf.jaas.boot</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 316 | <outputDirectory>target/dependencies</outputDirectory> |
Guillaume Nodet | 874ecc8 | 2009-05-04 07:56:47 +0000 | [diff] [blame] | 317 | <destFileName>karaf-jaas-boot.jar</destFileName> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 318 | </artifactItem> |
| 319 | </artifactItems> |
| 320 | </configuration> |
| 321 | </execution> |
| 322 | </executions> |
| 323 | </plugin> |
| 324 | <plugin> |
| 325 | <groupId>org.codehaus.mojo</groupId> |
| 326 | <artifactId>build-helper-maven-plugin</artifactId> |
| 327 | <executions> |
| 328 | <execution> |
| 329 | <id>attach-artifacts</id> |
| 330 | <phase>package</phase> |
| 331 | <goals> |
| 332 | <goal>attach-artifact</goal> |
| 333 | </goals> |
| 334 | <configuration> |
| 335 | <artifacts> |
| 336 | <artifact> |
| 337 | <file>target/classes/features.xml</file> |
| 338 | <type>xml</type> |
| 339 | <classifier>features</classifier> |
| 340 | </artifact> |
| 341 | </artifacts> |
| 342 | </configuration> |
| 343 | </execution> |
| 344 | </executions> |
| 345 | </plugin> |
| 346 | <plugin> |
| 347 | <groupId>org.apache.maven.plugins</groupId> |
| 348 | <artifactId>maven-assembly-plugin</artifactId> |
| 349 | <executions> |
| 350 | <execution> |
Guillaume Nodet | 9b259a4 | 2009-09-21 14:02:52 +0000 | [diff] [blame] | 351 | <id>make-assembly</id> |
| 352 | <phase>none</phase> |
| 353 | </execution> |
| 354 | <execution> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 355 | <id>unix-bin</id> |
| 356 | <phase>package</phase> |
| 357 | <goals> |
| 358 | <goal>single</goal> |
| 359 | </goals> |
| 360 | <configuration> |
| 361 | <descriptors> |
| 362 | <descriptor>src/main/descriptors/unix-bin.xml</descriptor> |
| 363 | </descriptors> |
| 364 | <finalName>${pom.artifactId}-${pom.version}</finalName> |
| 365 | <tarLongFileMode>gnu</tarLongFileMode> |
| 366 | </configuration> |
| 367 | </execution> |
| 368 | <execution> |
| 369 | <id>windows-bin</id> |
| 370 | <phase>package</phase> |
| 371 | <goals> |
| 372 | <goal>single</goal> |
| 373 | </goals> |
| 374 | <configuration> |
| 375 | <descriptors> |
| 376 | <descriptor>src/main/descriptors/windows-bin.xml</descriptor> |
| 377 | </descriptors> |
| 378 | <finalName>${pom.artifactId}-${pom.version}</finalName> |
| 379 | <appendAssemblyId>true</appendAssemblyId> |
Guillaume Nodet | 916f28a | 2009-09-22 09:11:12 +0000 | [diff] [blame^] | 380 | <assemblyId /> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 381 | </configuration> |
| 382 | </execution> |
| 383 | <execution> |
| 384 | <id>unix-src</id> |
| 385 | <phase>package</phase> |
| 386 | <goals> |
| 387 | <goal>single</goal> |
| 388 | </goals> |
| 389 | <configuration> |
| 390 | <descriptors> |
| 391 | <descriptor>src/main/descriptors/unix-src.xml</descriptor> |
| 392 | </descriptors> |
| 393 | <tarLongFileMode>gnu</tarLongFileMode> |
| 394 | </configuration> |
| 395 | </execution> |
| 396 | <execution> |
| 397 | <id>windows-src</id> |
| 398 | <phase>package</phase> |
| 399 | <goals> |
| 400 | <goal>single</goal> |
| 401 | </goals> |
| 402 | <configuration> |
| 403 | <descriptors> |
| 404 | <descriptor>src/main/descriptors/windows-src.xml</descriptor> |
| 405 | </descriptors> |
| 406 | </configuration> |
| 407 | </execution> |
| 408 | </executions> |
| 409 | </plugin> |
| 410 | </plugins> |
| 411 | </build> |
| 412 | |
| 413 | <profiles> |
| 414 | <profile> |
| 415 | <id>assembly-src</id> |
| 416 | <build> |
| 417 | <plugins> |
| 418 | <plugin> |
| 419 | <groupId>org.apache.maven.plugins</groupId> |
| 420 | <artifactId>maven-assembly-plugin</artifactId> |
| 421 | <executions> |
| 422 | <execution> |
| 423 | <id>unix-src</id> |
| 424 | <phase>package</phase> |
| 425 | <goals> |
| 426 | <goal>attached</goal> |
| 427 | </goals> |
| 428 | <configuration> |
| 429 | <descriptors> |
| 430 | <descriptor>src/main/descriptors/unix-src.xml</descriptor> |
| 431 | </descriptors> |
| 432 | </configuration> |
| 433 | </execution> |
| 434 | <execution> |
| 435 | <id>windows-src</id> |
| 436 | <phase>package</phase> |
| 437 | <goals> |
| 438 | <goal>attached</goal> |
| 439 | </goals> |
| 440 | <configuration> |
| 441 | <descriptors> |
| 442 | <descriptor>src/main/descriptors/windows-src.xml</descriptor> |
| 443 | </descriptors> |
| 444 | </configuration> |
| 445 | </execution> |
| 446 | </executions> |
| 447 | </plugin> |
| 448 | </plugins> |
| 449 | </build> |
| 450 | </profile> |
| 451 | </profiles> |
| 452 | </project> |