Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +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> |
Clement Escoffier | ed4ca02 | 2013-03-13 15:27:20 +0000 | [diff] [blame] | 25 | <version>2.1</version> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 26 | <relativePath>../../../pom/pom.xml</relativePath> |
| 27 | </parent> |
| 28 | <modelVersion>4.0.0</modelVersion> |
| 29 | <artifactId>org.apache.felix.ipojo.runtime.composite-it</artifactId> |
| 30 | <version>1.9.0-SNAPSHOT</version> |
| 31 | <name>Apache Felix iPOJO Runtime Project ~ Composite Integration Tests</name> |
| 32 | <packaging>pom</packaging> |
| 33 | |
| 34 | <build> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 35 | <plugins> |
| 36 | <plugin> |
| 37 | <groupId>org.apache.maven.plugins</groupId> |
| 38 | <artifactId>maven-compiler-plugin</artifactId> |
| 39 | <version>2.5.1</version> |
| 40 | <configuration> |
| 41 | <source>1.6</source> |
| 42 | <target>1.6</target> |
| 43 | </configuration> |
| 44 | </plugin> |
| 45 | |
| 46 | <plugin> |
| 47 | <groupId>org.apache.servicemix.tooling</groupId> |
| 48 | <artifactId>depends-maven-plugin</artifactId> |
| 49 | <version>1.2</version> |
| 50 | <executions> |
| 51 | <execution> |
| 52 | <id>generate-config</id> |
| 53 | <goals> |
| 54 | <goal>generate-depends-file</goal> |
| 55 | </goals> |
| 56 | </execution> |
| 57 | </executions> |
| 58 | </plugin> |
Clement Escoffier | ed4ca02 | 2013-03-13 15:27:20 +0000 | [diff] [blame] | 59 | |
| 60 | <plugin> |
| 61 | <groupId>org.apache.rat</groupId> |
| 62 | <artifactId>apache-rat-plugin</artifactId> |
| 63 | <executions> |
| 64 | <execution> |
| 65 | <phase>verify</phase> |
| 66 | <goals> |
| 67 | <goal>check</goal> |
| 68 | </goals> |
| 69 | </execution> |
| 70 | </executions> |
| 71 | <configuration> |
| 72 | <!-- check src only (except remote resources additions) --> |
| 73 | <includes> |
| 74 | <include>src/**</include> |
| 75 | </includes> |
| 76 | <excludes> |
| 77 | <exclude>src/main/appended-resources/**</exclude> |
| 78 | <exclude>**/*.iml</exclude> <!-- Exclude iml files --> |
| 79 | </excludes> |
| 80 | </configuration> |
| 81 | </plugin> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 82 | </plugins> |
| 83 | |
| 84 | </build> |
| 85 | |
| 86 | <properties> |
Clement Escoffier | d18900c | 2013-03-18 18:29:08 +0000 | [diff] [blame] | 87 | <!-- a new barrier check was pushed in the 3.0.1 --> |
| 88 | <exam.version>3.0.1</exam.version> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 89 | <url.version>1.5.1</url.version> |
| 90 | </properties> |
| 91 | |
| 92 | <dependencies> |
| 93 | |
| 94 | <dependency> |
| 95 | <groupId>org.ops4j.pax.exam</groupId> |
| 96 | <artifactId>pax-exam-container-native</artifactId> |
| 97 | <version>${exam.version}</version> |
| 98 | <scope>test</scope> |
| 99 | </dependency> |
| 100 | |
| 101 | <dependency> |
| 102 | <groupId>org.ops4j.pax.exam</groupId> |
| 103 | <artifactId>pax-exam-junit4</artifactId> |
| 104 | <version>${exam.version}</version> |
| 105 | <scope>test</scope> |
| 106 | </dependency> |
| 107 | |
| 108 | <dependency> |
| 109 | <groupId>org.ops4j.pax.exam</groupId> |
| 110 | <artifactId>pax-exam-link-mvn</artifactId> |
| 111 | <version>${exam.version}</version> |
| 112 | <scope>test</scope> |
| 113 | </dependency> |
| 114 | |
| 115 | <dependency> |
| 116 | <groupId>org.ops4j.pax.url</groupId> |
| 117 | <artifactId>pax-url-aether</artifactId> |
| 118 | <version>${url.version}</version> |
| 119 | <scope>test</scope> |
| 120 | </dependency> |
| 121 | |
| 122 | <dependency> |
| 123 | <groupId>org.apache.felix</groupId> |
| 124 | <artifactId>org.apache.felix.framework</artifactId> |
| 125 | <version>4.2.0</version> |
| 126 | <scope>test</scope> |
| 127 | </dependency> |
| 128 | |
| 129 | <dependency> |
| 130 | <groupId>ch.qos.logback</groupId> |
| 131 | <artifactId>logback-core</artifactId> |
| 132 | <version>0.9.6</version> |
| 133 | <scope>test</scope> |
| 134 | </dependency> |
| 135 | |
| 136 | <dependency> |
| 137 | <groupId>ch.qos.logback</groupId> |
| 138 | <artifactId>logback-classic</artifactId> |
| 139 | <version>0.9.6</version> |
| 140 | <scope>test</scope> |
| 141 | </dependency> |
| 142 | |
| 143 | |
| 144 | <dependency> |
| 145 | <groupId>junit</groupId> |
| 146 | <artifactId>junit</artifactId> |
| 147 | <version>4.9</version> |
| 148 | <scope>test</scope> |
| 149 | </dependency> |
| 150 | |
| 151 | <dependency> |
| 152 | <groupId>org.mockito</groupId> |
| 153 | <artifactId>mockito-all</artifactId> |
| 154 | <version>1.9.5</version> |
| 155 | </dependency> |
| 156 | |
| 157 | <dependency> |
| 158 | <groupId>org.ops4j.pax.tinybundles</groupId> |
| 159 | <artifactId>tinybundles</artifactId> |
| 160 | <version>1.0.0</version> |
| 161 | </dependency> |
| 162 | |
| 163 | <dependency> |
| 164 | <groupId>org.apache.felix</groupId> |
| 165 | <artifactId>org.apache.felix.ipojo</artifactId> |
| 166 | <version>1.9.0-SNAPSHOT</version> |
| 167 | </dependency> |
| 168 | |
| 169 | <dependency> |
| 170 | <groupId>org.apache.felix</groupId> |
| 171 | <artifactId>org.apache.felix.ipojo.composite</artifactId> |
| 172 | <version>1.9.0-SNAPSHOT</version> |
| 173 | </dependency> |
| 174 | |
| 175 | <dependency> |
| 176 | <groupId>org.apache.felix</groupId> |
| 177 | <artifactId>org.apache.felix.ipojo.manipulator</artifactId> |
| 178 | <version>1.9.0-SNAPSHOT</version> |
| 179 | </dependency> |
| 180 | |
| 181 | <dependency> |
| 182 | <groupId>org.apache.felix</groupId> |
| 183 | <artifactId>org.apache.felix.configadmin</artifactId> |
| 184 | <version>1.6.0</version> |
| 185 | <scope>test</scope> |
| 186 | </dependency> |
| 187 | |
| 188 | <dependency> |
| 189 | <groupId>commons-io</groupId> |
| 190 | <artifactId>commons-io</artifactId> |
| 191 | <version>2.4</version> |
| 192 | </dependency> |
| 193 | |
| 194 | <dependency> |
| 195 | <groupId>org.ow2.chameleon.testing</groupId> |
| 196 | <artifactId>osgi-helpers</artifactId> |
| 197 | <version>0.6.0</version> |
| 198 | <scope>test</scope> |
| 199 | </dependency> |
| 200 | |
| 201 | <dependency> |
| 202 | <groupId>org.ow2.chameleon.testing</groupId> |
| 203 | <artifactId>tinybundles-ipojo</artifactId> |
| 204 | <version>0.3.0</version> |
| 205 | </dependency> |
| 206 | |
| 207 | <dependency> |
| 208 | <groupId>org.apache.felix</groupId> |
| 209 | <artifactId>org.apache.felix.ipojo.handler.eventadmin</artifactId> |
| 210 | <!-- |
| 211 | We use the released version as we don't really have to do any behavioral test on the handler in the core |
| 212 | test. |
| 213 | --> |
| 214 | <version>1.8.0</version> |
| 215 | </dependency> |
| 216 | |
| 217 | <dependency> |
| 218 | <groupId>org.apache.felix</groupId> |
| 219 | <artifactId>org.apache.felix.log</artifactId> |
| 220 | <version>1.0.1</version> |
| 221 | </dependency> |
| 222 | |
| 223 | <dependency> |
| 224 | <groupId>org.ops4j.pax.url</groupId> |
| 225 | <artifactId>pax-url-wrap</artifactId> |
| 226 | <version>1.5.2</version> |
| 227 | </dependency> |
| 228 | </dependencies> |
| 229 | |
| 230 | <profiles> |
| 231 | <profile> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 232 | <id>knopflerfish</id> |
| 233 | <activation> |
| 234 | <activeByDefault>false</activeByDefault> |
| 235 | <property> |
| 236 | <name>pax.exam.framework</name> |
| 237 | <value>knopflerfish</value> |
| 238 | </property> |
| 239 | </activation> |
| 240 | <properties> |
| 241 | <pax.exam.framework>knopflerfish</pax.exam.framework> |
| 242 | </properties> |
| 243 | <repositories> |
| 244 | <repository> |
| 245 | <id>knopflerfish-releases</id> |
| 246 | <url>http://www.knopflerfish.org/maven2</url> |
| 247 | </repository> |
| 248 | </repositories> |
| 249 | <dependencies> |
| 250 | <dependency> |
| 251 | <groupId>org.knopflerfish</groupId> |
| 252 | <artifactId>framework</artifactId> |
| 253 | <version>5.2.0</version> |
| 254 | <scope>test</scope> |
| 255 | </dependency> |
| 256 | </dependencies> |
| 257 | </profile> |
| 258 | |
| 259 | <profile> |
| 260 | <id>equinox</id> |
| 261 | <activation> |
| 262 | <activeByDefault>false</activeByDefault> |
| 263 | <property> |
| 264 | <name>pax.exam.framework</name> |
| 265 | <value>equinox</value> |
| 266 | </property> |
| 267 | </activation> |
| 268 | <properties> |
| 269 | <pax.exam.framework>equinox</pax.exam.framework> |
| 270 | </properties> |
| 271 | <dependencies> |
| 272 | <dependency> |
| 273 | <groupId>org.eclipse.tycho</groupId> |
| 274 | <artifactId>org.eclipse.osgi</artifactId> |
| 275 | <version>3.8.1.v20120830-144521</version> |
| 276 | <scope>test</scope> |
| 277 | </dependency> |
| 278 | </dependencies> |
| 279 | </profile> |
| 280 | |
| 281 | <profile> |
| 282 | <id>felix</id> |
| 283 | <activation> |
| 284 | <activeByDefault>false</activeByDefault> |
| 285 | <property> |
| 286 | <name>pax.exam.framework</name> |
| 287 | <value>felix</value> |
| 288 | </property> |
| 289 | </activation> |
| 290 | <properties> |
| 291 | <pax.exam.framework>felix</pax.exam.framework> |
| 292 | </properties> |
| 293 | <dependencies> |
| 294 | <dependency> |
| 295 | <groupId>org.apache.felix</groupId> |
| 296 | <artifactId>org.apache.felix.framework</artifactId> |
| 297 | <version>4.2.0</version> |
| 298 | <scope>test</scope> |
| 299 | </dependency> |
| 300 | </dependencies> |
| 301 | </profile> |
| 302 | |
| 303 | <profile> |
| 304 | <id>test</id> |
| 305 | <activation> |
| 306 | <activeByDefault>true</activeByDefault> |
| 307 | </activation> |
| 308 | <build> |
| 309 | <plugins> |
| 310 | <plugin> |
| 311 | <groupId>org.apache.maven.plugins</groupId> |
| 312 | <artifactId>maven-invoker-plugin</artifactId> |
| 313 | <version>1.8</version> |
| 314 | <configuration> |
| 315 | <streamLogs>true</streamLogs> |
| 316 | <goals> |
| 317 | <goal>clean</goal> |
| 318 | <goal>test</goal> |
| 319 | </goals> |
| 320 | <cloneClean>true</cloneClean> |
| 321 | </configuration> |
| 322 | <executions> |
| 323 | <execution> |
| 324 | <id>regular</id> |
| 325 | <goals> |
| 326 | <goal>run</goal> |
| 327 | </goals> |
| 328 | <configuration> |
| 329 | <profiles> |
| 330 | <profile>felix</profile> |
| 331 | </profiles> |
| 332 | <cloneProjectsTo>${project.build.directory}/regular</cloneProjectsTo> |
| 333 | </configuration> |
| 334 | </execution> |
| 335 | </executions> |
| 336 | </plugin> |
| 337 | </plugins> |
| 338 | </build> |
| 339 | </profile> |
| 340 | |
| 341 | <profile> |
| 342 | <id>test-all</id> |
| 343 | <activation> |
| 344 | <activeByDefault>false</activeByDefault> |
| 345 | </activation> |
| 346 | <build> |
| 347 | <plugins> |
| 348 | <plugin> |
| 349 | <groupId>org.apache.maven.plugins</groupId> |
| 350 | <artifactId>maven-invoker-plugin</artifactId> |
| 351 | <version>1.8</version> |
| 352 | <configuration> |
| 353 | <streamLogs>true</streamLogs> |
| 354 | <goals> |
| 355 | <goal>clean</goal> |
| 356 | <goal>test</goal> |
| 357 | </goals> |
| 358 | <cloneClean>true</cloneClean> |
| 359 | </configuration> |
| 360 | <executions> |
| 361 | <execution> |
| 362 | <id>equinox-native</id> |
| 363 | <goals> |
| 364 | <goal>run</goal> |
| 365 | </goals> |
| 366 | <configuration> |
| 367 | <profiles> |
| 368 | <profile>equinox</profile> |
| 369 | </profiles> |
| 370 | <cloneProjectsTo>${project.build.directory}/equinox-native</cloneProjectsTo> |
| 371 | |
| 372 | </configuration> |
| 373 | </execution> |
| 374 | <execution> |
| 375 | <id>felix-native</id> |
| 376 | <goals> |
| 377 | <goal>run</goal> |
| 378 | </goals> |
| 379 | <configuration> |
| 380 | <profiles> |
| 381 | <profile>felix</profile> |
| 382 | </profiles> |
| 383 | <cloneProjectsTo>${project.build.directory}/felix-native</cloneProjectsTo> |
| 384 | </configuration> |
| 385 | </execution> |
| 386 | <execution> |
| 387 | <id>knopflerfish-native</id> |
| 388 | <goals> |
| 389 | <goal>run</goal> |
| 390 | </goals> |
| 391 | <configuration> |
| 392 | <profiles> |
| 393 | <profile>knopflerfish</profile> |
| 394 | </profiles> |
| 395 | <cloneProjectsTo>${project.build.directory}/knopflerfish-native</cloneProjectsTo> |
| 396 | </configuration> |
| 397 | </execution> |
| 398 | </executions> |
| 399 | </plugin> |
| 400 | </plugins> |
| 401 | </build> |
| 402 | </profile> |
| 403 | </profiles> |
| 404 | </project> |