The demo WARS have this in jboss-deployment-structure.xml:
<jboss-deployment-structure>
<deployment>
<dependencies>
<!-- the Demo code uses classes in these modules. These are
optional to import if you are not using
Apache Http Client or the HttpClientBuilder that comes
with the adapter core -->
<module name="org.apache.httpcomponents"/>
</dependencies>
</deployment>
</jboss-deployment-structure>
I can optionally load this module using the subsystem. That is, if the
module is installed on EAP/WildFly, add it to the deployment.
Should I do this?
Stan