Uploaded image for project: 'Maven Changes Plugin'
  1. Maven Changes Plugin
  2. MCHANGES-147

MavenProject object not initialize due to mispelling into the declaration

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.2
    • Component/s: announcement
    • Labels:
      None
    • Environment:
      Maven 2.0.9
    • Flags:
      Patch

      Description

      The quotes are missing in the expression initializing the MavenProject object in AnnouncementMailMojo.java
      /**

      • @parameter expression=${project}
      • @readonly
        */
        private MavenProject project;

      So far no impact as the project member was not called, but when trying to fix other issues a NullPointerExecption is raised.

      Patch:

      • * @parameter expression=${project}
        + * @parameter expression="${project}"

        Attachments

          Activity

            People

            • Assignee:
              bentmann Benjamin Bentmann
              Reporter:
              jguigui Jean-Paul GUIGUI
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: