You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2016/05/20 20:10:12 UTC

[jira] [Closed] (MSHARED-513) Regression: Created-By row in manifest does not include Maven version

     [ https://issues.apache.org/jira/browse/MSHARED-513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MSHARED-513.
----------------------------------

> Regression: Created-By row in manifest does not include Maven version
> ---------------------------------------------------------------------
>
>                 Key: MSHARED-513
>                 URL: https://issues.apache.org/jira/browse/MSHARED-513
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-archiver
>    Affects Versions: maven-archiver-3.0.1
>         Environment: Maven 3.3.3, Oracle JDK 1.7.0_79
>            Reporter: Anders Hammar
>            Assignee: Anders Hammar
>             Fix For: maven-archiver-3.0.2
>
>
> This is a regression of MSHARED-38.
> The code has been changed to:
> {code}
> String mavenVersion = session.getUserProperties().getProperty( "maven.version" );
> {code}
> which is wrong. It should be:
> {code}
> String mavenVersion = session.getExecutionProperties().getProperty( "maven.version" );
> {code}
> The root cause is probably that the unit test has been incorrectly changed so that the dummy Maven session is not correctly created. Possibly this slipped through when moving to Maven 3.0 requirements.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)