[ https://jira.codehaus.org/browse/MSHADE-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=272207#comment-272207 ]
Robert Burrell Donkin commented on MSHADE-48: --------------------------------------------- dependency-reduced-pom is generated from the model for the original project. Comments are not retained within the model. They aren't available to be written. I don't think it's possible to implement this. In terms of addressing the specific use case (needing to add a license header), support for adding a header comment could be easily enough added if is good enough. > Dependency reduced POM is missing XML comments like license headers > ------------------------------------------------------------------- > > Key: MSHADE-48 > URL: https://jira.codehaus.org/browse/MSHADE-48 > Project: Maven 2.x Shade Plugin > Issue Type: Bug > Affects Versions: 1.2 > Reporter: Benjamin Bentmann > Priority: Minor > > The dependency reduced POM is currently generated from the previously parsed > model and as such misses any XML comments, including the license header. For > example, see > [mercury-util:1.0-alpha-5|http://repo2.maven.org/maven2/org/apache/maven/mercury/mercury-util/1.0-alpha-5/mercury-util-1.0-alpha-5.pom]. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira