Skip to content

Instantly share code, notes, and snippets.

@oscarrenalias
Forked from brunoborges/module.xml
Last active December 14, 2015 17:48
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 oscarrenalias/5124428 to your computer and use it in GitHub Desktop.
Save oscarrenalias/5124428 to your computer and use it in GitHub Desktop.
# Run this with jboss-cli to deplyo the given module:
module add --name=com.mydomain.placeholder --resources=placeholder\target\placeholder-6.6.6-SNAPSHOT.jar
/subsystem=ee:write-attribute(name="global-modules",value=[{"name" => "com.mydomain.placeholder","slot" => "main"}])
<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="urn:jboss:module:1.0" name="org.springframework.spring">
<resources>
<resource-root path="cglib-nodep-2.2.2.jar"/>
<resource-root path="aopalliance-1.0.0.jar"/>
<resource-root path="spring-aop-3.1.1.RELEASE.jar"/>
<resource-root path="spring-asm-3.1.1.RELEASE.jar"/>
<resource-root path="spring-beans-3.1.1.RELEASE.jar"/>
<resource-root path="spring-context-3.1.1.RELEASE.jar"/>
<resource-root path="spring-context-support-3.1.1.RELEASE.jar"/>
<resource-root path="spring-core-3.1.1.RELEASE.jar"/>
<resource-root path="spring-expression-3.1.1.RELEASE.jar"/>
<resource-root path="spring-jdbc-3.1.1.RELEASE.jar"/>
<resource-root path="spring-orm-3.1.1.RELEASE.jar"/>
<resource-root path="spring-oxm-3.1.1.RELEASE.jar"/>
<resource-root path="spring-tx-3.1.1.RELEASE.jar"/>
<resource-root path="spring-web-3.1.1.RELEASE.jar"/>
</resources>
<dependencies>
<module name="org.apache.commons.logging"/>
<module name="org.slf4j"/>
<module name="javax.servlet.api"/>
<module name="javax.faces.api" slot="1.2" />
<module name="com.sun.jsf-impl" slot="1.2" />
<module name="org.jboss.vfs"/>
<module name="javax.persistence.api"/>
<module name="javax.xml.bind.api"/>
<module name="javax.api"/>
<module name="javax.jms.api"/>
<module name="javax.annotation.api"/>
<module name="org.apache.commons.logging"/>
</dependencies>
</module>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment