Docker machine connection with https
Considering you say you want to build an image (and not push it to Docker hub or wherever):

docker-maven-plugin project recommends using dockerfile-maven for new projects, as the former


  [...] ultimately led to a lot of unnecessary confusion with our users that stemmed from introducing extra abstractions and a need for configuration on top of what Docker is providing.


The dockerfile-maven README should get you started, with both a sample Dockerfile and  the relevant plugin section for your pom.xml