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

        Jean-Paul GUIGUI created issue -
        Benjamin Bentmann made changes -
        Field Original Value New Value
        Assignee Benjamin Bentmann [ bentmann ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 2.2 [ 14696 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 09:14:45 UTC 2015 [ 1428225285377 ]
        Mark Thomas made changes -
        Workflow jira [ 12717982 ] Default workflow, editable Closed status [ 12749381 ]
        Mark Thomas made changes -
        Patch Submitted Yes [ 10763 ]
        Flags Patch [ 10430 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 22:40:15 UTC 2015 [ 1428273615853 ]
        Mark Thomas made changes -
        Workflow jira [ 12955589 ] Default workflow, editable Closed status [ 12992923 ]

          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