Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-2843

Plugins can't get project properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.5
    • 2.0.6
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            jvanzyl Jason van Zyl
            djackman David Jackman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: