Skip to content

Instantly share code, notes, and snippets.

@mranest
Created June 9, 2014 16:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mranest/957164e797d0f768af4a to your computer and use it in GitHub Desktop.
Save mranest/957164e797d0f768af4a to your computer and use it in GitHub Desktop.
Arquillian on Wildfly notes

arquillian.xml:

<container qualifier="jboss" default="true">
    <configuration>
        <property name="jbossHome">${env.JBOSS_HOME:/Users/mranest/platform/wildfly-8.1.0.Final}</property>
        <property name="modulePath">${env.JBOSS_HOME:/Users/mranest/platform/wildfly-8.1.0.Final/modules}</property>
    </configuration>
</container>

pom.xml:

<plugin>
    <artifactId>maven-surefire-plugin</artifactId>
    <configuration>
        <systemPropertyVariables>
            <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
        </systemPropertyVariables>
    </configuration>
</plugin>
...
<dependency>
    <groupId>org.wildfly</groupId>
    <artifactId>wildfly-arquillian-container-embedded</artifactId>
    <version>8.1.0.Final</version>
</dependency>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment