Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-513

Regression: Created-By row in manifest does not include Maven version

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • maven-archiver-3.0.1
    • maven-archiver-3.0.2
    • maven-archiver
    • None
    • Maven 3.3.3, Oracle JDK 1.7.0_79

    Description

      This is a regression of MSHARED-38.

      The code has been changed to:

      String mavenVersion = session.getUserProperties().getProperty( "maven.version" );
      

      which is wrong. It should be:

      String mavenVersion = session.getExecutionProperties().getProperty( "maven.version" );
      

      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.

      Attachments

        Issue Links

          Activity

            People

              afloom Anders Hammar
              afloom Anders Hammar
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: