Maven Changes Plugin
  1. Maven Changes Plugin
  2. MCHANGES-147

MavenProject object not initialize due to mispelling into the declaration

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.2
    • Component/s: announcement
    • Labels:
      None
    • Environment:
      Maven 2.0.9
    • Patch Submitted:
      Yes
    • Number of attachments :
      0

      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}

        "

        Activity

        Hide
        Benjamin Bentmann added a comment -

        Applied in r731253, thanks!

        Show
        Benjamin Bentmann added a comment - Applied in r731253 , thanks!

          People

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

            Dates

            • Created:
              Updated:
              Resolved: