The CoreMedia Webresources Maven Plugin is a Maven convenience utility to help processing web resources, esp. CSS and JavaScript files in CoreMedia Blueprint based projects.
While Blueprint applications keep their web resources as documents in the content repository, the frontend developers in projects are usually not familiar with (or not even aware of) CoreMedia CMS. So they should not be bothered with concepts like content or importers, but simply provide their work as zip archives. The CoreMedia Webresources Maven Plugin picks up the plain web resources and transforms them into Blueprint content. The content can be imported with serverimport in a subsequent step.
The CoreMedia Webresources Maven Plugin scans the dependencies (transitively) of the project or module it is attached to and processes all artifacts of type "zip" and classifier "theme". The Blueprint supports the generation of such classified artifacts from theme modules. Basically, they are simple zip files with an optional special top level directory THEME-METADATA which contains theme definition files. Details are documented in the Blueprint documentation.
The CoreMedia Webresources Maven Plugin extracts the zip artifacts and transforms each web resource into a Blueprint document which is stored in a directory "content" in the project's build directory.
According to the project's particular deployment workflows, the documents can be serverimported immediately from the content directory or packaged into another artifact to be processed by some subsequent step.