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
    • 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
    • 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}

        "

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development