Loading... Cancel

setup maven on mac R

October 14th, 2007

indeed nothing is special, but this post is about to remind me about the steps i followed to get my mac box with maven and jdk 1.5.

my requirements -

1. maven - 2.0.7
2. jdk 1.5
3. set maven bin to PATH variable.

i had 10.4.10 osx version.

to configure jdk 1.5 (jdk 1.4 is set as default jdk):

cd /System/Library/Frameworks/JavaVM.framework/Versions
sudo rm CurrentJDK
sudo ln -s 1.5 CurrentJDK

to configure maven:

download maven binaries, copy it in your preferred location.
in my case i had it in - /Applications/java/maven-2.0.7/bin/ here.

execute following line -

vi ~/.bash_profile

change PATH with following value -

PATH=/usr/local/bin:/Applications/java/maven-2.0.7/bin/:$PATH

test your configuration -

java -version
it should say - java version “1.5.0_0x”
mvn -version
it should say - Maven version: 2.0.7

thats all will make your maven and jdk 1.5 environment up and running.

Maven quick start in presentation. R

June 27th, 2007

Here in our company, we got many new java developers, as we are strict on project structure and coding convention stuffs, at the same time we are aware of giving a good feed to our honorable new developers.

this project was intended for new to medium maven experienced java developers, who wants to use maven. or already been using. i belief you guys will get it helpful.

here is the Maven quick start in persentation

banner.jpg