I have a multi module project like this
<modules>
<module>moduleA</module>
<module>moduleB</module>
<module>moduleC</module>
<module>moduleD</module>
</modules>
I have to use docker container for building modules moduleB and moduleC. The container's image for both modules is the same. For docker I use io.fabric8 docker-maven-plugin.
Now I can run both modules in different containers. Unfortunately it spends a lot of time for starting container and that's why I want to run container only one time and build both modules in the same container.
I tried to configure executions block in io.fabric8 plugin, but don't have any positive result. Could anybody say if is it possible and if yes, how? Thanks.