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