maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason van Zyl (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (MNG-2843) Plugins can't get project properties
Date Sun, 11 Mar 2007 02:18:12 GMT

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

Jason van Zyl closed MNG-2843.
------------------------------

    Resolution: Fixed

Patched plexus-container created and deploy and used in the 2.0.6 version of maven.

> 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
>         Assigned To: Jason van Zyl
>             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

        

Mime
View raw message