You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kenney Westerhof (JIRA)" <ji...@codehaus.org> on 2006/11/02 17:08:03 UTC

[jira] Updated: (MNG-2256) Misleading documentation regarding configuration of java.utils.Properties

     [ http://jira.codehaus.org/browse/MNG-2256?page=all ]

Kenney Westerhof updated MNG-2256:
----------------------------------

    Fix Version/s:     (was: 2.0.5)
                   2.0.6

> Misleading documentation regarding configuration of java.utils.Properties
> -------------------------------------------------------------------------
>
>                 Key: MNG-2256
>                 URL: http://jira.codehaus.org/browse/MNG-2256
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Documentation:  General
>            Reporter: James Talmage
>             Fix For: 2.0.6
>
>
> 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