You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "James Talmage (JIRA)" <ji...@codehaus.org> on 2006/04/29 11:21:21 UTC

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

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


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

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2256?page=all ]

John Casey updated MNG-2256:
----------------------------

    Fix Version: 2.0.5

> 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
>      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


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

Posted by "Kenney Westerhof (JIRA)" <ji...@codehaus.org>.
     [ 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

        

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

Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
     [ 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