Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5005

bin/mvn contains platform specific echo when on Mac OSX and JAVA_VERSION envvar is set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2.1, 3.0, 3.0.1, 3.0.2
    • 3.0.3
    • Command Line
    • None
    • Patch

    Description

        Darwin*) darwin=true 
                 if [ -z "$JAVA_VERSION" ] ; then
                   JAVA_VERSION="CurrentJDK"
                 else
                   echo "Using Java version: $JAVA_VERSION"
                 fi
                 if [ -z "$JAVA_HOME" ] ; then
                   JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/${JAVA_VERSION}/Home
                 fi
                 ;;
      

      This makes the output of maven slightly different on a single platform. Looks like left over debug logging that should be removed. Users can sh -x bin/mvn to get the value if they need to see what framework version was selected w/o affecting the general output of the tool.

      Attachments

        Activity

          People

            bentmann Benjamin Bentmann
            jason@planet57.com Jason Dillon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: