|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 |
|
3 | | -<!-- Copyright 2011 Lincoln Baxter, III Licensed under the Apache License, Version 2.0 (the "License"); you may not use this |
4 | | - file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 |
5 | | - Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS |
6 | | - IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language |
7 | | - governing permissions and limitations under the License. --> |
| 3 | +<!-- Copyright 2011 Lincoln Baxter, III Licensed under the Apache License, |
| 4 | + Version 2.0 (the "License"); you may not use this file except in compliance |
| 5 | + with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 |
| 6 | + Unless required by applicable law or agreed to in writing, software distributed |
| 7 | + under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES |
| 8 | + OR CONDITIONS OF ANY KIND, either express or implied. See the License for |
| 9 | + the specific language governing permissions and limitations under the License. --> |
8 | 10 |
|
9 | | -<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"> |
| 11 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 12 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
10 | 13 | <modelVersion>4.0.0</modelVersion> |
11 | 14 | <groupId>org.ocpsoft.rewrite</groupId> |
12 | 15 | <artifactId>rewrite-parent</artifactId> |
|
25 | 28 | <version.junit>4.8.1</version.junit> |
26 | 29 | <version.common>1.0.4.Final</version.common> |
27 | 30 | <version.logging>1.0.1.Final</version.logging> |
| 31 | + <version.arquillian>1.0.0.Final</version.arquillian> |
| 32 | + <version.arquillian.jetty>1.0.0.CR1</version.arquillian.jetty> |
| 33 | + <version.jetty>8.1.2.v20120308</version.jetty> |
| 34 | + <version.jbossas>7.1.1.Final</version.jbossas> |
28 | 35 | </properties> |
29 | 36 |
|
30 | 37 | <modules> |
|
147 | 154 | <version>${version.junit}</version> |
148 | 155 | <scope>test</scope> |
149 | 156 | </dependency> |
| 157 | + <dependency> |
| 158 | + <groupId>org.jboss.arquillian</groupId> |
| 159 | + <artifactId>arquillian-bom</artifactId> |
| 160 | + <version>${version.arquillian}</version> |
| 161 | + <type>pom</type> |
| 162 | + <scope>import</scope> |
| 163 | + </dependency> |
150 | 164 | </dependencies> |
151 | 165 | </dependencyManagement> |
152 | 166 |
|
|
158 | 172 | </dependency> |
159 | 173 | </dependencies> |
160 | 174 |
|
| 175 | + |
| 176 | + <profiles> |
| 177 | + <profile> |
| 178 | + <id>JETTY_EMBEDDED_8.X</id> |
| 179 | + <dependencies> |
| 180 | + <dependency> |
| 181 | + <groupId>org.jboss.arquillian.container</groupId> |
| 182 | + <artifactId>arquillian-jetty-embedded-7</artifactId> |
| 183 | + <version>${version.arquillian.jetty}</version> |
| 184 | + <scope>test</scope> |
| 185 | + <exclusions> |
| 186 | + <!-- Don't include the old version of arquillian-container-spi --> |
| 187 | + <exclusion> |
| 188 | + <groupId>org.jboss.arquillian.container</groupId> |
| 189 | + <artifactId>arquillian-container-spi</artifactId> |
| 190 | + </exclusion> |
| 191 | + </exclusions> |
| 192 | + </dependency> |
| 193 | + <dependency> |
| 194 | + <groupId>org.eclipse.jetty</groupId> |
| 195 | + <artifactId>jetty-webapp</artifactId> |
| 196 | + <version>${version.jetty}</version> |
| 197 | + <scope>test</scope> |
| 198 | + </dependency> |
| 199 | + <dependency> |
| 200 | + <groupId>org.eclipse.jetty</groupId> |
| 201 | + <artifactId>jetty-plus</artifactId> |
| 202 | + <version>${version.jetty}</version> |
| 203 | + <scope>test</scope> |
| 204 | + </dependency> |
| 205 | + <dependency> |
| 206 | + <groupId>org.slf4j</groupId> |
| 207 | + <artifactId>slf4j-simple</artifactId> |
| 208 | + <version>1.5.10</version> |
| 209 | + <scope>test</scope> |
| 210 | + </dependency> |
| 211 | + <dependency> |
| 212 | + <groupId>org.slf4j</groupId> |
| 213 | + <artifactId>slf4j-log4j12</artifactId> |
| 214 | + <version>1.5.10</version> |
| 215 | + <scope>test</scope> |
| 216 | + </dependency> |
| 217 | + <dependency> |
| 218 | + <groupId>org.ocpsoft.logging</groupId> |
| 219 | + <artifactId>logging-adapter-slf4j</artifactId> |
| 220 | + <scope>test</scope> |
| 221 | + </dependency> |
| 222 | + |
| 223 | + <!-- Weld servlet, EL and JSP required for testing CDI injections --> |
| 224 | + <!-- Don't use 'org.jboss.weld.servlet:weld-servlet' as it has |
| 225 | + an incompatible slf4j version shaded in --> |
| 226 | + <dependency> |
| 227 | + <groupId>org.jboss.weld.servlet</groupId> |
| 228 | + <artifactId>weld-servlet-core</artifactId> |
| 229 | + <version>1.1.4.Final</version> |
| 230 | + <scope>test</scope> |
| 231 | + </dependency> |
| 232 | + <dependency> |
| 233 | + <groupId>org.jboss.weld</groupId> |
| 234 | + <artifactId>weld-core</artifactId> |
| 235 | + <version>1.1.4.Final</version> |
| 236 | + <scope>test</scope> |
| 237 | + </dependency> |
| 238 | + |
| 239 | + <dependency> |
| 240 | + <groupId>javax.enterprise</groupId> |
| 241 | + <artifactId>cdi-api</artifactId> |
| 242 | + <scope>test</scope> |
| 243 | + </dependency> |
| 244 | + <dependency> |
| 245 | + <groupId>org.glassfish.web</groupId> |
| 246 | + <artifactId>el-impl</artifactId> |
| 247 | + <version>2.2</version> |
| 248 | + <scope>test</scope> |
| 249 | + </dependency> |
| 250 | + <dependency> |
| 251 | + <groupId>javax.servlet.jsp</groupId> |
| 252 | + <artifactId>jsp-api</artifactId> |
| 253 | + <version>2.2</version> |
| 254 | + <scope>test</scope> |
| 255 | + </dependency> |
| 256 | + </dependencies> |
| 257 | + </profile> |
| 258 | + |
| 259 | + <profile> |
| 260 | + <id>JBOSS_AS_MANAGED_7.X</id> |
| 261 | + <build> |
| 262 | + <plugins> |
| 263 | + <plugin> |
| 264 | + <artifactId>maven-dependency-plugin</artifactId> |
| 265 | + <extensions>false</extensions> |
| 266 | + <executions> |
| 267 | + <execution> |
| 268 | + <id>unpack</id> |
| 269 | + <phase>process-test-classes</phase> |
| 270 | + <goals> |
| 271 | + <goal>unpack</goal> |
| 272 | + </goals> |
| 273 | + <configuration> |
| 274 | + <artifactItems> |
| 275 | + <artifactItem> |
| 276 | + <groupId>org.jboss.as</groupId> |
| 277 | + <artifactId>jboss-as-dist</artifactId> |
| 278 | + <version>${version.jbossas}</version> |
| 279 | + <type>zip</type> |
| 280 | + <overWrite>false</overWrite> |
| 281 | + <outputDirectory>../target</outputDirectory> |
| 282 | + </artifactItem> |
| 283 | + </artifactItems> |
| 284 | + </configuration> |
| 285 | + </execution> |
| 286 | + </executions> |
| 287 | + </plugin> |
| 288 | + </plugins> |
| 289 | + </build> |
| 290 | + <dependencies> |
| 291 | + <dependency> |
| 292 | + <groupId>org.jboss.spec</groupId> |
| 293 | + <artifactId>jboss-javaee-web-6.0</artifactId> |
| 294 | + <version>3.0.1.Final</version> |
| 295 | + <type>pom</type> |
| 296 | + <scope>test</scope> |
| 297 | + </dependency> |
| 298 | + <dependency> |
| 299 | + <groupId>org.jboss.as</groupId> |
| 300 | + <artifactId>jboss-as-arquillian-container-managed</artifactId> |
| 301 | + <version>${version.jbossas}</version> |
| 302 | + <scope>test</scope> |
| 303 | + </dependency> |
| 304 | + </dependencies> |
| 305 | + </profile> |
| 306 | + |
| 307 | + <profile> |
| 308 | + <id>JBOSS_AS_REMOTE_7.X</id> |
| 309 | + <dependencies> |
| 310 | + <dependency> |
| 311 | + <groupId>org.jboss.spec</groupId> |
| 312 | + <artifactId>jboss-javaee-web-6.0</artifactId> |
| 313 | + <version>3.0.1.Final</version> |
| 314 | + <type>pom</type> |
| 315 | + <scope>test</scope> |
| 316 | + </dependency> |
| 317 | + <dependency> |
| 318 | + <groupId>org.jboss.as</groupId> |
| 319 | + <artifactId>jboss-as-arquillian-container-remote</artifactId> |
| 320 | + <version>${version.jbossas}</version> |
| 321 | + <scope>test</scope> |
| 322 | + </dependency> |
| 323 | + </dependencies> |
| 324 | + </profile> |
| 325 | + </profiles> |
| 326 | + |
161 | 327 | <developers> |
162 | 328 | <developer> |
163 | 329 | <id>lincolnbaxter</id> |
|
0 commit comments