davidB/yuicompressor-maven-plugin — pull request #70 by dlh3 (2014-01-21 06:52:34+00:00)
Title: Add configuration option to generate per-file header for aggregations

It would be nice to include an option for producing a filename header before each file in an aggregation. Our project is using the option in our dev settings to aggregate but not compress/munge the files. We hope to use the same property with another option that will aid in JS/CSS development by placing a filename header at the start of each aggregated file.

Example:
```xml

**/A.css
**/B.css
**/C.css

true
${project.build.outputDirectory}/aggregated.css

**/X.js
**/Y.js
**/Z.js

true
true
${project.build.outputDirectory}/aggregated.js

```
Would produce:
```css
/* A.css */.a>.contents {}
/* B.css */.b>.contents {}
/* C.css */.c>.contents {}
```
```javascript
/** X.js */
var x = "contents";
/** Y.js */
var y = "contents";
/** Z.js */
var z = "contents";
```
And of course, the header could be created for minified files as well.