Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can I get maven onto my Mac?



Well, I got to the maven.apache.org site, where I found the download(s), which I have grabbed. I have started to follow the installation instructions.


Unix-based Operating Systems (Linux, Solaris and Mac OS X)

  1. Extract the distribution archive to the directory you wish to install Maven 2.0.3. These instructions assume you chose /usr/local/maven-2.0.3. The directory maven-2.0.3 will be created from the archive.
  2. Add the bin directory to your path, eg. export PATH=/usr/local/maven-2.0.3/bin:$PATH
  3. Make sure that JAVA_HOME is set to the location of your JDK, eg. export JAVA_HOME=/usr/java/jdk1.5.0_02
  4. Run mvn --version to verify that it is correctly installed.

#1 seems to have worked. I have maven extracted in my usr/bin directory (I don't have a "local"). 
As to the rest of this, well, step 4 did not work, so either my unix skills are not up to this (possible) or something else is going wrong.


209-148-127-8:~ paularchibald$ export PATH=/usr/bin/maven-2.0.3/bin:$PATH  
209-148-127-8:~ paularchibald$ echo $PATH
/usr/bin/maven-2.0.3/bin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin
209-148-127-8:~ paularchibald$ export JAVA_HOME=usr/java/jdk1.5.0_02
209-148-127-8:~ paularchibald$ echo $JAVA_HOME
usr/java/jdk1.5.0_02
209-148-127-8:~ paularchibald$ mvn --version
-bash: mvn: command not found


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.