You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2008/03/18 17:26:46 UTC

[jira] Moved: (MNGSITE-40) The documentation refers to system property "user.dir" when it should refer to "user.home"

     [ http://jira.codehaus.org/browse/MNGSITE-40?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann moved MNG-2956 to MNGSITE-40:
-----------------------------------------------

    Affects Version/s:     (was: 2.0.5)
        Fix Version/s:     (was: 2.0.9)
          Component/s:     (was: Settings)
                  Key: MNGSITE-40  (was: MNG-2956)
              Project: Maven Project Web Site  (was: Maven 2)

> The documentation refers to system property "user.dir" when it should refer to "user.home"
> ------------------------------------------------------------------------------------------
>
>                 Key: MNGSITE-40
>                 URL: http://jira.codehaus.org/browse/MNGSITE-40
>             Project: Maven Project Web Site
>          Issue Type: Bug
>         Environment: Windows XP Professional
>            Reporter: Donley R. P'Simer
>            Assignee: Benjamin Bentmann
>         Attachments: user-home.patch
>
>
> In several places the documentation for maven2 refers to the local repository and user settings.xml file being relative to the "${user.dir}" system property. Behavior suggests that it is actually the "${user.home}" system property that is being used. From the javadoc for System.getProperties() in jdk1.5:
> user.home  	User's home directory
> user.dir 	User's current working directory
> http://java.sun.com/j2se/1.5.0/docs/api/java/lang/System.html#getProperties()

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