Clement Escoffier | 1c47f28 | 2013-02-13 16:26:18 +0000 | [diff] [blame] | 1 | <!-- |
| 2 | Licensed to the Apache Software Foundation (ASF) under one |
| 3 | or more contributor license agreements. See the NOTICE file |
| 4 | distributed with this work for additional information |
| 5 | regarding copyright ownership. The ASF licenses this file |
| 6 | to you under the Apache License, Version 2.0 (the |
| 7 | "License"); you may not use this file except in compliance |
| 8 | with the License. You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, |
| 13 | software distributed under the License is distributed on an |
| 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | KIND, either express or implied. See the License for the |
| 16 | specific language governing permissions and limitations |
| 17 | under the License. |
| 18 | --> |
| 19 | <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 20 | xmlns="http://maven.apache.org/POM/4.0.0" |
| 21 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 22 | <parent> |
| 23 | <groupId>org.apache.felix</groupId> |
| 24 | <artifactId>felix-parent</artifactId> |
| 25 | <version>1.2.1</version> |
| 26 | <relativePath>../../../pom/pom.xml</relativePath> |
| 27 | </parent> |
| 28 | <modelVersion>4.0.0</modelVersion> |
| 29 | <artifactId>org.apache.felix.ipojo.runtime.core-it</artifactId> |
| 30 | <version>1.9.0-SNAPSHOT</version> |
| 31 | <name>Apache Felix iPOJO Runtime Project ~ Core Integration Tests</name> |
| 32 | <packaging>pom</packaging> |
| 33 | |
| 34 | <build> |
| 35 | <resources> |
| 36 | <resource> |
| 37 | <directory>src/main/resources</directory> |
| 38 | </resource> |
| 39 | <resource> |
| 40 | <directory>.</directory> |
| 41 | <targetPath>META-INF</targetPath> |
| 42 | <includes> |
| 43 | <include>LICENSE*</include> |
| 44 | <include>NOTICE*</include> |
| 45 | <include>DEPENDENCIES*</include> |
| 46 | </includes> |
| 47 | </resource> |
| 48 | </resources> |
| 49 | </build> |
| 50 | |
| 51 | <profiles> |
| 52 | <profile> |
| 53 | <id>release</id> |
| 54 | <build> |
| 55 | <plugins> |
| 56 | <plugin> |
| 57 | <groupId>org.apache.maven.plugins</groupId> |
| 58 | <artifactId>maven-assembly-plugin</artifactId> |
| 59 | <executions> |
| 60 | <execution> |
| 61 | <id>make-assembly</id> |
| 62 | <phase>package</phase> |
| 63 | <goals> |
| 64 | <goal>single</goal> |
| 65 | </goals> |
| 66 | <configuration> |
| 67 | <descriptorRefs> |
| 68 | <descriptorRef>project</descriptorRef> |
| 69 | </descriptorRefs> |
| 70 | <!-- we don't want to attach all the assemblies, such as bz2 --> |
| 71 | <attach>false</attach> |
| 72 | </configuration> |
| 73 | </execution> |
| 74 | </executions> |
| 75 | </plugin> |
| 76 | <plugin> |
| 77 | <!-- only attach the project and bin assemblies, in tar.gz and zip flavors --> |
| 78 | <groupId>org.codehaus.mojo</groupId> |
| 79 | <artifactId>build-helper-maven-plugin</artifactId> |
| 80 | <executions> |
| 81 | <execution> |
| 82 | <id>attach-assemblies</id> |
| 83 | <phase>package</phase> |
| 84 | <goals> |
| 85 | <goal>attach-artifact</goal> |
| 86 | </goals> |
| 87 | <configuration> |
| 88 | <artifacts> |
| 89 | <artifact> |
| 90 | <file> |
| 91 | ${project.build.directory}/${project.artifactId}-${project.version}-project.tar.gz |
| 92 | </file> |
| 93 | <classifier>project</classifier> |
| 94 | <type>tar.gz</type> |
| 95 | </artifact> |
| 96 | <artifact> |
| 97 | <file> |
| 98 | ${project.build.directory}/${project.artifactId}-${project.version}-project.zip |
| 99 | </file> |
| 100 | <classifier>project</classifier> |
| 101 | <type>zip</type> |
| 102 | </artifact> |
| 103 | </artifacts> |
| 104 | </configuration> |
| 105 | </execution> |
| 106 | </executions> |
| 107 | </plugin> |
| 108 | </plugins> |
| 109 | </build> |
| 110 | </profile> |
| 111 | |
| 112 | <profile> |
| 113 | <id>knopflerfish</id> |
| 114 | <activation> |
| 115 | <activeByDefault>false</activeByDefault> |
| 116 | <property> |
| 117 | <name>pax.exam.framework</name> |
| 118 | <value>knopflerfish</value> |
| 119 | </property> |
| 120 | </activation> |
| 121 | <properties> |
| 122 | <pax.exam.framework>knopflerfish</pax.exam.framework> |
| 123 | </properties> |
| 124 | <repositories> |
| 125 | <repository> |
| 126 | <id>knopflerfish-releases</id> |
| 127 | <url>http://www.knopflerfish.org/maven2</url> |
| 128 | </repository> |
| 129 | </repositories> |
| 130 | <dependencies> |
| 131 | <dependency> |
| 132 | <groupId>org.knopflerfish</groupId> |
| 133 | <artifactId>framework</artifactId> |
| 134 | <version>5.2.0</version> |
| 135 | <scope>test</scope> |
| 136 | </dependency> |
| 137 | </dependencies> |
| 138 | </profile> |
| 139 | |
| 140 | <profile> |
| 141 | <id>equinox</id> |
| 142 | <activation> |
| 143 | <activeByDefault>false</activeByDefault> |
| 144 | <property> |
| 145 | <name>pax.exam.framework</name> |
| 146 | <value>equinox</value> |
| 147 | </property> |
| 148 | </activation> |
| 149 | <properties> |
| 150 | <pax.exam.framework>equinox</pax.exam.framework> |
| 151 | </properties> |
| 152 | <dependencies> |
| 153 | <dependency> |
| 154 | <groupId>org.eclipse.tycho</groupId> |
| 155 | <artifactId>org.eclipse.osgi</artifactId> |
| 156 | <version>3.8.1.v20120830-144521</version> |
| 157 | <scope>test</scope> |
| 158 | </dependency> |
| 159 | </dependencies> |
| 160 | </profile> |
| 161 | |
| 162 | <profile> |
| 163 | <id>felix</id> |
| 164 | <activation> |
| 165 | <activeByDefault>false</activeByDefault> |
| 166 | <property> |
| 167 | <name>pax.exam.framework</name> |
| 168 | <value>felix</value> |
| 169 | </property> |
| 170 | </activation> |
| 171 | <properties> |
| 172 | <pax.exam.framework>felix</pax.exam.framework> |
| 173 | </properties> |
| 174 | <dependencies> |
| 175 | <dependency> |
| 176 | <groupId>org.apache.felix</groupId> |
| 177 | <artifactId>org.apache.felix.framework</artifactId> |
| 178 | <version>4.2.0</version> |
| 179 | <scope>test</scope> |
| 180 | </dependency> |
| 181 | </dependencies> |
| 182 | </profile> |
| 183 | |
| 184 | <profile> |
| 185 | <id>test</id> |
| 186 | <activation> |
| 187 | <activeByDefault>true</activeByDefault> |
| 188 | </activation> |
| 189 | <build> |
| 190 | <plugins> |
| 191 | <plugin> |
| 192 | <groupId>org.apache.maven.plugins</groupId> |
| 193 | <artifactId>maven-invoker-plugin</artifactId> |
| 194 | <version>1.8</version> |
| 195 | <configuration> |
| 196 | <streamLogs>true</streamLogs> |
| 197 | <goals> |
| 198 | <goal>clean</goal> |
| 199 | <goal>test</goal> |
| 200 | </goals> |
| 201 | <cloneClean>true</cloneClean> |
| 202 | </configuration> |
| 203 | <executions> |
| 204 | <execution> |
| 205 | <id>regular</id> |
| 206 | <goals> |
| 207 | <goal>run</goal> |
| 208 | </goals> |
| 209 | <configuration> |
| 210 | <profiles> |
| 211 | <profile>felix</profile> |
| 212 | </profiles> |
| 213 | <cloneProjectsTo>${project.build.directory}/regular</cloneProjectsTo> |
| 214 | </configuration> |
| 215 | </execution> |
| 216 | </executions> |
| 217 | </plugin> |
| 218 | </plugins> |
| 219 | </build> |
| 220 | </profile> |
| 221 | |
| 222 | <profile> |
| 223 | <id>test-all</id> |
| 224 | <activation> |
| 225 | <activeByDefault>false</activeByDefault> |
| 226 | </activation> |
| 227 | <build> |
| 228 | <plugins> |
| 229 | <plugin> |
| 230 | <groupId>org.apache.maven.plugins</groupId> |
| 231 | <artifactId>maven-invoker-plugin</artifactId> |
| 232 | <version>1.8</version> |
| 233 | <configuration> |
| 234 | <streamLogs>true</streamLogs> |
| 235 | <goals> |
| 236 | <goal>clean</goal> |
| 237 | <goal>test</goal> |
| 238 | </goals> |
| 239 | <cloneClean>true</cloneClean> |
| 240 | </configuration> |
| 241 | <executions> |
| 242 | <execution> |
| 243 | <id>equinox-native</id> |
| 244 | <goals> |
| 245 | <goal>run</goal> |
| 246 | </goals> |
| 247 | <configuration> |
| 248 | <profiles> |
| 249 | <profile>equinox</profile> |
| 250 | </profiles> |
| 251 | <cloneProjectsTo>${project.build.directory}/equinox-native</cloneProjectsTo> |
| 252 | |
| 253 | </configuration> |
| 254 | </execution> |
| 255 | <execution> |
| 256 | <id>felix-native</id> |
| 257 | <goals> |
| 258 | <goal>run</goal> |
| 259 | </goals> |
| 260 | <configuration> |
| 261 | <profiles> |
| 262 | <profile>felix</profile> |
| 263 | </profiles> |
| 264 | <cloneProjectsTo>${project.build.directory}/felix-native</cloneProjectsTo> |
| 265 | </configuration> |
| 266 | </execution> |
| 267 | <execution> |
| 268 | <id>knopflerfish-native</id> |
| 269 | <goals> |
| 270 | <goal>run</goal> |
| 271 | </goals> |
| 272 | <configuration> |
| 273 | <profiles> |
| 274 | <profile>knopflerfish</profile> |
| 275 | </profiles> |
| 276 | <cloneProjectsTo>${project.build.directory}/knopflerfish-native</cloneProjectsTo> |
| 277 | </configuration> |
| 278 | </execution> |
| 279 | </executions> |
| 280 | </plugin> |
| 281 | </plugins> |
| 282 | </build> |
| 283 | </profile> |
| 284 | </profiles> |
| 285 | </project> |