You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2009/04/08 23:16:19 UTC
[jira] Created: (MSHADE-48) Dependency reduced POM is missing XML
comments like license headers
Dependency reduced POM is missing XML comments like license headers
-------------------------------------------------------------------
Key: MSHADE-48
URL: http://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.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MSHADE-48) Dependency reduced POM is missing XML
comments like license headers
Posted by "Robert Burrell Donkin (JIRA)" <ji...@codehaus.org>.
[ 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