Custom WildFly Module module.xml Example

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Example

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

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

    <resources>
        <resource-root path="artifact-A-${project.version}.jar"/>
        <resource-root path="artifact-B-${project.version}.jar"/>
    </resources>

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

</module>