To get Nexus Repository Manager 2 running so you can use it with Maven, you need to run through a few steps before you install the repository manager itself.
Once you've done this, you should be ready to move on and install Repository Manager itself.
Once you've met the prerequisites for installing Nexus Repository Manager 3, you'll need to follow a few steps to get it running on Linux.
sudo cp nexus-3.1.0-04-unix.tar.gz /usr/local
cd /usr/local
sudo tar xvzf nexus-3.1.0-04-unix.tar.gz
sudo ln -s nexus-3.1.0-04 nexus
Once you've done these steps you can run Nexus Repository Manager via the following command
./bin/nexus run
You should see a lot of logs come up, and you should be able to access Nexus Repository Manager via the following URL: http://localhost:8081
Voila!
Once you've met the prerequisites for installing Nexus Repository Manager 3, you'll need to follow a few steps to get it running on Windows.
7za.exe e nexus-3.1.0-04-win64.zip
C:\nexus
Assuming you are using the command prompt and in the C:\nexus (or whatever directory you chose), once you've done these steps you can run Nexus Repository Manager via the following commands
cd bin
nexus.bat
You should see a lot of logs come up, and you should be able to access Nexus Repository Manager via the following URL: http://localhost:8081
Voila!