Skip to content
This repository has been archived by the owner on Mar 21, 2022. It is now read-only.

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

Open
waltli opened this issue Nov 30, 2020 · 2 comments
Open

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

waltli opened this issue Nov 30, 2020 · 2 comments
Labels

Comments

@waltli
Copy link

waltli commented Nov 30, 2020

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

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

@waltli waltli changed the title How to realize one key package in Maven Project of multi-module How to building Docker Image in Maven Project of multi-module Dec 1, 2020
@bingfengwx
Copy link

bind the lifecycle to package:

                <executions>
                    <execution>
                        <id>build-image</id>
                        <phase>package</phase>
                        <goals>
                            <goal>build</goal>
                        </goals>
                    </execution>
                </executions>

@stale
Copy link

stale bot commented Jan 9, 2022

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.

@stale stale bot added the stale label Jan 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants