[ 
https://issues.apache.org/jira/browse/MSHARED-362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16669244#comment-16669244
 ] 

Rostislav Krasny commented on MSHARED-362:
------------------------------------------

[~rfscholte], why you call this solution redundant? With my patch you need no 
configuration to disable the {{Built-By}} manifest property, since it's already 
disabled by default. The above configuration examples are for cases when you 
want to enable it and optionally with some custom value. The final goal of this 
ticket, as I understand it, is not an *empty* manifest file but manifest file 
with as less as possible redundant properties. I don't think someone want to 
disable properties like {{Class-Path}} or {{Main-Class}} together with 
{{Built-By}}, etc. If this is not what you meant the {{EmptyManifest}} will be 
confusing.

Also this ticket was originally opened after a question at Stackoverflow about 
removing only the {{Built-By}} property. I think other redundant manifest 
properties are less wishful to be removable. Also I think much of those who 
want to remove the {{Built-By}} would like to keep {{Built-Jdk}} and 
{{Created-By}} because it could be useful in some cases, for example for DevOps 
and other professional services staff. For example to check what versions of 
JDK and Maven were used by Jenkins to build this or that particular JAR.

> Support removing default manifest entries with maven-archiver plugin
> --------------------------------------------------------------------
>
>                 Key: MSHARED-362
>                 URL: https://issues.apache.org/jira/browse/MSHARED-362
>             Project: Maven Shared Components
>          Issue Type: Improvement
>          Components: maven-archiver
>    Affects Versions: maven-archiver-2.4.2, maven-archiver-2.5
>            Reporter: Richard Neish
>            Priority: Minor
>         Attachments: MSHARED-362-01.patch
>
>
> As described in the StackOverflow question at 
> http://stackoverflow.com/q/25098307/274350 maven-archiver should allow the 
> user to remove the default manifest entries, such as "Built-By:"
> Currently it is possible to set an empty value for these default entries, but 
> not to remove them from the manifest.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to