Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-885

no project definition leads to NPE in plugin parameter expression evaluator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0-beta-3
    • Plugins and Lifecycle
    • None

    Description

      there are two places this can occur:
      1) calculation of ${basedir} ro a path derived from it
      2) missing values that go to check project properties

      Should project be null, or should it be a skeleton instance? Either the expression evaluator needs to be fixed (set basedir to user.dir, don't look for properties), or the project needs to be populated.

      I encountered this attempting to use scm:checkout.

      Attachments

        Issue Links

          Activity

            People

              jdcasey John Dennis Casey
              brett Brett Porter
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0.5h
                  0.5h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h