Re: java_home detection bug in maven 3.2.3

2014-09-18 Thread Anders Hammar
To file a ticket at jira.c.o, you first need to create an account at
http://xircles.codehaus.org/.

Please file this bug report to make sure it gets handled.

/Anders

On Thu, Sep 18, 2014 at 9:31 AM, Ye Xianjin  wrote:

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


java_home detection bug in maven 3.2.3

2014-09-18 Thread Ye Xianjin
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)