This question already has an answer here:
- Where is Maven Installed on Ubuntu 6 answers
In the windows environment you will have .m2 folder in C:\Users\user_name location and you will copy your settings.xml file to it in order to setup your proxy settings and nexus repository locations and etc.
So What I have to done on Ubuntu environment to get similar setup after installing maven on it.
As per Where is Maven Installed on Ubuntu it will first create your settings.xml on /usr/share/maven2/, then you can copy to your home folder as jens mentioned
Quoted from http://maven.apache.org/settings.html:
So, usually for a specific user you edit
To set environment for all local users, you might think about changing the first path.
.m2 directory on linux box usually would be
$HOME/.m2
you could get the $HOME :
or simply:
to go to your home directory.
other information from maven site: http://maven.apache.org/download.html#Installation
You can find your maven files here:
Probably you need to copy settings.xml in your
.m2
folder:If no .m2 folder exists: