Custom WildFly Module module.xml Example: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
Line 8: Line 8:
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>


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


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



Latest revision as of 15:12, 23 February 2017

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>