spotify / docker-maven-plugin

INACTIVE: A maven plugin for Docker
Apache License 2.0
2.66k stars 575 forks source link

Plugin hangs if project is not git repository #313

Closed niksajakovljevic closed 6 years ago

niksajakovljevic commented 7 years ago

Description

Running mvn clean project docker:build hangs forever if project is not Git repository.

How to reproduce

Great a new project. Add maven POM file and some class file. Try building a docker image. Should hang forever on this line [INFO] --- docker-maven-plugin:0.4.13:build (default-cli) @ xxxxxxxxx ---

Now do git init in the same folder. Try building a docker image and it will succeed.

Software:

fmatar commented 6 years ago

This issue needs to be closed, I can't reproduce it. Tried with maven 3.5.0, docker plugin 1.0.0 and it works

mattnworb commented 6 years ago

Thanks @fmatar for confirming.