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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: maven-archiver-3.0.1
    • Fix Version/s: maven-archiver-3.0.2
    • Component/s: maven-archiver
    • Labels:
      None
    • Environment:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: