maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Siveton (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (MNG-2256) Misleading documentation regarding configuration of java.utils.Properties
Date Wed, 08 Nov 2006 23:26:31 GMT
     [ http://jira.codehaus.org/browse/MNG-2256?page=all ]

Vincent Siveton closed MNG-2256.
--------------------------------

         Assignee: Vincent Siveton
       Resolution: Fixed
    Fix Version/s:     (was: 2.0.6)
                   2.0.5

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

> 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
>         Assigned To: Vincent Siveton
>             Fix For: 2.0.5
>
>
> 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

        

Mime
View raw message