The Cocoon Deployer goal provides two features that rewrite a web application in order to add functionality that comes from
- reversing the classloader hierarchy
By reversing the classloader hierarchy you can make sure that the dependencies you define are found first before the classpath of the application server is searched.
- patching your web.xml
If your blocks contain /META-INF/cocoon/xpatch/*.xweb files, they are applied to the /WEB-INF/web.xml of the resulting web archive.