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