<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    JBoss Modules Surefire Plugin
</h3>
<span style="margin-bottom: 10px;">
    modified by <a href="http://community.jboss.org/people/kabir.khan%40jboss.com">Kabir Khan</a> in <i>JBoss AS7 Development</i> - <a href="http://community.jboss.org/docs/DOC-16240">View the full document</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>This is a fork of org.apache.maven.plugins:maven-surefire-plugin:2.6:test.</p><h4>Configuration</h4><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">It has the configuration options of the 'real' surefire plugin (<a class="jive-link-external-small" href="http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html" target="_blank">http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html</a>), although your mileage may vary if you start playing with the fork modes. The plugin takes a module definition file and creates a directory structure containing modules in the jboss-modules format</div><div> </div><p>It has the configuration options of the <a class="jive-link-external-small" href="http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html">original surefire plugin</a>, although your mileage may vary if you start playing with the fork modes. The plugin takes a module definition file and creates a directory structure containing modules in the jboss-modules format.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>For the forked module there are some more options for configuring the modules:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>roots:</strong></p><p>Points to a list of exisiting module root directories, such as jboss-as7/modules</p><ul><li><strong>Type:</strong> java.io.File[]</li><li><strong>Required:</strong> No</li></ul><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><div><div><strong>cleanModulesDirectory:</strong></div><div>If true (default) clean out the modules directory created by the plugin each time we run the tests.</div><div><ul><li><strong>Type:</strong> boolean</li><li><strong>Required: </strong>No</li><li><strong>Expression:</strong> ${jboss.modules.clean}</li><li><strong>Default:</strong> true</li></ul><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>modulesDirectory:</strong></p><p>The absolute path of the modules output directory created from <em><strong>moduleDefinitionFile</strong></em></p><ul><li><strong>Type:</strong> java.io.File</li><li><strong>Required:</strong> No</li><li><strong>Expression:</strong> ${jboss.modules.directory}</li><li><strong>Default:</strong> ${project.build.directory}/modules</li></ul><div> </div><div> </div><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>logModule:</strong></p><p>The name of the -logmodule parameter passed in to JBoss Modules (i.e. the name of the module containg the jboss logmanager). This is needed if the target project uses java.util.Logging or jboss logging, and the jboss log manager is not on the system classpath.</p><ul><li><strong>Type:</strong> java.lang.String</li><li><strong>Required:</strong> No</li><li><strong>Expression:</strong> ${jboss.modules.logmodule}</li></ul><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>logConfiguration:</strong></p><p>The JBoss logging configuration if any. This must be set if the target project uses jboss logging and you want any output to be displayed</p><ul><li><strong>Type:</strong> java.io.File</li><li><strong>Required:</strong> No</li><li><strong>Expression:</strong> ${logging.configuration}</li></ul><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>moduleDefinitionFile:</strong></p><p>The path of the module definition file.</p><ul><li>Type java.io.File</li><li>Required: Yes</li><li>Expression: ${jboss.modules.definition}</li><li>Default: ${project.build.testOutputDirectory}/modules/module-def.xml</li></ul><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>In addition, when using jboss logging you will need to set the following system properties in your pom when using this plugin (full example later):</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: 'courier new', courier;">&lt;systemProperties&gt;<br/></span></p><p><span style="font-family: 'courier new', courier;">&#160;&#160;&#160; &lt;property&gt;</span></p><p><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160; &lt;name&gt;java.util.logging.manager&lt;/name&gt;</span></p><p><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160; &lt;value&gt;org.jboss.logmanager.LogManager&lt;/value&gt;</span></p><p><span style="font-family: 'courier new', courier;">&#160;&#160;&#160; &lt;/property&gt;</span></p><p><span style="font-family: 'courier new', courier;">&#160;&#160;&#160; &lt;property&gt;</span></p><p><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160; &lt;name&gt;jboss.home.dir&lt;/name&gt;</span></p><p><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160; &lt;value&gt;${jboss.home}&lt;/value&gt;</span></p><p><span style="font-family: 'courier new', courier;">&#160;&#160;&#160; &lt;/property&gt;</span></p><p><span style="font-family: 'courier new', courier;">&#160;&#160;&#160; &lt;property&gt;</span></p><p><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160; &lt;name&gt;org.jboss.boot.log.file&lt;/name&gt;</span></p><p><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160; &lt;value&gt;${jboss.home}/standalone/log/boot.log&lt;/value&gt;</span></p><p><span style="font-family: 'courier new', courier;">&#160;&#160;&#160; &lt;/property&gt;</span></p><p><span style="font-family: 'courier new', courier;">&lt;/systemProperties&gt;</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><div> </div><div><strong><h4 style="color: #333333; font-weight: bold; padding-top: 10px; padding-right: 0pt; padding-bottom: 4px; padding-left: 0pt; font-size: 13pt; margin: 0pt;">Module Definition File</h4></strong></div><div>This sets up the modules used for running your tests, which are then copied to <strong><em>modulesDirectory</em></strong> from the plugin settings. The plugin automatically sets up a module called <em>jboss.surefire.module</em> for you which contains the plugin classes, junit and your project's target/classes and target/test-classes directories. If you want to set up more modules you can define those in the <strong><em>moduleDefinitionFile</em></strong>. The schema is very simple, and rather than duplicating the work done by jboss-modules the validation of most of the stuff is delegated to jboss-modules when loading the modules. Here is an example:</div><div> </div><div><div><div><span style="font-family: 'courier new', courier;">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span></div><div><span style="font-family: 'courier new', courier;">&lt;modules xmlns="urn:jboss:surefire-module:1.0" targetNs="urn:jboss:module:1.0"&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160; &lt;test-module-dependencies&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;module name="org.jboss.as.standalone"/&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;module name="org.jboss.modules"/&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;module name="org.jboss.threads"/&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160; &lt;module name="my.test.module"/&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160; &lt;/test-module-dependencies&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160; &lt;module name="my.test.module"&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;resources&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;resource-root path="$some.group:some-artifact$"/&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/resources&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160; &lt;/module&gt;</span></div><div><span style="font-family: 'courier new', courier;">&lt;/modules&gt;</span></div><div> </div><div> </div><div> </div></div><div> </div><div><em>targetNs</em> is the schema of the targetted jboss-modules version.</div><div> </div></div><div> </div><div> </div><div> </div><div><em>test-module-dependencies</em> adds the listed dependencies to the <em>jboss.surefire.module</em> module directly into the dependencies section of the created module. In this case we follow the jboss-modules 1.0 schema. In this case the <em>modulesDirectory</em>/jboss/surefire/module/main/module.xml looks like:</div><div> </div><div><div> </div><div> </div><div><span style="font-family: 'courier new', courier;">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span></div><div><span style="font-family: 'courier new', courier;">&lt;module name="jboss.surefire.module" xmlns="urn:jboss:module:1.0"&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160; &lt;main-class name="org.apache.maven.surefire.booter.SurefireBooter"/&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160; &lt;resources&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160; &lt;resource-root path="surefire-api-2.6.jar"/&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160; &lt;resource-root path="surefire-booter-1.0.0.Alpha1.jar"/&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160; &lt;resource-root path="junit-4.8.1.jar"/&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160; &lt;resource-root path="test-classes"/&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160; &lt;/resources&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160; &lt;dependencies&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160; &lt;module name="org.jboss.as.standalone"/&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160; &lt;module name="org.jboss.modules"/&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160; &lt;module name="org.jboss.threads"/&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160; &lt;module name="org.jboss.threads"/&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160; &lt;/dependencies&gt;</span></div><div><span style="font-family: 'courier new', courier;">&lt;/module&gt;</span></div></div><div> </div><div> </div><div> </div><div> </div><div> </div><div>You can have as many <em>modules/module <span style="font-style: normal;">entries as you like</span><span style="font-style: normal;"> and they just get copied across. The </span>$some.group:some.artifact$ </em>value gets resolved from your project's dependencies into the path to that dependency in your local maven repository. In this case (assuming your pom has a dependency on some.group:some-artifact:1.3.0, which then gets copied from the local maven repository to the module directory) <em>modulesDirectory</em>/my/test/module/main/module.xml looks like:</div><div> </div><div><div> </div><div> </div><div><span style="font-family: 'courier new', courier;">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span></div><div><span style="font-family: 'courier new', courier;">&lt;module name="my.test.module" xmlns="urn:jboss:module:1.0"&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160; &lt;resources&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160; &lt;resource-root path="some-artifact-1.3.0.jar'/&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160; &lt;/resources&gt;</span></div><div><span style="font-family: 'courier new', courier;">&lt;/module&gt;</span></div></div><div> </div><div> </div><div> </div><div> </div><div> </div><div> </div><div> </div><div> </div><div> </div><div> </div><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><h4>Consuming the plugin from a pom</h4><p>Normally you want to turn off the normal surefire plugin since that does not understand modular classloading</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: 'courier new', courier;">&#160; &lt;build&gt;<br/></span></p><p><span style="font-family: 'courier new', courier;">&#160;&#160;&#160; &lt;plugins&gt;</span></p><p><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160; &lt;plugin&gt;</span></p><p><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;</span></p><p><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;</span></p><p><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;version&gt;2.6&lt;/version&gt;</span></p><p><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!--&#160; Disable the standard surefire plugin since that runs tests without modular classloading --&gt;</span></p><p><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;configuration&gt;</span></p><p><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;skipTests&gt;true&lt;/skipTests&gt;</span></p><p><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/configuration&gt;</span></p><p><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160; &lt;/plugin&gt;</span></p><div> </div><div>Then enable and configure the jboss modules surefire plugin (${jboss.home} is configured elsewhere in the pom and points to a built JBoss AS 7 instance)</div><div><div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;plugin&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;groupId&gt;org.jboss.maven.surefire.modular&lt;/groupId&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;version&gt;1.0.0.Alpha1&lt;/version&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;executions&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;execution&gt;</span></div><div><span style="white-space: pre; font-family: 'courier new', courier; "> </span><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;goals&gt;</span></div><div><span style="white-space: pre; font-family: 'courier new', courier; "> </span><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;goal&gt;test&lt;/goal&gt;</span></div><div><span style="white-space: pre; font-family: 'courier new', courier; "> </span><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/goals&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/execution&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/executions&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;configuration&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!--&#160; standard surefire options --&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;redirectTestOutputToFile&gt;true&lt;/redirectTestOutputToFile&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;enableAssertions&gt;true&lt;/enableAssertions&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;systemProperties&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;name&gt;java.util.logging.manager&lt;/name&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;value&gt;org.jboss.logmanager.LogManager&lt;/value&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/property&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;name&gt;jboss.home.dir&lt;/name&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;value&gt;${jboss.home}&lt;/value&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/property&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;name&gt;org.jboss.boot.log.file&lt;/name&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;value&gt;${jboss.home}/standalone/log/boot.log&lt;/value&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/property&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/systemProperties&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;includes&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;include&gt;org/jboss/as/test/surefire/**/*TestCase.java&lt;/include&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/includes&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!-- Extra forked plugin options --&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;logModule&gt;org.jboss.logmanager&lt;/logModule&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;logConfiguration&gt;${jboss.home}/standalone/configuration/logging.properties&lt;/logConfiguration&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;roots&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;root&gt;${jboss.home}/modules&lt;/root&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/roots&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/configuration&gt;</span></div><div><span style="font-family: 'courier new', courier;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/plugin&gt;&#160;&#160;&#160;&#160;&#160; </span></div></div></div><div> </div><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p></div></div><div> </div></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Comment by <a href="http://community.jboss.org/docs/DOC-16240">going to Community</a></p>

        <p style="margin: 0;">Create a new document in JBoss AS7 Development at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2225">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>