MavenProject object not initialize due to mispelling into the declaration
-------------------------------------------------------------------------

                 Key: MCHANGES-147
                 URL: http://jira.codehaus.org/browse/MCHANGES-147
             Project: Maven 2.x Changes Plugin
          Issue Type: Bug
          Components: announcement
    Affects Versions: 2.1
         Environment: Maven 2.0.9
            Reporter: Jean-Paul GUIGUI


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


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to