Misleading documentation regarding configuration of java.utils.Properties
-------------------------------------------------------------------------
Key: MNG-2256
URL: http://jira.codehaus.org/browse/MNG-2256
Project: Maven 2
Type: Bug
Components: Documentation: General
Reporter: James Talmage
Location:
http://maven.apache.org/guides/plugin/guide-java-plugin-development.html
Snippet:
{quote}
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.
{quote}
This lead me to believe I could set properties like this:
{quote}
........
<configuration>
<myPropertiesObject>
<propertyName>propertyValue</propertyName>
</myPropertiesObject>
</configuration>
.............
{quote}
Instead I've found I need to do it like this:
{quote}
........
<configuration>
<myPropertiesObject>
<property>
<name>propertyName</name>
<value>propertyValue</value>
<property>
</myPropertiesObject>
</configuration>
.............
{quote}
--
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