[ https://jira.codehaus.org/browse/MSHARED-38?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anders Hammar updated MSHARED-38: --------------------------------- Attachment: MSHARED-38_preview.patch Attaching one suggested solution, where the API is extended with MavenSession as a parameter. There is currently no unit test for the new API though. Plugins (m-jar-p e.g.) needs to be updated to use the new method(s) unfortunately. It's a fairly easy change though to pass in the MavenSession object. > Archiver should be adding "Created-By: Apache Maven _2.0.4_" to the manifest > ---------------------------------------------------------------------------- > > Key: MSHARED-38 > URL: https://jira.codehaus.org/browse/MSHARED-38 > Project: Maven Shared Components > Issue Type: Bug > Components: maven-archiver > Reporter: Matthew Beermann > Attachments: MSHARED-38_preview.patch > > > The maven-archiver currently adds the string "Created-By: Apache Maven" to > the manifest of all projects. This is good, but it needs to be more specific > - e.g. Apache Maven 2.0.4. This would have two major benefits: > 1) It would bring it in line with the "Build-Jdk" field, which has values > like "1.5.0_09" > 2) It would help in having truly repeatable builds - potentially, you need > to know which version of Maven was used to build an artifact > I'd write the patch myself if I could figure out how to get at the > information... it's in a @component called "runtimeInformation", but how do > you access components from a low-level library like maven-archiver? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira