spotify / docker-maven-plugin

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

How to building Docker Image in Maven Project of multi-module #451

Open waltli opened 4 years ago

waltli commented 4 years ago

project structure: --parent ----subA ------pom.xml ----subB ------pom.xml ----pom.xml

How config above project with dockerfile-maven-plugin to building Docker Image?

bingfengwx commented 3 years ago

bind the lifecycle to package:

                <executions>
                    <execution>
                        <id>build-image</id>
                        <phase>package</phase>
                        <goals>
                            <goal>build</goal>
                        </goals>
                    </execution>
                </executions>
stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.