I have a Maven project that uses custom packaging types that are normally contributed by a plugin (with extensions=true). When building a new Arquillian deployment using ShrinkWrap Resolvers, the wrong extension is used for artifacts of these custom packaging types, which causes the deployment build to fail.
Here is the code that I'm using to build the deployment:
I found some JIRA tickets related to custom packaging types (e.g. https://issues.jboss.org/browse/SHRINKRES-87); however, I can't find any way to hook into the relevant framework APIs without downcasting an intermediate return value from the chain above.
Is there an officially supported API for adding custom packaging type mappings?