Pierre De Rop | 5ab26d8 | 2013-10-08 10:00:38 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | Licensed to the Apache Software Foundation (ASF) under one or more |
| 4 | contributor license agreements. See the NOTICE file distributed with |
| 5 | this work for additional information regarding copyright ownership. |
| 6 | The ASF licenses this file to you under the Apache License, Version |
| 7 | 2.0 (the "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 Unless required by |
| 11 | applicable law or agreed to in writing, software distributed under |
| 12 | the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES |
| 13 | OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 14 | License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | --> |
| 17 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 18 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 19 | <modelVersion>4.0.0</modelVersion> |
| 20 | <parent> |
| 21 | <groupId>org.apache.felix</groupId> |
| 22 | <artifactId>felix-parent</artifactId> |
| 23 | <version>2.1</version> |
| 24 | <relativePath>../../pom/pom.xml</relativePath> |
| 25 | </parent> |
| 26 | |
Pierre De Rop | 30ff986 | 2013-10-15 16:57:40 +0000 | [diff] [blame] | 27 | <artifactId>org.apache.felix.dependencymanager.test</artifactId> |
| 28 | <version>3.0.1-SNAPSHOT</version> |
Pierre De Rop | 5ab26d8 | 2013-10-08 10:00:38 +0000 | [diff] [blame] | 29 | <packaging>bundle</packaging> |
| 30 | |
Pierre De Rop | 30ff986 | 2013-10-15 16:57:40 +0000 | [diff] [blame] | 31 | <name>Apache Felix Dependency Manager Integration Tests</name> |
Pierre De Rop | 5ab26d8 | 2013-10-08 10:00:38 +0000 | [diff] [blame] | 32 | |
| 33 | <properties> |
| 34 | <bundle.build.name> |
| 35 | ${basedir}/target |
| 36 | </bundle.build.name> |
| 37 | <bundle.file.name> |
| 38 | ${bundle.build.name}/${project.build.finalName}.jar |
| 39 | </bundle.file.name> |
| 40 | |
| 41 | <felix.build.source>5</felix.build.source> |
| 42 | <felix.build.target>5</felix.build.target> |
| 43 | <felix.java.signature.artifactId>java15</felix.java.signature.artifactId> |
| 44 | <exam.version>3.0.0</exam.version> |
| 45 | <url.version>1.5.2</url.version> |
| 46 | </properties> |
| 47 | |
| 48 | <dependencies> |
| 49 | <dependency> |
| 50 | <groupId>org.osgi</groupId> |
| 51 | <artifactId>org.osgi.core</artifactId> |
| 52 | <version>5.0.0</version> |
| 53 | <scope>provided</scope> |
| 54 | </dependency> |
| 55 | <dependency> |
| 56 | <groupId>org.osgi</groupId> |
| 57 | <artifactId>org.osgi.compendium</artifactId> |
| 58 | <version>5.0.0</version> |
| 59 | <scope>provided</scope> |
| 60 | </dependency> |
| 61 | <dependency> |
| 62 | <groupId>org.apache.felix</groupId> |
| 63 | <artifactId>org.apache.felix.dependencymanager</artifactId> |
| 64 | <version>3.1.1-SNAPSHOT</version> |
| 65 | <scope>provided</scope> |
| 66 | </dependency> |
| 67 | <dependency> |
Pierre De Rop | 14979bd | 2013-10-13 08:47:15 +0000 | [diff] [blame] | 68 | <groupId>org.apache.felix</groupId> |
| 69 | <artifactId>org.apache.felix.shell</artifactId> |
| 70 | <version>1.4.2</version> |
| 71 | <scope>provided</scope> |
| 72 | </dependency> |
| 73 | <dependency> |
Pierre De Rop | 5ab26d8 | 2013-10-08 10:00:38 +0000 | [diff] [blame] | 74 | <groupId>junit</groupId> |
| 75 | <artifactId>junit</artifactId> |
| 76 | <version>4.6</version> |
| 77 | <scope>provided</scope> |
| 78 | </dependency> |
| 79 | |
| 80 | <!-- Integration Testing with Pax Exam --> |
Pierre De Rop | 313b480 | 2013-10-16 10:51:12 +0000 | [diff] [blame] | 81 | <!-- |
Pierre De Rop | 5ab26d8 | 2013-10-08 10:00:38 +0000 | [diff] [blame] | 82 | <dependency> |
| 83 | <groupId>org.ops4j.pax.exam</groupId> |
| 84 | <artifactId>pax-exam-container-native</artifactId> |
| 85 | <version>${exam.version}</version> |
| 86 | <scope>test</scope> |
| 87 | </dependency> |
Pierre De Rop | 313b480 | 2013-10-16 10:51:12 +0000 | [diff] [blame] | 88 | --> |
| 89 | <dependency> |
| 90 | <groupId>org.ops4j.pax.exam</groupId> |
| 91 | <artifactId>pax-exam-container-forked</artifactId> |
| 92 | <version>${exam.version}</version> |
| 93 | <scope>test</scope> |
| 94 | </dependency> |
| 95 | |
Pierre De Rop | 5ab26d8 | 2013-10-08 10:00:38 +0000 | [diff] [blame] | 96 | <dependency> |
| 97 | <groupId>org.ops4j.pax.exam</groupId> |
| 98 | <artifactId>pax-exam-junit4</artifactId> |
| 99 | <version>${exam.version}</version> |
| 100 | <scope>test</scope> |
| 101 | </dependency> |
| 102 | |
| 103 | <dependency> |
| 104 | <groupId>org.ops4j.pax.exam</groupId> |
| 105 | <artifactId>pax-exam-link-mvn</artifactId> |
| 106 | <version>${exam.version}</version> |
| 107 | <scope>test</scope> |
| 108 | </dependency> |
| 109 | |
| 110 | <dependency> |
| 111 | <groupId>org.ops4j.pax.url</groupId> |
| 112 | <artifactId>pax-url-aether</artifactId> |
| 113 | <version>${url.version}</version> |
| 114 | <scope>test</scope> |
| 115 | </dependency> |
| 116 | |
| 117 | <dependency> |
| 118 | <groupId>org.apache.felix</groupId> |
| 119 | <artifactId>org.apache.felix.framework</artifactId> |
| 120 | <version>4.2.1</version> |
| 121 | <scope>test</scope> |
| 122 | </dependency> |
| 123 | |
| 124 | <dependency> |
| 125 | <groupId>ch.qos.logback</groupId> |
| 126 | <artifactId>logback-core</artifactId> |
Pierre De Rop | 313b480 | 2013-10-16 10:51:12 +0000 | [diff] [blame] | 127 | <version>0.9.29</version> |
Pierre De Rop | 5ab26d8 | 2013-10-08 10:00:38 +0000 | [diff] [blame] | 128 | <scope>test</scope> |
| 129 | </dependency> |
| 130 | |
| 131 | <dependency> |
| 132 | <groupId>ch.qos.logback</groupId> |
| 133 | <artifactId>logback-classic</artifactId> |
Pierre De Rop | 313b480 | 2013-10-16 10:51:12 +0000 | [diff] [blame] | 134 | <version>0.9.29</version> |
Pierre De Rop | 5ab26d8 | 2013-10-08 10:00:38 +0000 | [diff] [blame] | 135 | <scope>test</scope> |
| 136 | </dependency> |
| 137 | |
| 138 | <!-- Dependency Manager Annotations --> |
| 139 | <dependency> |
| 140 | <groupId>org.apache.felix</groupId> |
| 141 | <artifactId>org.apache.felix.dependencymanager.annotation</artifactId> |
| 142 | <version>3.1.1-SNAPSHOT</version> |
| 143 | </dependency> |
| 144 | </dependencies> |
| 145 | |
| 146 | <build> |
| 147 | <plugins> |
| 148 | <!-- Build the bundle which contains various components used by integration tests --> |
| 149 | <plugin> |
| 150 | <groupId>org.apache.felix</groupId> |
| 151 | <artifactId>maven-bundle-plugin</artifactId> |
| 152 | <version>2.3.7</version> |
| 153 | <extensions>true</extensions> |
| 154 | <configuration> |
| 155 | <instructions> |
| 156 | <Bundle-Name>Apache Felix Dependency Manager Annotations Tests</Bundle-Name> |
Pierre De Rop | 0b67b3c | 2013-10-16 10:29:56 +0000 | [diff] [blame] | 157 | <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName> |
Pierre De Rop | 30ff986 | 2013-10-15 16:57:40 +0000 | [diff] [blame] | 158 | <Export-Package>org.apache.felix.dm.test.components</Export-Package> |
Pierre De Rop | 5ab26d8 | 2013-10-08 10:00:38 +0000 | [diff] [blame] | 159 | </instructions> |
| 160 | </configuration> |
| 161 | </plugin> |
| 162 | |
| 163 | <!-- java 5 required for annotations support --> |
| 164 | <plugin> |
| 165 | <artifactId>maven-compiler-plugin</artifactId> |
| 166 | <configuration> |
| 167 | <source>1.5</source> |
| 168 | <target>1.5</target> |
| 169 | </configuration> |
| 170 | </plugin> |
| 171 | |
Pierre De Rop | 30ff986 | 2013-10-15 16:57:40 +0000 | [diff] [blame] | 172 | <!-- DM annotation plugin used to parse annotations from org.apache.felix.dm.test.components artifact --> |
Pierre De Rop | 5ab26d8 | 2013-10-08 10:00:38 +0000 | [diff] [blame] | 173 | <plugin> |
| 174 | <groupId>org.apache.felix</groupId> |
| 175 | <artifactId>org.apache.felix.dependencymanager.annotation</artifactId> |
| 176 | <version>3.1.1-SNAPSHOT</version> |
| 177 | <executions> |
| 178 | <execution> |
| 179 | <goals> |
| 180 | <goal>scan</goal> |
| 181 | </goals> |
| 182 | <configuration> |
| 183 | <log>debug</log> |
| 184 | <!-- generated-output-dir>.</generated-output-dir> --> |
| 185 | </configuration> |
| 186 | </execution> |
| 187 | </executions> |
| 188 | </plugin> |
| 189 | |
| 190 | <!-- We have no unit tests, we only have integration tests --> |
| 191 | <plugin> |
| 192 | <artifactId>maven-surefire-plugin</artifactId> |
| 193 | <executions> |
| 194 | <execution> |
| 195 | <id>surefire-it</id> |
| 196 | <phase>integration-test</phase> |
| 197 | <goals> |
| 198 | <goal>test</goal> |
| 199 | </goals> |
| 200 | <configuration> |
| 201 | <systemProperties> |
| 202 | <property> |
| 203 | <name>project.bundle.file</name> |
| 204 | <value>${bundle.file.name}</value> |
| 205 | </property> |
Pierre De Rop | 0b67b3c | 2013-10-16 10:29:56 +0000 | [diff] [blame] | 206 | <property> |
| 207 | <name>project.bundle.symbolicName</name> |
| 208 | <value>${pom.artifactId}</value> |
| 209 | </property> |
Pierre De Rop | 5ab26d8 | 2013-10-08 10:00:38 +0000 | [diff] [blame] | 210 | </systemProperties> |
| 211 | <excludes> |
| 212 | <exclude>**/components/*</exclude> |
Pierre De Rop | 14979bd | 2013-10-13 08:47:15 +0000 | [diff] [blame] | 213 | <!-- <exclude>**/AspectRaceTest.java</exclude> --> |
Pierre De Rop | 5ab26d8 | 2013-10-08 10:00:38 +0000 | [diff] [blame] | 214 | </excludes> |
| 215 | <includes> |
Pierre De Rop | 968695e | 2013-10-10 20:26:34 +0000 | [diff] [blame] | 216 | <!-- By default, all integration tests are run. For running a specific test, |
| 217 | you can specify a given test below: for example: |
| 218 | <include>**/integration/**/AspectBaseTest.java</include> |
| 219 | --> |
Pierre De Rop | eab8aba | 2013-10-14 22:40:47 +0000 | [diff] [blame] | 220 | <include>**/integration/**/*.java</include> |
Pierre De Rop | 5ab26d8 | 2013-10-08 10:00:38 +0000 | [diff] [blame] | 221 | </includes> |
| 222 | </configuration> |
| 223 | </execution> |
| 224 | </executions> |
| 225 | <configuration> |
| 226 | <excludes> |
| 227 | <exclude>**/integration/**</exclude> |
| 228 | </excludes> |
| 229 | </configuration> |
| 230 | </plugin> |
| 231 | </plugins> |
| 232 | </build> |
| 233 | </project> |