Custom WildFly Module module.xml Example: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Writing a Custom WildFly Module =Example= <pre> </pre>")
 
Line 6: Line 6:


<pre>
<pre>
<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="urn:jboss:module:1.1" name="io.novaordis.module-example" slot="main">
    <resources>
        <resource-root path="api-${project.version}.jar"/>
        <resource-root path="valve-${project.version}.jar"/>
        <resource-root path="login-module-${project.version}.jar"/>
    </resources>
    <dependencies>
        <module name="org.jboss.as.web"/>
    </dependencies>
</module>
</pre>
</pre>

Revision as of 15:11, 23 February 2017

Internal

Example

<?xml version="1.0" encoding="UTF-8"?>

<module xmlns="urn:jboss:module:1.1" name="io.novaordis.module-example" slot="main">

    <resources>
        <resource-root path="api-${project.version}.jar"/>
        <resource-root path="valve-${project.version}.jar"/>
        <resource-root path="login-module-${project.version}.jar"/>
    </resources>

    <dependencies>
        <module name="org.jboss.as.web"/>
    </dependencies>

</module>