|
31 | 31 | <artifactId>javaee-api</artifactId>
|
32 | 32 | <scope>provided</scope>
|
33 | 33 | </dependency>
|
34 |
| - <!-- https://mvnrepository.com/artifact/org.apache.openejb/tomee-embedded --> |
35 | 34 | <dependency>
|
36 | 35 | <groupId>org.apache.openejb</groupId>
|
37 | 36 | <artifactId>tomee-embedded</artifactId>
|
|
81 | 80 | </dependencies>
|
82 | 81 |
|
83 | 82 | <profiles>
|
| 83 | + <profile> |
| 84 | + <id>wildfly-managed-arquillian</id> |
| 85 | + <activation> |
| 86 | + <activeByDefault>true</activeByDefault> |
| 87 | + </activation> |
| 88 | + <dependencies> |
| 89 | + <dependency> |
| 90 | + <groupId>org.wildfly</groupId> |
| 91 | + <artifactId>wildfly-arquillian-container-managed</artifactId> |
| 92 | + <version>${wildfly.version}</version> |
| 93 | + <scope>test</scope> |
| 94 | + </dependency> |
| 95 | + </dependencies> |
| 96 | + |
| 97 | + <build> |
| 98 | + <plugins> |
| 99 | + <plugin> |
| 100 | + <artifactId>maven-dependency-plugin</artifactId> |
| 101 | + <version>${maven-dependency-plugin.version}</version> |
| 102 | + <configuration> |
| 103 | + <skip>${maven.test.skip}</skip> |
| 104 | + </configuration> |
| 105 | + <executions> |
| 106 | + <execution> |
| 107 | + <id>unpack</id> |
| 108 | + <phase>process-test-classes</phase> |
| 109 | + <goals> |
| 110 | + <goal>unpack</goal> |
| 111 | + </goals> |
| 112 | + <configuration> |
| 113 | + <artifactItems> |
| 114 | + <artifactItem> |
| 115 | + <groupId>org.wildfly</groupId> |
| 116 | + <artifactId>wildfly-dist</artifactId> |
| 117 | + <version>${wildfly.version}</version> |
| 118 | + <type>zip</type> |
| 119 | + <overWrite>false</overWrite> |
| 120 | + <outputDirectory>${project.build.directory}</outputDirectory> |
| 121 | + </artifactItem> |
| 122 | + </artifactItems> |
| 123 | + </configuration> |
| 124 | + </execution> |
| 125 | + </executions> |
| 126 | + </plugin> |
| 127 | + <plugin> |
| 128 | + <groupId>org.apache.maven.plugins</groupId> |
| 129 | + <artifactId>maven-surefire-plugin</artifactId> |
| 130 | + <version>${maven-surefire-plugin.version}</version> |
| 131 | + <configuration> |
| 132 | + <!-- Fork every test because it will launch a separate AS instance --> |
| 133 | + <forkMode>always</forkMode> |
| 134 | + </configuration> |
| 135 | + </plugin> |
| 136 | + </plugins> |
| 137 | + </build> |
| 138 | + </profile> |
84 | 139 | <profile>
|
85 | 140 | <id>arquillian-glassfish-embedded</id>
|
86 | 141 | <dependencies>
|
|
117 | 172 | <tomee-embedded.version>1.7.5</tomee-embedded.version>
|
118 | 173 | <glassfish-embedded-all.version>3.1.2</glassfish-embedded-all.version>
|
119 | 174 | <arquillian-glassfish-embedded-3.1.version>1.0.0.CR4</arquillian-glassfish-embedded-3.1.version>
|
| 175 | + <wildfly.version>8.2.1.Final</wildfly.version> |
120 | 176 | <javax.ejb-api.version>3.2</javax.ejb-api.version>
|
121 | 177 | <springframework.version>5.2.3.RELEASE</springframework.version>
|
122 | 178 | <activemq.broker.version>5.10.2</activemq.broker.version>
|
123 | 179 | <activemq.junit.version>5.13.1</activemq.junit.version>
|
124 | 180 | <mockito.version>2.21.0</mockito.version>
|
125 | 181 | <byte-buddy.version>1.8.5</byte-buddy.version>
|
| 182 | + <maven-dependency-plugin.version>2.8</maven-dependency-plugin.version> |
| 183 | + <wildfly-ejb.version>8.2.1.Final</wildfly-ejb.version> |
126 | 184 | </properties>
|
127 | 185 |
|
128 | 186 | </project>
|
0 commit comments