Maven
  1. Maven
  2. MNG-4971

Display maven home in version info

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.0.2
    • Fix Version/s: 3.0.3
    • Component/s: Logging
    • Labels:
      None
    • Flags:
      Patch

      Description

      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"

        Activity

        Guo Du created issue -
        Hide
        Benjamin Bentmann added a comment -

        Applied in r1059267 but opted to keep the order version, home, version, home.

        Show
        Benjamin Bentmann added a comment - Applied in r1059267 but opted to keep the order version, home, version, home.
        Benjamin Bentmann made changes -
        Field Original Value New Value
        Resolution Fixed [ 1 ]
        Fix Version/s 3.0.3 [ 17061 ]
        Status Open [ 1 ] Closed [ 6 ]
        Assignee Benjamin Bentmann [ bentmann ]
        Hide
        Guo Du added a comment -

        Agree better to keep the order.

        Thanks very much!

        Show
        Guo Du added a comment - Agree better to keep the order. Thanks very much!
        Mark Thomas made changes -
        Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
        Mark Thomas made changes -
        Workflow jira [ 12715229 ] Default workflow, editable Closed status [ 12754785 ]
        Mark Thomas made changes -
        Flags Patch [ 10430 ]
        Patch Submitted Yes [ 10763 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
        Mark Thomas made changes -
        Workflow jira [ 12952695 ] Default workflow, editable Closed status [ 12990036 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        2d 5h 57m 1 Benjamin Bentmann 14/Jan/11 23:36

          People

          • Assignee:
            Benjamin Bentmann
            Reporter:
            Guo Du
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development