Follow these steps,
1.check you have installed java 1.7 or above on your machine.
command to check java installed properly
c:\>> java -version
2. Download maven
Binary zip archive
3.Extract the archive and copy the \bin folder path . Place this path in Environment variable path
Command to check maven installed correctly
4. You can change maven local repository as below
Go to \conf directory and edit settings.xml
Add your custom repo location there.
<localRepository>your local repo location</localRepository>