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 2011/01/15 06:36:58 UTC

[jira] Closed: (MNG-4971) Display maven home in version info

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

Benjamin Bentmann closed MNG-4971.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.3
         Assignee: Benjamin Bentmann

Applied in [r1059267|http://svn.apache.org/viewvc?view=revision&revision=1059267] but opted to keep the order version, home, version, home.

> Display maven home in version info
> ----------------------------------
>
>                 Key: MNG-4971
>                 URL: http://jira.codehaus.org/browse/MNG-4971
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>          Components: Logging
>    Affects Versions: 3.0.2
>            Reporter: Guo Du
>            Assignee: Benjamin Bentmann
>            Priority: Trivial
>             Fix For: 3.0.3
>
>         Attachments: display-maven-home-in-version-info.diff
>
>
> Display maven.home information when user run "mvn -version".
> Similar motivation as MNG-4944. User may have same version of maven for different project such as company/open source. Same as java.home, user may need go into maven.home to do some verification.
> The patch moved java.home one line up to group together with maven.home.
> With patch "mvn -version" will show:
> Apache Maven 3.0.1 (r1038046; 2010-11-23 10:58:32+0000)
> Maven home: /software/maven/3.0.1
> Java home: /usr/lib/jvm/java-6-openjdk/jre
> Java version: 1.6.0_20, vendor: Sun Microsystems Inc.
> Default locale: en_IE, platform encoding: UTF-8
> OS name: "linux", version: "2.6.32-25-generic", arch: "i386", family: "unix"
> Without patch "mvn -version" will show:
> Apache Maven 3.0.1 (r1038046; 2010-11-23 10:58:32+0000)
> Java version: 1.6.0_20, vendor: Sun Microsystems Inc.
> Java home: /usr/lib/jvm/java-6-openjdk/jre
> Default locale: en_IE, platform encoding: UTF-8
> OS name: "linux", version: "2.6.32-25-generic", arch: "i386", family: "unix"

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