You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2007/02/23 00:44:26 UTC

[jira] Updated: (MNG-2843) Plugins can't get project properties

     [ http://jira.codehaus.org/browse/MNG-2843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl updated MNG-2843:
-------------------------------

    Fix Version/s: 2.0.6

> Plugins can't get project properties
> ------------------------------------
>
>                 Key: MNG-2843
>                 URL: http://jira.codehaus.org/browse/MNG-2843
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.0.5
>            Reporter: David Jackman
>             Fix For: 2.0.6
>
>
> For a plugin to get the project's properties, it should define a field as follows:
>     /**
>      * The whole project.
>      * @parameter expression="${project.properties}"
>      * @required
>      * @readonly
>      */
>     private java.util.Properties properties;
> However, because of a bug in Plexus (see PLX-327), these properties are always empty.  This Plexus bug needs to be fixed and Maven should include the fixed plexus-container-default library.

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