JBeret needs to be upgraded to version 1.2.4.Final to fix JBEAP-11818. There is also a fix for WFLY-3424 and possibly one needed for WFLY-8942.
Upgrade JBeret to version 1.2.4.Final
All ArtifactFactory's are wrapped in a ArtifactFactoryWrapper which doesn't allow overriding destroy
Need improvement of jBeret so that a job failure by Error does not cause failures of subsequent jobs.
The JBeret ArtifactFactory needs to override the destroy method