Our standard is to build a SpringBoot fatjar containing one micro service, and then a docker image of it. We use the [dockerfile-maven-plugin|https://github.com/spotify/dockerfile-maven] for the last part, and in particular its docker-info jars to record maven dependencies between images. But these dependencies are not seen by the plugin, and thus dependent builds are not triggered. The bad thing is :
- the docker-info jar, when produced, is recorded with type=docker-info and classifier=docker-info
- when consumed as a dependency, it is with type=jar and classifier=docker-info (even if forcing the type in the POM)
|