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) - 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.
- Add the bin directory to your path, eg. export PATH=/usr/local/maven-2.0.3/bin:$PATH
- Make sure that JAVA_HOME is set to the location of your JDK, eg. export JAVA_HOME=/usr/java/jdk1.5.0_02
- 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
|