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

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

[~rfscholte], then let's just remove the:

*{{addManifestAttribute( m, entries, "Built-By", System.getProperty( 
"user.name" ) );}}*

code line from the {{MavenArchiver.java}}. So by default the {{Built-By}} will 
be disabled and people who want it in their manifests will define it in the 
{{manifestEntries}} section of the {{maven-jar-plugin}} configuration, as in 
your example.

> 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