dev@glassfish.java.net

attn: Mac users

From: Bobby Bissett <bobby.bissett_at_oracle.com>
Date: Tue, 27 Apr 2010 09:06:01 -0400

Hi all,

FWIW, if you're foolish like me and are repointing /usr/share/maven to
your own copy of mvn (e.g., 2.0.9), you may want to skip all that and
just add mvn directly to your path (unless you crave frustration).
Some recent update to Apple's Java switched it back. That's the second
time that's happened to me, so no more.

Anyway, the default is this:

hostname% which mvn
/usr/bin/mvn
hostname% ls -l /usr/bin/mvn
lrwxr-xr-x 1 root wheel 24 Dec 14 10:30 /usr/bin/mvn -> /usr/share/
maven/bin/mvn
hostname% ls -l /usr/share/maven
lrwxr-xr-x 1 root wheel 18 Apr 26 23:17 /usr/share/maven -> [some
version you don't want]

I had that last link pointing to apache-maven-2.0.9 and it was
switched out from under me. Don't do that. :)

Cheers,
Bobby

p.s. Thanks again Jane.