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.testing</groupId> |
| 26 | <artifactId>testing</artifactId> |
| 27 | <version>1.2.0-SNAPSHOT</version> |
| 28 | </parent> |
| 29 | |
| 30 | <groupId>org.apache.servicemix.kernel.testing</groupId> |
| 31 | <artifactId>org.apache.servicemix.kernel.testing.support</artifactId> |
| 32 | <packaging>bundle</packaging> |
| 33 | <version>1.2.0-SNAPSHOT</version> |
| 34 | <name>Apache ServiceMix Kernel :: Testing - Support</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.felix</groupId> |
| 43 | <artifactId>org.osgi.compendium</artifactId> |
| 44 | </dependency> |
| 45 | <dependency> |
| 46 | <groupId>org.apache.felix</groupId> |
| 47 | <artifactId>org.apache.felix.configadmin</artifactId> |
| 48 | </dependency> |
| 49 | <dependency> |
| 50 | <groupId>org.ops4j.pax.logging</groupId> |
| 51 | <artifactId>pax-logging-api</artifactId> |
| 52 | </dependency> |
| 53 | <dependency> |
| 54 | <groupId>org.ops4j.pax.logging</groupId> |
| 55 | <artifactId>pax-logging-service</artifactId> |
| 56 | </dependency> |
| 57 | <dependency> |
| 58 | <groupId>org.springframework.osgi</groupId> |
| 59 | <artifactId>spring-osgi-test</artifactId> |
| 60 | </dependency> |
| 61 | <dependency> |
| 62 | <groupId>org.springframework.osgi</groupId> |
| 63 | <artifactId>spring-osgi-extender</artifactId> |
| 64 | </dependency> |
| 65 | <dependency> |
| 66 | <groupId>org.springframework.osgi</groupId> |
| 67 | <artifactId>spring-osgi-annotation</artifactId> |
| 68 | </dependency> |
| 69 | <dependency> |
| 70 | <groupId>org.apache.geronimo.specs</groupId> |
| 71 | <artifactId>geronimo-servlet_2.5_spec</artifactId> |
| 72 | </dependency> |
| 73 | <dependency> |
| 74 | <groupId>org.apache.servicemix.specs</groupId> |
| 75 | <artifactId>org.apache.servicemix.specs.jaxp-api-1.4</artifactId> |
| 76 | </dependency> |
| 77 | <dependency> |
| 78 | <groupId>org.apache.servicemix.bundles</groupId> |
| 79 | <artifactId>org.apache.servicemix.bundles.aopalliance</artifactId> |
| 80 | </dependency> |
| 81 | <dependency> |
| 82 | <groupId>org.apache.servicemix.bundles</groupId> |
| 83 | <artifactId>org.apache.servicemix.bundles.asm</artifactId> |
| 84 | </dependency> |
| 85 | <dependency> |
| 86 | <groupId>org.apache.servicemix.bundles</groupId> |
| 87 | <artifactId>org.apache.servicemix.bundles.junit</artifactId> |
| 88 | </dependency> |
| 89 | <dependency> |
| 90 | <groupId>org.apache.servicemix.bundles</groupId> |
| 91 | <artifactId>org.apache.servicemix.bundles.woodstox</artifactId> |
| 92 | </dependency> |
| 93 | <dependency> |
| 94 | <groupId>org.apache.servicemix.bundles</groupId> |
| 95 | <artifactId>org.apache.servicemix.bundles.jaxp-ri</artifactId> |
| 96 | </dependency> |
| 97 | <dependency> |
| 98 | <groupId>org.ops4j.pax.url</groupId> |
| 99 | <artifactId>pax-url-mvn</artifactId> |
| 100 | </dependency> |
| 101 | </dependencies> |
| 102 | |
| 103 | <build> |
| 104 | <plugins> |
| 105 | <plugin> |
| 106 | <groupId>org.apache.maven.plugins</groupId> |
| 107 | <artifactId>maven-resources-plugin</artifactId> |
| 108 | <executions> |
| 109 | <execution> |
| 110 | <id>copy-resources</id> |
| 111 | <!-- here the phase you need --> |
| 112 | <phase>compile</phase> |
| 113 | <goals> |
| 114 | <goal>copy-resources</goal> |
| 115 | </goals> |
| 116 | <configuration> |
| 117 | <outputDirectory>${basedir}/target/classes/org/apache/servicemix/kernel/testing/support/</outputDirectory> |
| 118 | <resources> |
| 119 | <resource> |
| 120 | <directory>../../${config.location}</directory> |
| 121 | <includes> |
| 122 | <include>config.properties</include> |
| 123 | </includes> |
| 124 | </resource> |
| 125 | </resources> |
| 126 | </configuration> |
| 127 | </execution> |
| 128 | </executions> |
| 129 | </plugin> |
| 130 | <plugin> |
| 131 | <groupId>org.apache.felix</groupId> |
| 132 | <artifactId>maven-bundle-plugin</artifactId> |
| 133 | <configuration> |
| 134 | <instructions> |
| 135 | <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName> |
| 136 | <Import-Package> |
| 137 | org.apache.felix*;resolution:=optional, |
| 138 | org.apache.servicemix.kernel.main;resolution:=optional, |
| 139 | org.apache.servicemix.kernel.main.spi;resolution:=optional;version="1.0.0", |
| 140 | * |
| 141 | </Import-Package> |
| 142 | <Export-Package>${pom.artifactId}</Export-Package> |
| 143 | </instructions> |
| 144 | </configuration> |
| 145 | </plugin> |
| 146 | </plugins> |
| 147 | </build> |
| 148 | |
| 149 | </project> |