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/02/07 23:56:22 UTC

[jira] Closed: (MNG-5005) bin/mvn contains platform specific echo when on Mac OSX and JAVA_VERSION envvar is set

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

Benjamin Bentmann closed MNG-5005.
----------------------------------

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

Applied in [r1068201|http://svn.apache.org/viewvc?view=revision&revision=1068201]. Also, {{mvn -v}} outputs Java version/home for quite some time now.

> bin/mvn contains platform specific echo when on Mac OSX and JAVA_VERSION envvar is set
> --------------------------------------------------------------------------------------
>
>                 Key: MNG-5005
>                 URL: http://jira.codehaus.org/browse/MNG-5005
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Command Line
>    Affects Versions: 2.2.1, 3.0, 3.0.1, 3.0.2
>            Reporter: Jason Dillon
>            Assignee: Benjamin Bentmann
>            Priority: Minor
>             Fix For: 3.0.3
>
>         Attachments: 0001-Drop-echo-of-JAVA_VERSION-on-Mac-OSX.patch
>
>
> {noformat}
>   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
>            ;;
> {noformat}
> 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.

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