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