Do not limit your challenges.. Challenge your limits

BTemplates.com

Search This Blog

Powered by Blogger.

About Me

My photo
kathmandu, Bagmati, Nepal
I am Software developer based on Nepal.I have started coding since mid of 1995 with QBasic.My interest in software development covers a broad range of technologies from assembly to the Microsoft .NET platform to Java, Linux to Windows, Windows Mobile to Android, desktop to web to mobile, and many others. But from 2007 I am just working on Java mainly working on Java EE platform and decided just to go with it. I really like to learn new stuff and share things with others which is my main objective in creating this blog.

ArchUnit : Java architecture test library

Finally I have found the required library which will enforce architecture patterns . ArchUnit  . Currently I am exploring it and will upd...

Thursday, July 24, 2014

Setting up Maven in Linux



  1. Download maven from http://maven.apache.org/download.cgi
  2. Extract in any location say /opt
  3. Append following lines in .bashrc and save it.
          export M2_HOME=/opt/apache-maven-3.1.1/
          PATH=$M2_HOME/bin:$PATH
  
  4. open terminal and below command execute 
        source ~/.bashrc

  5. in terminal type mvn --version if every thing fine it will  display information like below 
    
        Apache Maven 3.1.1
       Maven home: /opt/apache-maven-3.1.1


Happy Coding