You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason Dillon (JIRA)" <ji...@codehaus.org> on 2011/02/07 23:50:22 UTC
[jira] Updated: (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 ]
Jason Dillon updated MNG-5005:
------------------------------
Attachment: 0001-Drop-echo-of-JAVA_VERSION-on-Mac-OSX.patch
> 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
> Priority: Minor
> 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