[
https://issues.apache.org/jira/browse/MNG-2843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hervé Boutemy updated MNG-2843:
-------------------------------
Description:
For a plugin to get the project's properties, it should define a field as
follows:
{code:java} /**
* The whole project.
* @parameter expression="${project.properties}"
* @required
* @readonly
*/
private java.util.Properties properties;{code}
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.
was:
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.
> Plugins can't get project properties
> ------------------------------------
>
> Key: MNG-2843
> URL: https://issues.apache.org/jira/browse/MNG-2843
> Project: Maven
> Issue Type: Bug
> Affects Versions: 2.0.5
> Reporter: David Jackman
> Assignee: Jason van Zyl
> Fix For: 2.0.6
>
>
> For a plugin to get the project's properties, it should define a field as
> follows:
> {code:java} /**
> * The whole project.
> * @parameter expression="${project.properties}"
> * @required
> * @readonly
> */
> private java.util.Properties properties;{code}
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)