Ensure that docker is configured to use localhost:5000 as insecure registry https://docs.docker.com/registry/insecure/
minikube start
eval $(minikube docker-env)
docker run -d -p 5000:5000 --restart=always --name registry registry:2
mvn clean install -DskipChecks -DskipTests -DdockerBuild