|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<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"> |
| 2 | +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
3 | 4 | <modelVersion>4.0.0</modelVersion> |
4 | | - |
5 | 5 | <groupId>org.javaee7.sample</groupId> |
6 | 6 | <artifactId>helloworld</artifactId> |
7 | 7 | <version>1.0-SNAPSHOT</version> |
8 | 8 | <packaging>war</packaging> |
9 | | - |
10 | 9 | <name>helloworld</name> |
11 | | - |
12 | 10 | <properties> |
13 | 11 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 12 | + <version.arquillian_core>1.1.5.Final</version.arquillian_core> |
14 | 13 | </properties> |
15 | | - |
| 14 | + <dependencyManagement> |
| 15 | + <dependencies> |
| 16 | + <dependency> |
| 17 | + <groupId>org.jboss.arquillian</groupId> |
| 18 | + <artifactId>arquillian-bom</artifactId> |
| 19 | + <version>${version.arquillian_core}</version> |
| 20 | + <type>pom</type> |
| 21 | + <scope>import</scope> |
| 22 | + </dependency> |
| 23 | + </dependencies> |
| 24 | + </dependencyManagement> |
16 | 25 | <dependencies> |
17 | 26 | <dependency> |
18 | 27 | <groupId>javax</groupId> |
|
26 | 35 | <version>4.10</version> |
27 | 36 | <scope>test</scope> |
28 | 37 | </dependency> |
| 38 | + <dependency> |
| 39 | + <groupId>org.jboss.arquillian.junit</groupId> |
| 40 | + <artifactId>arquillian-junit-container</artifactId> |
| 41 | + <scope>test</scope> |
| 42 | + </dependency> |
29 | 43 | </dependencies> |
30 | | - |
31 | 44 | <build> |
32 | 45 | <finalName>helloworld</finalName> |
33 | 46 | <plugins> |
34 | 47 | <plugin> |
35 | | - <groupId>org.apache.maven.plugins</groupId> |
36 | 48 | <artifactId>maven-compiler-plugin</artifactId> |
37 | 49 | <version>3.1</version> |
38 | 50 | <configuration> |
|
41 | 53 | </configuration> |
42 | 54 | </plugin> |
43 | 55 | <plugin> |
44 | | - <groupId>org.apache.maven.plugins</groupId> |
45 | 56 | <artifactId>maven-war-plugin</artifactId> |
46 | 57 | <version>2.3</version> |
47 | 58 | <configuration> |
|
50 | 61 | </plugin> |
51 | 62 | </plugins> |
52 | 63 | </build> |
53 | | - |
| 64 | + <profiles> |
| 65 | + <profile> |
| 66 | + <id>arquillian-wildfly-remote</id> |
| 67 | + <activation> |
| 68 | + <activeByDefault>true</activeByDefault> |
| 69 | + </activation> |
| 70 | + <build> |
| 71 | + <plugins> |
| 72 | + <plugin> |
| 73 | + <artifactId>maven-surefire-plugin</artifactId> |
| 74 | + <version>2.14.1</version> |
| 75 | + <configuration> |
| 76 | + <systemPropertyVariables> |
| 77 | + <arquillian.launch>arquillian-wildfly-remote</arquillian.launch> |
| 78 | + </systemPropertyVariables> |
| 79 | + </configuration> |
| 80 | + </plugin> |
| 81 | + </plugins> |
| 82 | + </build> |
| 83 | + <dependencies> |
| 84 | + <dependency> |
| 85 | + <groupId>org.wildfly</groupId> |
| 86 | + <artifactId>wildfly-arquillian-container-remote</artifactId> |
| 87 | + <version>8.1.0.Final</version> |
| 88 | + <scope>test</scope> |
| 89 | + </dependency> |
| 90 | + <dependency> |
| 91 | + <groupId>org.jboss.resteasy</groupId> |
| 92 | + <artifactId>resteasy-client</artifactId> |
| 93 | + <version>3.0.5.Final</version> |
| 94 | + <scope>test</scope> |
| 95 | + </dependency> |
| 96 | + </dependencies> |
| 97 | + </profile> |
| 98 | + </profiles> |
54 | 99 | </project> |
0 commit comments