Hi, Developers:
      I found this bug today on Mac OS X 10.10. 

      Maven version: 3.2.3
      File path: apache-maven-3.2.3/apache-maven/src/bin/mvn  line86
      Code snippet:
      
           if [[ -z "$JAVA_HOME" && -x "/usr/libexec/java_home" ]] ; then
             #
             # Apple JDKs
             #
             export JAVA_HOME=/usr/libexec/java_home
           fi
       
       It should be :

           if [[ -z "$JAVA_HOME" && -x "/usr/libexec/java_home" ]] ; then
             #
             # Apple JDKs
             #
             export JAVA_HOME=`/usr/libexec/java_home`
           fi

       I wanted to file a jira to http://jira.codehaus.org 
(http://jira.codehaus.org/). But it seems it's not open for registration. So I 
think maybe it's a good idea to send an email here.

-- 
Ye Xianjin
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

Reply via email to