ℹ️ Since security issues keep popping up and the issue doesn't seem to adressed, this repository has been archived.
Example application that tries to replicate fabric8io/docker-maven-plugin#259*.
Run mvn package
once and repeat execution of mvn docker:stop; mvn docker:start
- this sometimes ends up reproducing the issue.
If Maven results in a "successful build", then the application logged a specific string and thus the problem didn't occur.
Sometimes though, an "Invalid log format error" occurs, or logging seizes to work.
This causes Maven to fail - yet there may be other reasons why Maven fails.
* this was originally https://github.com/rhuss/docker-maven-plugin/issues/259.