richfaces/shade-transformers — pull request #2 by jdcasey (2011-10-25 19:52:06+00:00)
Title: converted from shade-plugin resource transformers to assembly-plugin cont

I just took the existing code for the maven-shade-plugin and re-wrapped it for use in the maven-assembly-plugin.

The test provides a programmatic demonstration of how to configure the assembly descriptor to use these new container-descriptor-handlers.

You can also see a little (not much) more information at:

http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html#class_containerDescriptorHandler

The hints I've used for these handlers are 'taglib-xml' and 'faces-xml' ...you can find the component definitions in:

src/main/resources/META-INF/plexus/components.xml

Please find me on IRC or email me directly (jcasey@redhat.com) if you have questions about what I've done, or how to use these.

P.S. Apologies for the code reformats that obscure the diffs. My Eclipse instance took over before I was aware what was happening. If you need un-reformatted changes, let me know and I'll try to pick apart my changes so I can overlay them on pristine sources.