maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jackman (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MNG-2843) Plugins can't get project properties
Date Thu, 22 Feb 2007 22:50:27 GMT
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

        

Mime
View raw message