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> |
| 25 | <groupId>org.apache.servicemix.kernel</groupId> |
| 26 | <artifactId>kernel</artifactId> |
| 27 | <version>1.2.0-SNAPSHOT</version> |
| 28 | </parent> |
| 29 | |
| 30 | <groupId>org.apache.servicemix.kernel</groupId> |
| 31 | <artifactId>apache-servicemix-kernel</artifactId> |
| 32 | <packaging>pom</packaging> |
| 33 | <version>1.2.0-SNAPSHOT</version> |
| 34 | <name>Apache ServiceMix Kernel :: Assembly</name> |
| 35 | |
| 36 | <dependencies> |
| 37 | <dependency> |
| 38 | <groupId>org.apache.servicemix.kernel</groupId> |
| 39 | <artifactId>org.apache.servicemix.kernel.main</artifactId> |
| 40 | </dependency> |
| 41 | <dependency> |
| 42 | <groupId>org.apache.servicemix.kernel</groupId> |
| 43 | <artifactId>org.apache.servicemix.kernel.client</artifactId> |
| 44 | </dependency> |
| 45 | <dependency> |
| 46 | <groupId>org.apache.servicemix.kernel</groupId> |
| 47 | <artifactId>org.apache.servicemix.kernel.filemonitor</artifactId> |
| 48 | </dependency> |
| 49 | <dependency> |
| 50 | <groupId>org.apache.servicemix.kernel</groupId> |
| 51 | <artifactId>org.apache.servicemix.kernel.spring</artifactId> |
| 52 | </dependency> |
| 53 | <dependency> |
| 54 | <groupId>org.apache.servicemix.kernel.gshell</groupId> |
| 55 | <artifactId>org.apache.servicemix.kernel.gshell.core</artifactId> |
| 56 | </dependency> |
| 57 | <dependency> |
| 58 | <groupId>org.apache.servicemix.kernel.gshell</groupId> |
| 59 | <artifactId>org.apache.servicemix.kernel.gshell.admin</artifactId> |
| 60 | </dependency> |
| 61 | <dependency> |
| 62 | <groupId>org.apache.servicemix.kernel.gshell</groupId> |
| 63 | <artifactId>org.apache.servicemix.kernel.gshell.obr</artifactId> |
| 64 | </dependency> |
| 65 | <dependency> |
| 66 | <groupId>org.apache.servicemix.kernel.gshell</groupId> |
| 67 | <artifactId>org.apache.servicemix.kernel.gshell.osgi</artifactId> |
| 68 | </dependency> |
| 69 | <dependency> |
| 70 | <groupId>org.apache.servicemix.kernel.gshell</groupId> |
| 71 | <artifactId>org.apache.servicemix.kernel.gshell.log</artifactId> |
| 72 | </dependency> |
| 73 | <dependency> |
| 74 | <groupId>org.apache.servicemix.kernel.gshell</groupId> |
| 75 | <artifactId>org.apache.servicemix.kernel.gshell.features</artifactId> |
| 76 | </dependency> |
| 77 | <dependency> |
| 78 | <groupId>org.apache.servicemix.kernel.gshell</groupId> |
| 79 | <artifactId>org.apache.servicemix.kernel.gshell.config</artifactId> |
| 80 | </dependency> |
| 81 | <dependency> |
| 82 | <groupId>org.apache.servicemix.kernel.gshell</groupId> |
| 83 | <artifactId>org.apache.servicemix.kernel.gshell.packages</artifactId> |
| 84 | </dependency> |
| 85 | <dependency> |
| 86 | <groupId>org.apache.servicemix.kernel.jaas</groupId> |
| 87 | <artifactId>org.apache.servicemix.kernel.jaas.boot</artifactId> |
| 88 | </dependency> |
| 89 | <dependency> |
| 90 | <groupId>org.apache.servicemix.kernel.jaas</groupId> |
| 91 | <artifactId>org.apache.servicemix.kernel.jaas.config</artifactId> |
| 92 | </dependency> |
| 93 | <dependency> |
| 94 | <groupId>org.apache.servicemix.kernel.jaas</groupId> |
| 95 | <artifactId>org.apache.servicemix.kernel.jaas.modules</artifactId> |
| 96 | </dependency> |
| 97 | <dependency> |
| 98 | <groupId>org.apache.servicemix.kernel</groupId> |
| 99 | <artifactId>org.apache.servicemix.kernel.management</artifactId> |
| 100 | </dependency> |
| 101 | <dependency> |
| 102 | <groupId>org.springframework.osgi</groupId> |
| 103 | <artifactId>spring-osgi-extender</artifactId> |
| 104 | </dependency> |
| 105 | <dependency> |
| 106 | <groupId>org.springframework.osgi</groupId> |
| 107 | <artifactId>spring-osgi-core</artifactId> |
| 108 | </dependency> |
| 109 | <dependency> |
| 110 | <groupId>org.springframework.osgi</groupId> |
| 111 | <artifactId>spring-osgi-io</artifactId> |
| 112 | </dependency> |
| 113 | <dependency> |
| 114 | <groupId>org.springframework</groupId> |
| 115 | <artifactId>spring-context</artifactId> |
| 116 | </dependency> |
| 117 | <dependency> |
| 118 | <groupId>org.springframework</groupId> |
| 119 | <artifactId>spring-beans</artifactId> |
| 120 | </dependency> |
| 121 | <dependency> |
| 122 | <groupId>org.springframework</groupId> |
| 123 | <artifactId>spring-core</artifactId> |
| 124 | </dependency> |
| 125 | <dependency> |
| 126 | <groupId>org.springframework</groupId> |
| 127 | <artifactId>spring-aop</artifactId> |
| 128 | </dependency> |
| 129 | <dependency> |
| 130 | <groupId>org.apache.felix</groupId> |
| 131 | <artifactId>org.apache.felix.bundlerepository</artifactId> |
| 132 | </dependency> |
| 133 | <dependency> |
| 134 | <groupId>org.apache.servicemix.specs</groupId> |
| 135 | <artifactId>org.apache.servicemix.specs.jaxp-api-1.4</artifactId> |
| 136 | </dependency> |
| 137 | <dependency> |
| 138 | <groupId>org.apache.servicemix.bundles</groupId> |
| 139 | <artifactId>org.apache.servicemix.bundles.jaxp-ri</artifactId> |
| 140 | </dependency> |
| 141 | <dependency> |
| 142 | <groupId>org.apache.mina</groupId> |
| 143 | <artifactId>mina-core</artifactId> |
| 144 | </dependency> |
| 145 | <dependency> |
| 146 | <groupId>org.apache.servicemix.bundles</groupId> |
| 147 | <artifactId>org.apache.servicemix.bundles.aopalliance</artifactId> |
| 148 | </dependency> |
| 149 | <dependency> |
| 150 | <groupId>org.apache.servicemix.bundles</groupId> |
| 151 | <artifactId>org.apache.servicemix.bundles.cglib</artifactId> |
| 152 | </dependency> |
| 153 | <dependency> |
| 154 | <groupId>org.apache.servicemix.bundles</groupId> |
| 155 | <artifactId>org.apache.servicemix.bundles.commons-jexl</artifactId> |
| 156 | </dependency> |
| 157 | <dependency> |
| 158 | <groupId>org.apache.servicemix.bundles</groupId> |
| 159 | <artifactId>org.apache.servicemix.bundles.commons-vfs</artifactId> |
| 160 | </dependency> |
| 161 | <dependency> |
| 162 | <groupId>org.apache.servicemix.bundles</groupId> |
| 163 | <artifactId>org.apache.servicemix.bundles.oro</artifactId> |
| 164 | </dependency> |
| 165 | <dependency> |
| 166 | <groupId>org.apache.servicemix.bundles</groupId> |
| 167 | <artifactId>org.apache.servicemix.bundles.commons-codec</artifactId> |
| 168 | </dependency> |
| 169 | <dependency> |
| 170 | <groupId>org.apache.servicemix.bundles</groupId> |
| 171 | <artifactId>org.apache.servicemix.bundles.commons-httpclient</artifactId> |
| 172 | </dependency> |
| 173 | <dependency> |
| 174 | <groupId>org.apache.servicemix.bundles</groupId> |
| 175 | <artifactId>org.apache.servicemix.bundles.jline</artifactId> |
| 176 | </dependency> |
| 177 | <dependency> |
| 178 | <groupId>org.apache.felix</groupId> |
| 179 | <artifactId>org.osgi.compendium</artifactId> |
| 180 | </dependency> |
| 181 | <dependency> |
| 182 | <groupId>org.apache.felix</groupId> |
| 183 | <artifactId>org.apache.felix.configadmin</artifactId> |
| 184 | </dependency> |
| 185 | <dependency> |
| 186 | <groupId>org.apache.felix</groupId> |
| 187 | <artifactId>org.apache.felix.prefs</artifactId> |
| 188 | </dependency> |
| 189 | <dependency> |
| 190 | <groupId>org.ops4j.pax.logging</groupId> |
| 191 | <artifactId>pax-logging-api</artifactId> |
| 192 | </dependency> |
| 193 | <dependency> |
| 194 | <groupId>org.ops4j.pax.logging</groupId> |
| 195 | <artifactId>pax-logging-service</artifactId> |
| 196 | </dependency> |
| 197 | <dependency> |
| 198 | <groupId>org.ops4j.pax.url</groupId> |
| 199 | <artifactId>pax-url-mvn</artifactId> |
| 200 | </dependency> |
| 201 | <dependency> |
| 202 | <groupId>org.ops4j.pax.url</groupId> |
| 203 | <artifactId>pax-url-wrap</artifactId> |
| 204 | </dependency> |
| 205 | <dependency> |
| 206 | <groupId>org.apache.geronimo.specs</groupId> |
| 207 | <artifactId>geronimo-servlet_2.5_spec</artifactId> |
| 208 | </dependency> |
| 209 | <dependency> |
| 210 | <groupId>org.apache.geronimo.specs</groupId> |
| 211 | <artifactId>geronimo-annotation_1.0_spec</artifactId> |
| 212 | </dependency> |
| 213 | <dependency> |
| 214 | <groupId>org.apache.sshd</groupId> |
| 215 | <artifactId>sshd-core</artifactId> |
| 216 | </dependency> |
| 217 | <dependency> |
| 218 | <groupId>org.osgi</groupId> |
| 219 | <artifactId>jmx</artifactId> |
| 220 | </dependency> |
| 221 | <dependency> |
| 222 | <groupId>com.oracle.osgi</groupId> |
| 223 | <artifactId>jmx-impl</artifactId> |
| 224 | </dependency> |
| 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> |
| 236 | <plugins> |
| 237 | <plugin> |
| 238 | <groupId>org.apache.maven.plugins</groupId> |
| 239 | <artifactId>maven-resources-plugin</artifactId> |
| 240 | <executions> |
| 241 | <execution> |
| 242 | <id>filter</id> |
| 243 | <phase>generate-resources</phase> |
| 244 | <goals> |
| 245 | <goal>resources</goal> |
| 246 | </goals> |
| 247 | </execution> |
| 248 | </executions> |
| 249 | </plugin> |
| 250 | <plugin> |
| 251 | <groupId>org.apache.maven.plugins</groupId> |
| 252 | <artifactId>maven-dependency-plugin</artifactId> |
| 253 | <executions> |
| 254 | <execution> |
| 255 | <id>copy</id> |
| 256 | <phase>generate-resources</phase> |
| 257 | <goals> |
| 258 | <goal>copy</goal> |
| 259 | </goals> |
| 260 | <configuration> |
| 261 | <artifactItems> |
| 262 | <artifactItem> |
| 263 | <groupId>org.apache.servicemix.kernel</groupId> |
| 264 | <artifactId>org.apache.servicemix.kernel.main</artifactId> |
| 265 | <outputDirectory>target/dependencies</outputDirectory> |
| 266 | <destFileName>servicemix.jar</destFileName> |
| 267 | </artifactItem> |
| 268 | <artifactItem> |
| 269 | <groupId>org.apache.servicemix.kernel</groupId> |
| 270 | <artifactId>org.apache.servicemix.kernel.client</artifactId> |
| 271 | <outputDirectory>target/dependencies</outputDirectory> |
| 272 | <destFileName>servicemix-client.jar</destFileName> |
| 273 | </artifactItem> |
| 274 | <artifactItem> |
| 275 | <groupId>org.apache.servicemix.kernel.jaas</groupId> |
| 276 | <artifactId>org.apache.servicemix.kernel.jaas.boot</artifactId> |
| 277 | <outputDirectory>target/dependencies</outputDirectory> |
| 278 | <destFileName>servicemix-jaas-boot.jar</destFileName> |
| 279 | </artifactItem> |
| 280 | </artifactItems> |
| 281 | </configuration> |
| 282 | </execution> |
| 283 | </executions> |
| 284 | </plugin> |
| 285 | <plugin> |
| 286 | <groupId>org.codehaus.mojo</groupId> |
| 287 | <artifactId>build-helper-maven-plugin</artifactId> |
| 288 | <executions> |
| 289 | <execution> |
| 290 | <id>attach-artifacts</id> |
| 291 | <phase>package</phase> |
| 292 | <goals> |
| 293 | <goal>attach-artifact</goal> |
| 294 | </goals> |
| 295 | <configuration> |
| 296 | <artifacts> |
| 297 | <artifact> |
| 298 | <file>target/classes/features.xml</file> |
| 299 | <type>xml</type> |
| 300 | <classifier>features</classifier> |
| 301 | </artifact> |
| 302 | </artifacts> |
| 303 | </configuration> |
| 304 | </execution> |
| 305 | </executions> |
| 306 | </plugin> |
| 307 | <plugin> |
| 308 | <groupId>org.apache.maven.plugins</groupId> |
| 309 | <artifactId>maven-assembly-plugin</artifactId> |
| 310 | <executions> |
| 311 | <execution> |
| 312 | <id>unix-bin</id> |
| 313 | <phase>package</phase> |
| 314 | <goals> |
| 315 | <goal>single</goal> |
| 316 | </goals> |
| 317 | <configuration> |
| 318 | <descriptors> |
| 319 | <descriptor>src/main/descriptors/unix-bin.xml</descriptor> |
| 320 | </descriptors> |
| 321 | <finalName>${pom.artifactId}-${pom.version}</finalName> |
| 322 | <tarLongFileMode>gnu</tarLongFileMode> |
| 323 | </configuration> |
| 324 | </execution> |
| 325 | <execution> |
| 326 | <id>windows-bin</id> |
| 327 | <phase>package</phase> |
| 328 | <goals> |
| 329 | <goal>single</goal> |
| 330 | </goals> |
| 331 | <configuration> |
| 332 | <descriptors> |
| 333 | <descriptor>src/main/descriptors/windows-bin.xml</descriptor> |
| 334 | </descriptors> |
| 335 | <finalName>${pom.artifactId}-${pom.version}</finalName> |
| 336 | <appendAssemblyId>true</appendAssemblyId> |
| 337 | <assemblyId/> |
| 338 | </configuration> |
| 339 | </execution> |
| 340 | <execution> |
| 341 | <id>unix-src</id> |
| 342 | <phase>package</phase> |
| 343 | <goals> |
| 344 | <goal>single</goal> |
| 345 | </goals> |
| 346 | <configuration> |
| 347 | <descriptors> |
| 348 | <descriptor>src/main/descriptors/unix-src.xml</descriptor> |
| 349 | </descriptors> |
| 350 | <tarLongFileMode>gnu</tarLongFileMode> |
| 351 | </configuration> |
| 352 | </execution> |
| 353 | <execution> |
| 354 | <id>windows-src</id> |
| 355 | <phase>package</phase> |
| 356 | <goals> |
| 357 | <goal>single</goal> |
| 358 | </goals> |
| 359 | <configuration> |
| 360 | <descriptors> |
| 361 | <descriptor>src/main/descriptors/windows-src.xml</descriptor> |
| 362 | </descriptors> |
| 363 | </configuration> |
| 364 | </execution> |
| 365 | </executions> |
| 366 | </plugin> |
| 367 | </plugins> |
| 368 | </build> |
| 369 | |
| 370 | <profiles> |
| 371 | <profile> |
| 372 | <id>assembly-src</id> |
| 373 | <build> |
| 374 | <plugins> |
| 375 | <plugin> |
| 376 | <groupId>org.apache.maven.plugins</groupId> |
| 377 | <artifactId>maven-assembly-plugin</artifactId> |
| 378 | <executions> |
| 379 | <execution> |
| 380 | <id>unix-src</id> |
| 381 | <phase>package</phase> |
| 382 | <goals> |
| 383 | <goal>attached</goal> |
| 384 | </goals> |
| 385 | <configuration> |
| 386 | <descriptors> |
| 387 | <descriptor>src/main/descriptors/unix-src.xml</descriptor> |
| 388 | </descriptors> |
| 389 | </configuration> |
| 390 | </execution> |
| 391 | <execution> |
| 392 | <id>windows-src</id> |
| 393 | <phase>package</phase> |
| 394 | <goals> |
| 395 | <goal>attached</goal> |
| 396 | </goals> |
| 397 | <configuration> |
| 398 | <descriptors> |
| 399 | <descriptor>src/main/descriptors/windows-src.xml</descriptor> |
| 400 | </descriptors> |
| 401 | </configuration> |
| 402 | </execution> |
| 403 | </executions> |
| 404 | </plugin> |
| 405 | </plugins> |
| 406 | </build> |
| 407 | </profile> |
| 408 | </profiles> |
| 409 | </project> |