Maven
  1. Maven
  2. MNG-2256

Misleading documentation regarding configuration of java.utils.Properties

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.5
    • Component/s: Documentation: General
    • Labels:
      None

      Description

      Location: http://maven.apache.org/guides/plugin/guide-java-plugin-development.html

      Snippet:

      Properties
      This category covers any map which implements java.util.Properties. These parameters are configured by including XML tags in the form <key>value</key> in the parameter configuration.

      This lead me to believe I could set properties like this:

      ........
      <configuration>
      <myPropertiesObject>
      <propertyName>propertyValue</propertyName>
      </myPropertiesObject>
      </configuration>
      .............

      Instead I've found I need to do it like this:

      ........
      <configuration>
      <myPropertiesObject>
      <property>
      <name>propertyName</name>
      <value>propertyValue</value>
      <property>
      </myPropertiesObject>
      </configuration>
      .............

        Issue Links

          Activity

          James Talmage created issue -
          John Casey made changes -
          Field Original Value New Value
          Fix Version/s 2.0.5 [ 12294 ]
          kenneyw made changes -
          Fix Version/s 2.0.5 [ 12294 ]
          Fix Version/s 2.0.6 [ 13010 ]
          Hide
          Siveton Vincent added a comment -

          Fixed and completed also "Guide to Configuring Plug-ins"

          Show
          Siveton Vincent added a comment - Fixed and completed also "Guide to Configuring Plug-ins"
          Siveton Vincent made changes -
          Assignee Vincent Siveton [ siveton ]
          Status Open [ 1 ] Closed [ 6 ]
          Fix Version/s 2.0.5 [ 12294 ]
          Fix Version/s 2.0.6 [ 13010 ]
          Resolution Fixed [ 1 ]
          Alex Mayorga Adame made changes -
          Link This issue relates to MNG-1961 [ MNG-1961 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
          Mark Thomas made changes -
          Workflow jira [ 12712904 ] Default workflow, editable Closed status [ 12752781 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
          Mark Thomas made changes -
          Workflow jira [ 12952032 ] Default workflow, editable Closed status [ 12989382 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Closed Closed
          193d 13h 3m 1 Siveton Vincent 08/Nov/06 17:24

            People

            • Assignee:
              Siveton Vincent
              Reporter:
              James Talmage
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development