You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "David Jackman (JIRA)" <ji...@codehaus.org> on 2007/02/22 23:50:27 UTC
[jira] Created: (MNG-2843) Plugins can't get project properties
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
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
[jira] Updated: (MNG-2843) Plugins can't get project properties
Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Closed: (MNG-2843) Plugins can't get project properties
Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
[ 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