In a project I'm using saml-client from com.coveo, whicht itself depends on the libaries in the org.opensaml module. But it did not work because io.dropwizard.metrics was missing. After adding the jar everything was fine. The module.xml after my changes
<module name="org.opensaml" xmlns="urn:jboss:module:1.9">
<properties>
<property name="jboss.api" value="private"/>
</properties>
<resources>
<resource-root path="opensaml-core-3.3.1.jar"/>
<resource-root path="opensaml-profile-api-3.3.1.jar"/>
<resource-root path="opensaml-saml-api-3.3.1.jar"/>
<resource-root path="opensaml-saml-impl-3.3.1.jar"/>
<resource-root path="opensaml-security-api-3.3.1.jar"/>
<resource-root path="opensaml-security-impl-3.3.1.jar"/>
<resource-root path="opensaml-soap-api-3.3.1.jar"/>
<resource-root path="opensaml-xacml-api-3.3.1.jar"/>
<resource-root path="opensaml-xacml-impl-3.3.1.jar"/>
<resource-root path="opensaml-xacml-saml-api-3.3.1.jar"/>
<resource-root path="opensaml-xacml-saml-impl-3.3.1.jar"/>
<resource-root path="opensaml-xmlsec-api-3.3.1.jar"/>
<resource-root path="opensaml-xmlsec-impl-3.3.1.jar"/>
<resource-root path="cryptacular-1.2.4.jar"/>
<resource-root path="java-support-7.3.0.jar"/>
<resource-root path="metrics-core-3.1.2.jar"/>
</resources>
<dependencies>
<module name="sun.jdk" export="true" >
<imports>
<include path="sun/misc/Unsafe" />
</imports>
</module>
<module name="java.scripting"/>
<!--WFLY-14219 Remove deprecated <module name="javax.api"/> -->
<module name="org.slf4j"/>
<module name="org.apache.santuario.xmlsec"/>
<module name="org.apache.ws.security"/>
<module name="org.joda.time"/>
<module name="com.google.guava"/>
<module name="org.bouncycastle.bcmail"/>
<module name="org.bouncycastle.bcpkix"/>
<module name="org.bouncycastle.bcprov"/>
<module name="org.apache.commons.codec"/>
<module name="java.xml"/>
</dependencies>
</module>
Michael