<profile> <id>%artifactId%</id> <dependencies> <dependency> <groupId>org.jboss.arquillian.container</groupId> <artifactId>%artifactId%</artifactId> <version>%version%</version> </dependency> </dependencies> </profile>
The container adapters that are available are shown in the table below. Also listed in each row is the artifactId of the JAR that provides the implementation. To execute your tests against a container, you must include the artifactId that corresponds to that container on the classpath.
Container adapters managed by the Arquillian project
Use the following Maven profile definition as a template to add support for a container to your Maven build, replacing %artifactId% with the artifactId from the table. You then activate the profile when executing the tests just as you did in the Getting Started Guide.
<profile> <id>%artifactId%</id> <dependencies> <dependency> <groupId>org.jboss.arquillian.container</groupId> <artifactId>%artifactId%</artifactId> <version>%version%</version> </dependency> </dependencies> </profile>
Note that the container adapter version may not match the version of Arquillian Core as they have different release cycles.
Container name |
Container type |
Spec compliance |
(groupId:)artifactId |
JBoss AS 4.2 |
remote |
~Java EE 5 |
arquillian-jbossas-remote-4.2 |
JBoss AS 4.2 |
managed |
~Java EE 5 |
arquillian-jbossas-managed-4.2 |
remote |
Java EE 5 |
arquillian-jbossas-remote-5 |
|
remote |
Java EE 5 |
arquillian-jbossas-remote-5.1 |
|
managed |
Java EE 5 |
arquillian-jbossas-managed-5.1 |
|
remote |
Java EE 6 (Web Profile) |
arquillian-jbossas-remote-6 |
|
managed |
Java EE 6 (Web Profile) |
arquillian-jbossas-managed-6 |
|
embedded |
Java EE 6 (Web Profile) |
arquillian-jbossas-embedded-6 |
|
embedded |
Java EE 6 |
arquillian-glassfish-embedded-3.1 |
|
managed |
Java EE 6 |
arquillian-glassfish-managed-3.1 |
|
remote |
Java EE 6 |
arquillian-glassfish-remote-3.1 |
|
managed |
Servlet 2.5 |
arquillian-tomcat-managed-5.5 |
|
remote |
Servlet 2.5 |
arquillian-tomcat-remote-6 |
|
managed |
Servlet 2.5 |
arquillian-tomcat-managed-6 |
|
embedded |
Servlet 2.5 |
arquillian-tomcat-embedded-6 |
|
remote |
Servlet 3.0 |
arquillian-tomcat-remote-7 |
|
embedded |
Servlet 3.0 |
arquillian-tomcat-embedded-7 |
|
managed |
Servlet 3.0 |
arquillian-tomcat-managed-7 |
|
embedded |
Servlet 2.5 |
arquillian-jetty-embedded-6.1 |
|
embedded |
Servlet ~3.0 |
arquillian-jetty-embedded-7 |
|
embedded |
CDI |
arquillian-weld-se-embedded-1 |
|
embedded |
CDI |
arquillian-weld-se-embedded-1.1 |
|
embedded |
CDI |
arquillian-weld-ee-embedded-1.1 |
|
embedded |
CDI |
arquillian-openwebbeans-embedded-1 |
|
embedded |
EJB 3.0 |
arquillian-openejb-embedded-3.1 |
|
remote |
Java EE 5 |
arquillian-wls-remote-10.3 |
|
remote |
Java EE 6 |
arquillian-wls-remote-12.1 |
|
remote |
Java EE 5 |
arquillian-was-remote-7 |
|
remote |
Java EE 6 |
arquillian-was-remote-8 |
|
embedded |
Java EE 6, EJB 3.0 |
arquillian-was-embedded-8 |
Container adapters managed outside of the Arquillian project
For JBoss AS 7, Arquillian container artifacts are included in distribution, so use the coordinates as shown below.
<profile> <id>%artifactId%</id> <dependencies> <dependency> <groupId>org.jboss.as</groupId> <artifactId>%artifactId%</artifactId> <version>%version%</version> </dependency> </dependencies> </profile>
Container name |
Container type |
Spec compliance |
ArtifactId |
Version |
remote |
Java EE 6 (Web Profile) |
jboss-as-arquillian-container-remote |
|
|
managed |
Java EE 6 (Web Profile) |
jboss-as-arquillian-container-managed |
|
|
remote |
Java EE 6 |
jboss-as-arquillian-container-remote |
|
|
managed |
Java EE 6 |
jboss-as-arquillian-container-managed |
|
|
managed |
Java EE 6 |
jboss-as-arquillian-container-managed |
7.2.0.Final |
|
embedded (managed) |
Java EE 7 |
wildfly-arquillian-container-embedded |
8.1.0.Final |
JBoss AS 7.0 container adapter in Arquillian
Please note that extra configuration in arquillian.xml may be required for some JBoss AS 7 containers. See the JBoss AS 7.0 - Remote section in this appendix for further information.
Support for other containers is planned.