Container Injection Support Matrix
|@EJB||@EJB (no-interface)||@Inject (CDI)||@Resource||@PersistenceContext / @PersistenceUnit|
Note: Widfly 8.1 does not ship an 'uber-jar' version like GlassFish 3.1.2 Embedded Examples. We actually need to download automatically (see example below) or manually the server
The profile below,assumes that you have already defined basic Arquillian dependencies on your pom, as indicated in the Getting Started Guide. When used the defined plugins will perform the following
- Download and unzip under the /target directory a fresh copy of Wildly 8.1, that will be used as a managed-container to run the tests.
- Configure the maven-surefire plugin to the above directory.