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> |
Pierre De Rop | 57ba109 | 2013-12-14 07:12:34 +0000 | [diff] [blame] | 67 | <dependency> |
| 68 | <groupId>${pom.groupId}</groupId> |
| 69 | <artifactId>org.apache.felix.gogo.runtime</artifactId> |
| 70 | <version>0.10.0</version> |
| 71 | <scope>provided</scope> |
| 72 | </dependency> |
Pierre De Rop | 14979bd | 2013-10-13 08:47:15 +0000 | [diff] [blame] | 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 | 57ba109 | 2013-12-14 07:12:34 +0000 | [diff] [blame] | 159 | <Import-Package>org.apache.felix.service.command; status="provisional", *</Import-Package> |
Pierre De Rop | 5ab26d8 | 2013-10-08 10:00:38 +0000 | [diff] [blame] | 160 | </instructions> |
| 161 | </configuration> |
| 162 | </plugin> |
| 163 | |
| 164 | <!-- java 5 required for annotations support --> |
| 165 | <plugin> |
| 166 | <artifactId>maven-compiler-plugin</artifactId> |
| 167 | <configuration> |
| 168 | <source>1.5</source> |
| 169 | <target>1.5</target> |
| 170 | </configuration> |
| 171 | </plugin> |
| 172 | |
Pierre De Rop | 30ff986 | 2013-10-15 16:57:40 +0000 | [diff] [blame] | 173 | <!-- 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] | 174 | <plugin> |
| 175 | <groupId>org.apache.felix</groupId> |
| 176 | <artifactId>org.apache.felix.dependencymanager.annotation</artifactId> |
| 177 | <version>3.1.1-SNAPSHOT</version> |
| 178 | <executions> |
| 179 | <execution> |
| 180 | <goals> |
| 181 | <goal>scan</goal> |
| 182 | </goals> |
| 183 | <configuration> |
| 184 | <log>debug</log> |
| 185 | <!-- generated-output-dir>.</generated-output-dir> --> |
| 186 | </configuration> |
| 187 | </execution> |
| 188 | </executions> |
| 189 | </plugin> |
| 190 | |
| 191 | <!-- We have no unit tests, we only have integration tests --> |
| 192 | <plugin> |
| 193 | <artifactId>maven-surefire-plugin</artifactId> |
| 194 | <executions> |
| 195 | <execution> |
| 196 | <id>surefire-it</id> |
| 197 | <phase>integration-test</phase> |
| 198 | <goals> |
| 199 | <goal>test</goal> |
| 200 | </goals> |
| 201 | <configuration> |
| 202 | <systemProperties> |
| 203 | <property> |
| 204 | <name>project.bundle.file</name> |
| 205 | <value>${bundle.file.name}</value> |
| 206 | </property> |
Pierre De Rop | 0b67b3c | 2013-10-16 10:29:56 +0000 | [diff] [blame] | 207 | <property> |
| 208 | <name>project.bundle.symbolicName</name> |
| 209 | <value>${pom.artifactId}</value> |
| 210 | </property> |
Pierre De Rop | 5ab26d8 | 2013-10-08 10:00:38 +0000 | [diff] [blame] | 211 | </systemProperties> |
| 212 | <excludes> |
| 213 | <exclude>**/components/*</exclude> |
Pierre De Rop | 14979bd | 2013-10-13 08:47:15 +0000 | [diff] [blame] | 214 | <!-- <exclude>**/AspectRaceTest.java</exclude> --> |
Pierre De Rop | 5ab26d8 | 2013-10-08 10:00:38 +0000 | [diff] [blame] | 215 | </excludes> |
| 216 | <includes> |
Pierre De Rop | 968695e | 2013-10-10 20:26:34 +0000 | [diff] [blame] | 217 | <!-- By default, all integration tests are run. For running a specific test, |
| 218 | you can specify a given test below: for example: |
| 219 | <include>**/integration/**/AspectBaseTest.java</include> |
| 220 | --> |
Pierre De Rop | eab8aba | 2013-10-14 22:40:47 +0000 | [diff] [blame] | 221 | <include>**/integration/**/*.java</include> |
Pierre De Rop | 5ab26d8 | 2013-10-08 10:00:38 +0000 | [diff] [blame] | 222 | </includes> |
| 223 | </configuration> |
| 224 | </execution> |
| 225 | </executions> |
| 226 | <configuration> |
| 227 | <excludes> |
| 228 | <exclude>**/integration/**</exclude> |
| 229 | </excludes> |
| 230 | </configuration> |
| 231 | </plugin> |
| 232 | </plugins> |
| 233 | </build> |
| 234 | </project> |