You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Anders Hammar (JIRA)" <ji...@apache.org> on 2016/04/27 14:22:12 UTC
[jira] [Created] (MSHARED-513) Regression: Created-By row in
manifest does not include Maven version
Anders Hammar created MSHARED-513:
-------------------------------------
Summary: 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
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)