Setup for using a local Nexus docker container in combination with your maven project

First ensure you have installed Docker & Maven on your computer. docker pull sonatype/nexus3 Create a directory which you can use as volume for the docker container, for example mkdir /opt/nexus-data && chown -R 200 /opt/nexus-data Run the container by docker run -d -p 8081:8081 –name nexus -v /opt/nexus-data:/nexus-data sonatype/nexus3 Go to http://localhost:8081 & login with…