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 Priority: Trivial 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