I am trying to minimize my myapp.ear file to moving some libs to the server wildfly 10, but the easy only way I found was by including in standalone.xml deployments section, like the following example.
<deployments>
<deployment name="mysql-connector-java-5.0.8-bin.jar" runtime-name="mysql-connector-java-5.0.8-bin.jar">
<content sha1="7b9bfb6c4e4885660378a9c13330915c321f6cca"/>
</deployment>
</deployments>
and I could use the libraries on maven as the example
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<scope>provided</scope>
</dependency>
Is there a easy way to add and load the libraries in ../lib or ../lib/ext?