Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to build binary .war/.ear archive in dev mode (e.g. for use in Docker build) #1476

Open
kathrynkodama opened this issue Apr 5, 2022 · 1 comment · May be fixed by #1713
Open

Option to build binary .war/.ear archive in dev mode (e.g. for use in Docker build) #1476

kathrynkodama opened this issue Apr 5, 2022 · 1 comment · May be fixed by #1713

Comments

@kathrynkodama
Copy link
Contributor

kathrynkodama commented Apr 5, 2022

Dev mode should provide a way to run mvn package to create war/ear so that users are set to create the container image ie, docker build.
Consider adding this functionality on dev mode shutdown or with a hotkey trigger.

Another case to consider is wanting to build a runnable jar - not by default but with a hotkey trigger. Could go further than this and have a hotkey to create the container image.

@kathrynkodama kathrynkodama changed the title Option to run mvn package in dev mode Option to build app as war/jar/ear in dev mode Apr 6, 2022
@scottkurz
Copy link
Member

Would be slightly more accurate to say we want to run the war:war or ear:ear goals rather than mvn package, since dev mode will have run other parts of the lifecycle. I don't think there's anything special to do with respect to the "exploded" format added for #1104 but would be good for someone to think through a bit and confirm.

@scottkurz scottkurz linked a pull request Aug 9, 2023 that will close this issue
@scottkurz scottkurz changed the title Option to build app as war/jar/ear in dev mode Option to build binary .war/.ear archive in dev mode (e.g. for use in Docker build) Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants