Clement Escoffier | e698656 | 2013-02-22 18:55:31 +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 | e2399ee | 2013-05-15 13:23:33 +0000 | [diff] [blame] | 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"> |
Clement Escoffier | e698656 | 2013-02-22 18:55:31 +0000 | [diff] [blame] | 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 | e698656 | 2013-02-22 18:55:31 +0000 | [diff] [blame] | 26 | <relativePath>../../../pom/pom.xml</relativePath> |
| 27 | </parent> |
| 28 | <modelVersion>4.0.0</modelVersion> |
| 29 | <artifactId>org.apache.felix.ipojo.manipulator.manipulator-it</artifactId> |
Clement Escoffier | e2399ee | 2013-05-15 13:23:33 +0000 | [diff] [blame] | 30 | <version>1.9.0-SNAPSHOT</version> |
Clement Escoffier | a00b642 | 2013-02-26 18:35:04 +0000 | [diff] [blame] | 31 | <name>Apache Felix iPOJO Manipulator ~ Integration Tests</name> |
Clement Escoffier | e698656 | 2013-02-22 18:55:31 +0000 | [diff] [blame] | 32 | <packaging>pom</packaging> |
| 33 | |
| 34 | <build> |
Clement Escoffier | e698656 | 2013-02-22 18:55:31 +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> |
Clement Escoffier | 3366069 | 2013-04-12 05:48:29 +0000 | [diff] [blame] | 79 | <exclude>src/it/**/target/**</exclude> |
Clement Escoffier | ed4ca02 | 2013-03-13 15:27:20 +0000 | [diff] [blame] | 80 | </excludes> |
| 81 | </configuration> |
| 82 | </plugin> |
Clement Escoffier | e698656 | 2013-02-22 18:55:31 +0000 | [diff] [blame] | 83 | </plugins> |
| 84 | |
| 85 | </build> |
| 86 | |
| 87 | <properties> |
| 88 | <exam.version>3.0.0</exam.version> |
| 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 | |
Clement Escoffier | 8c127ac | 2013-03-09 09:06:29 +0000 | [diff] [blame] | 163 | <!-- The tiny bundle extension must be before the manipulator version |
| 164 | to use the right version of the manipulator --> |
| 165 | <dependency> |
| 166 | <groupId>org.ow2.chameleon.testing</groupId> |
| 167 | <artifactId>tinybundles-ipojo</artifactId> |
| 168 | <version>0.3.0</version> |
Clement Escoffier | fe1775d | 2013-05-13 12:54:07 +0000 | [diff] [blame] | 169 | <scope>test</scope> |
Clement Escoffier | 8c127ac | 2013-03-09 09:06:29 +0000 | [diff] [blame] | 170 | </dependency> |
| 171 | |
Clement Escoffier | e698656 | 2013-02-22 18:55:31 +0000 | [diff] [blame] | 172 | <!-- Define the tested version --> |
| 173 | <dependency> |
| 174 | <groupId>org.apache.felix</groupId> |
Clement Escoffier | 8c127ac | 2013-03-09 09:06:29 +0000 | [diff] [blame] | 175 | <artifactId>org.apache.felix.ipojo.manipulator</artifactId> |
Clement Escoffier | e2399ee | 2013-05-15 13:23:33 +0000 | [diff] [blame] | 176 | <version>1.9.0-SNAPSHOT</version> |
Clement Escoffier | 8c127ac | 2013-03-09 09:06:29 +0000 | [diff] [blame] | 177 | </dependency> |
| 178 | |
| 179 | <dependency> |
| 180 | <groupId>org.apache.felix</groupId> |
Clement Escoffier | e698656 | 2013-02-22 18:55:31 +0000 | [diff] [blame] | 181 | <artifactId>org.apache.felix.ipojo</artifactId> |
| 182 | <version>1.9.0-SNAPSHOT</version> |
| 183 | </dependency> |
| 184 | |
Clement Escoffier | 4f2609b | 2013-03-20 07:35:37 +0000 | [diff] [blame] | 185 | <dependency> |
| 186 | <groupId>org.apache.felix</groupId> |
| 187 | <artifactId>org.apache.felix.ipojo.manipulator.online</artifactId> |
Clement Escoffier | e2399ee | 2013-05-15 13:23:33 +0000 | [diff] [blame] | 188 | <version>1.9.0-SNAPSHOT</version> |
Clement Escoffier | 4f2609b | 2013-03-20 07:35:37 +0000 | [diff] [blame] | 189 | </dependency> |
| 190 | |
Clement Escoffier | e698656 | 2013-02-22 18:55:31 +0000 | [diff] [blame] | 191 | <!-- End of tested version --> |
| 192 | |
| 193 | <dependency> |
| 194 | <groupId>org.apache.felix</groupId> |
| 195 | <artifactId>org.apache.felix.configadmin</artifactId> |
| 196 | <version>1.6.0</version> |
| 197 | <scope>test</scope> |
| 198 | </dependency> |
| 199 | |
| 200 | <dependency> |
| 201 | <groupId>commons-io</groupId> |
| 202 | <artifactId>commons-io</artifactId> |
| 203 | <version>2.4</version> |
| 204 | </dependency> |
| 205 | |
| 206 | <dependency> |
| 207 | <groupId>org.ow2.chameleon.testing</groupId> |
| 208 | <artifactId>osgi-helpers</artifactId> |
Clement Escoffier | c8c8bf2 | 2013-05-03 07:28:42 +0000 | [diff] [blame] | 209 | <version>0.6.1-SNAPSHOT</version> |
Clement Escoffier | e698656 | 2013-02-22 18:55:31 +0000 | [diff] [blame] | 210 | <scope>test</scope> |
| 211 | </dependency> |
| 212 | |
| 213 | <dependency> |
Clement Escoffier | e698656 | 2013-02-22 18:55:31 +0000 | [diff] [blame] | 214 | <groupId>org.apache.felix</groupId> |
| 215 | <artifactId>org.apache.felix.log</artifactId> |
| 216 | <version>1.0.1</version> |
| 217 | </dependency> |
| 218 | |
| 219 | <dependency> |
| 220 | <groupId>org.ops4j.pax.url</groupId> |
| 221 | <artifactId>pax-url-wrap</artifactId> |
| 222 | <version>1.5.2</version> |
| 223 | </dependency> |
| 224 | </dependencies> |
| 225 | |
| 226 | <profiles> |
| 227 | <profile> |
Clement Escoffier | e698656 | 2013-02-22 18:55:31 +0000 | [diff] [blame] | 228 | <id>knopflerfish</id> |
| 229 | <activation> |
| 230 | <activeByDefault>false</activeByDefault> |
| 231 | <property> |
| 232 | <name>pax.exam.framework</name> |
| 233 | <value>knopflerfish</value> |
| 234 | </property> |
| 235 | </activation> |
| 236 | <properties> |
| 237 | <pax.exam.framework>knopflerfish</pax.exam.framework> |
| 238 | </properties> |
| 239 | <repositories> |
| 240 | <repository> |
| 241 | <id>knopflerfish-releases</id> |
| 242 | <url>http://www.knopflerfish.org/maven2</url> |
| 243 | </repository> |
| 244 | </repositories> |
| 245 | <dependencies> |
| 246 | <dependency> |
| 247 | <groupId>org.knopflerfish</groupId> |
| 248 | <artifactId>framework</artifactId> |
| 249 | <version>5.2.0</version> |
| 250 | <scope>test</scope> |
| 251 | </dependency> |
| 252 | </dependencies> |
| 253 | </profile> |
| 254 | |
| 255 | <profile> |
| 256 | <id>equinox</id> |
| 257 | <activation> |
| 258 | <activeByDefault>false</activeByDefault> |
| 259 | <property> |
| 260 | <name>pax.exam.framework</name> |
| 261 | <value>equinox</value> |
| 262 | </property> |
| 263 | </activation> |
| 264 | <properties> |
| 265 | <pax.exam.framework>equinox</pax.exam.framework> |
| 266 | </properties> |
| 267 | <dependencies> |
| 268 | <dependency> |
| 269 | <groupId>org.eclipse.tycho</groupId> |
| 270 | <artifactId>org.eclipse.osgi</artifactId> |
| 271 | <version>3.8.1.v20120830-144521</version> |
| 272 | <scope>test</scope> |
| 273 | </dependency> |
| 274 | </dependencies> |
| 275 | </profile> |
| 276 | |
| 277 | <profile> |
| 278 | <id>felix</id> |
| 279 | <activation> |
| 280 | <activeByDefault>false</activeByDefault> |
| 281 | <property> |
| 282 | <name>pax.exam.framework</name> |
| 283 | <value>felix</value> |
| 284 | </property> |
| 285 | </activation> |
| 286 | <properties> |
| 287 | <pax.exam.framework>felix</pax.exam.framework> |
| 288 | </properties> |
| 289 | <dependencies> |
| 290 | <dependency> |
| 291 | <groupId>org.apache.felix</groupId> |
| 292 | <artifactId>org.apache.felix.framework</artifactId> |
| 293 | <version>4.2.0</version> |
| 294 | <scope>test</scope> |
| 295 | </dependency> |
| 296 | </dependencies> |
| 297 | </profile> |
| 298 | |
| 299 | <profile> |
| 300 | <id>test</id> |
| 301 | <activation> |
| 302 | <activeByDefault>true</activeByDefault> |
| 303 | </activation> |
| 304 | <build> |
| 305 | <plugins> |
| 306 | <plugin> |
| 307 | <groupId>org.apache.maven.plugins</groupId> |
| 308 | <artifactId>maven-invoker-plugin</artifactId> |
| 309 | <version>1.8</version> |
| 310 | <configuration> |
| 311 | <streamLogs>true</streamLogs> |
| 312 | <goals> |
| 313 | <goal>clean</goal> |
| 314 | <goal>test</goal> |
| 315 | </goals> |
| 316 | <cloneClean>true</cloneClean> |
| 317 | </configuration> |
| 318 | <executions> |
| 319 | <execution> |
| 320 | <id>regular</id> |
| 321 | <goals> |
| 322 | <goal>run</goal> |
| 323 | </goals> |
| 324 | <configuration> |
| 325 | <profiles> |
| 326 | <profile>felix</profile> |
| 327 | </profiles> |
| 328 | <cloneProjectsTo>${project.build.directory}/regular</cloneProjectsTo> |
| 329 | </configuration> |
| 330 | </execution> |
| 331 | </executions> |
| 332 | </plugin> |
| 333 | </plugins> |
| 334 | </build> |
| 335 | </profile> |
| 336 | |
| 337 | <profile> |
| 338 | <id>test-all</id> |
| 339 | <activation> |
| 340 | <activeByDefault>false</activeByDefault> |
| 341 | </activation> |
| 342 | <build> |
| 343 | <plugins> |
| 344 | <plugin> |
| 345 | <groupId>org.apache.maven.plugins</groupId> |
| 346 | <artifactId>maven-invoker-plugin</artifactId> |
| 347 | <version>1.8</version> |
| 348 | <configuration> |
| 349 | <streamLogs>true</streamLogs> |
| 350 | <goals> |
| 351 | <goal>clean</goal> |
| 352 | <goal>test</goal> |
| 353 | </goals> |
| 354 | <cloneClean>true</cloneClean> |
| 355 | </configuration> |
| 356 | <executions> |
| 357 | <execution> |
| 358 | <id>equinox-native</id> |
| 359 | <goals> |
| 360 | <goal>run</goal> |
| 361 | </goals> |
| 362 | <configuration> |
| 363 | <profiles> |
| 364 | <profile>equinox</profile> |
| 365 | </profiles> |
| 366 | <cloneProjectsTo>${project.build.directory}/equinox-native</cloneProjectsTo> |
| 367 | |
| 368 | </configuration> |
| 369 | </execution> |
| 370 | <execution> |
| 371 | <id>felix-native</id> |
| 372 | <goals> |
| 373 | <goal>run</goal> |
| 374 | </goals> |
| 375 | <configuration> |
| 376 | <profiles> |
| 377 | <profile>felix</profile> |
| 378 | </profiles> |
| 379 | <cloneProjectsTo>${project.build.directory}/felix-native</cloneProjectsTo> |
| 380 | </configuration> |
| 381 | </execution> |
| 382 | <execution> |
| 383 | <id>knopflerfish-native</id> |
| 384 | <goals> |
| 385 | <goal>run</goal> |
| 386 | </goals> |
| 387 | <configuration> |
| 388 | <profiles> |
| 389 | <profile>knopflerfish</profile> |
| 390 | </profiles> |
| 391 | <cloneProjectsTo>${project.build.directory}/knopflerfish-native</cloneProjectsTo> |
| 392 | </configuration> |
| 393 | </execution> |
| 394 | </executions> |
| 395 | </plugin> |
| 396 | </plugins> |
| 397 | </build> |
| 398 | </profile> |
Clement Escoffier | fe1775d | 2013-05-13 12:54:07 +0000 | [diff] [blame] | 399 | |
| 400 | <profile> |
| 401 | <id>apache-release</id> |
| 402 | <build> |
| 403 | <plugins> |
| 404 | <plugin> |
| 405 | <artifactId>maven-assembly-plugin</artifactId> |
| 406 | <dependencies> |
| 407 | <dependency> |
| 408 | <groupId>org.apache.apache.resources</groupId> |
| 409 | <artifactId>apache-source-release-assembly-descriptor</artifactId> |
| 410 | <version>1.0.3</version> |
| 411 | </dependency> |
| 412 | </dependencies> |
| 413 | <executions> |
| 414 | <execution> |
| 415 | <id>source-release-assembly</id> |
| 416 | <phase>package</phase> |
| 417 | <goals> |
| 418 | <goal>single</goal> |
| 419 | </goals> |
| 420 | <configuration> |
| 421 | <runOnlyAtExecutionRoot>false</runOnlyAtExecutionRoot> |
| 422 | <descriptorRefs> |
| 423 | <descriptorRef>${sourceReleaseAssemblyDescriptor}</descriptorRef> |
| 424 | </descriptorRefs> |
| 425 | <tarLongFileMode>gnu</tarLongFileMode> |
| 426 | </configuration> |
| 427 | </execution> |
| 428 | </executions> |
| 429 | </plugin> |
| 430 | </plugins> |
| 431 | </build> |
| 432 | </profile> |
Clement Escoffier | e698656 | 2013-02-22 18:55:31 +0000 | [diff] [blame] | 433 | </profiles> |
Clement Escoffier | c8c8bf2 | 2013-05-03 07:28:42 +0000 | [diff] [blame] | 434 | |
| 435 | <repositories> |
| 436 | <!-- Temporal addition of this repository until the osgi-helper are released --> |
| 437 | <!-- TODO remove this before the release --> |
| 438 | <repository> |
| 439 | <id>ow2.snapshots</id> |
| 440 | <url>http://repository.ow2.org/nexus/content/repositories/snapshots/</url> |
| 441 | </repository> |
| 442 | </repositories> |
Clement Escoffier | e698656 | 2013-02-22 18:55:31 +0000 | [diff] [blame] | 443 | </project> |