[
https://issues.apache.org/jira/browse/MSHARED-787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16750044#comment-16750044
]
Hervé Boutemy edited comment on MSHARED-787 at 1/23/19 2:27 PM:
----------------------------------------------------------------
almost:
1. as optional build environment information (= the current MSHARED-787 issue),
put:
{noformat}
Build-Tool: Apache Maven ${maven.version} (${commit-id})
Build-Jdk: ${java.version} (${java.vm.vendor})
Build-Os: ${os.name} (${os.version}; (${os.arch})
{noformat}
2. keep {{Created-By}} in the default manifest but change the value to
{noformat}
Created-By: Maven Archiver ${ma.version}
{noformat}
as a separate issue (since it would be there by default)
3. improve the API for calling plugins to be able to easily replace the default
{{Maven Archiver ${ma.version\}}} value with {{Maven xxx Plugin
${pluginversion\}}}
was (Author: hboutemy):
almost:
1. as optional build environment information (= the current MSHARED-787 issue),
put:
{noformat}
Build-Tool: Apache Maven ${maven.version} (${commit-id})
Build-Jdk: ${java.version} (${java.vm.vendor})
Build-Os: ${os.name} (${os.version}; (${os.arch})
{noformat}
2. keep {{Created-By}} in the default manifest but change the value to
{noformat}
Created-By: Maven Archiver ${ma.version}
{noformat}
as a separate issue (since it would be there by default)
3. improve the API for calling plugins to be able to easily replace the default
{{Maven Archiver ${ma.version} }} value with {{Maven xxx Plugin
${pluginversion} }}
> Add optional buildEnvironment information to the manifest
> ---------------------------------------------------------
>
> Key: MSHARED-787
> URL: https://issues.apache.org/jira/browse/MSHARED-787
> Project: Maven Shared Components
> Issue Type: New Feature
> Components: maven-archiver
> Affects Versions: maven-archiver-3.3.0
> Reporter: Michael Osipov
> Assignee: Michael Osipov
> Priority: Major
> Fix For: maven-archiver-3.4.0
>
>
> People are demanding to have more control about the build information
> (MSHARED-362). We should add the following to control this:
> {{<addBuildEnvironmentEntries}} /> which is by default disabled. It will
> contain the folling properties (akin to {{mvn- v}}):
> {noformat}
> Created-By: Apache Maven ${maven.version}
> Build-Jdk: ${java.version} (${java.vm.vendor})
> Build-Os: ${os.name} (${os.version}; (${os.arch}){noformat}
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)