|
8 | 8 | <packaging>war</packaging> |
9 | 9 |
|
10 | 10 | <name>Java EE 7 Hands-on Lab Solution</name> |
| 11 | + |
| 12 | + <properties> |
| 13 | + <org.jboss.arquillian.version>1.1.1.Final</org.jboss.arquillian.version> |
| 14 | + <org.wildfly>8.2.0.Final</org.wildfly> |
| 15 | + </properties> |
11 | 16 |
|
| 17 | + <dependencyManagement> |
| 18 | + <dependencies> |
| 19 | + <dependency> |
| 20 | + <groupId>org.jboss.arquillian</groupId> |
| 21 | + <artifactId>arquillian-bom</artifactId> |
| 22 | + <version>${org.jboss.arquillian.version}</version> |
| 23 | + <scope>import</scope> |
| 24 | + <type>pom</type> |
| 25 | + </dependency> |
| 26 | + </dependencies> |
| 27 | + </dependencyManagement> |
| 28 | + |
12 | 29 | <dependencies> |
13 | 30 | <dependency> |
14 | 31 | <groupId>javax</groupId> |
15 | 32 | <artifactId>javaee-api</artifactId> |
16 | 33 | <version>7.0</version> |
17 | 34 | <scope>provided</scope> |
18 | 35 | </dependency> |
| 36 | + |
| 37 | + <dependency> |
| 38 | + <groupId>junit</groupId> |
| 39 | + <artifactId>junit</artifactId> |
| 40 | + <version>4.10</version> |
| 41 | + <scope>test</scope> |
| 42 | + </dependency> |
| 43 | + |
| 44 | + <dependency> |
| 45 | + <groupId>org.jboss.arquillian.junit</groupId> |
| 46 | + <artifactId>arquillian-junit-container</artifactId> |
| 47 | + <scope>test</scope> |
| 48 | + <version>1.1.5.Final</version> |
| 49 | + </dependency> |
19 | 50 | </dependencies> |
20 | 51 |
|
21 | 52 | <build> |
|
44 | 75 | </plugin> |
45 | 76 | </plugins> |
46 | 77 | </build> |
| 78 | + |
| 79 | + <profiles> |
| 80 | + <profile> |
| 81 | + <id>wildfly-remote-arquillian</id> |
| 82 | + <dependencies> |
| 83 | + <dependency> |
| 84 | + <groupId>io.undertow</groupId> |
| 85 | + <artifactId>undertow-websockets-jsr</artifactId> |
| 86 | + <version>1.0.0.Beta33</version> |
| 87 | + <scope>test</scope> |
| 88 | + </dependency> |
| 89 | + <dependency> |
| 90 | + <groupId>org.jboss.resteasy</groupId> |
| 91 | + <artifactId>resteasy-client</artifactId> |
| 92 | + <version>3.0.10.Final</version> |
| 93 | + <scope>test</scope> |
| 94 | + </dependency> |
| 95 | + <dependency> |
| 96 | + <groupId>org.jboss.resteasy</groupId> |
| 97 | + <artifactId>resteasy-jaxb-provider</artifactId> |
| 98 | + <version>3.0.10.Final</version> |
| 99 | + <scope>test</scope> |
| 100 | + </dependency> |
| 101 | + <dependency> |
| 102 | + <groupId>org.jboss.resteasy</groupId> |
| 103 | + <artifactId>resteasy-json-p-provider</artifactId> |
| 104 | + <version>3.0.10.Final</version> |
| 105 | + <scope>test</scope> |
| 106 | + </dependency> |
| 107 | + <dependency> |
| 108 | + <groupId>org.wildfly</groupId> |
| 109 | + <artifactId>wildfly-arquillian-container-remote</artifactId> |
| 110 | + <version>${org.wildfly}</version> |
| 111 | + <scope>test</scope> |
| 112 | + </dependency> |
| 113 | + </dependencies> |
| 114 | + <build> |
| 115 | + <testResources> |
| 116 | + <testResource> |
| 117 | + <directory>src/test/resources</directory> |
| 118 | + <filtering>true</filtering> |
| 119 | + </testResource> |
| 120 | + <testResource> |
| 121 | + <directory>src/test/resources-wildfly-remote</directory> |
| 122 | + <filtering>true</filtering> |
| 123 | + </testResource> |
| 124 | + </testResources> |
| 125 | + </build> |
| 126 | + </profile> |
| 127 | + </profiles> |
47 | 128 |
|
48 | 129 | </project> |
49 | 130 |
|
0 commit comments