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

Image is built from jar file when when using war packaging with Gradle #24521

Closed
scottfrederick opened this issue Dec 15, 2020 · 0 comments
Closed
Assignees
Milestone

Comments

@scottfrederick
Copy link
Contributor

@scottfrederick scottfrederick commented Dec 15, 2020

When running the bootBuildImage task on a project configured to build a war file, a jar file is built and used in the generated image instead of the war file. The bootBuildImage task should fail with war packaging instead. The documentation should also state more clearly that bootBuildImage is not supported with war packaging.

@scottfrederick scottfrederick self-assigned this Dec 15, 2020
@scottfrederick scottfrederick added this to the 2.3.x milestone Dec 15, 2020
scottfrederick added a commit that referenced this issue Dec 16, 2020
Fixes gh-24521 in 2.4.2
@scottfrederick scottfrederick modified the milestones: 2.3.x, 2.3.8 Dec 16, 2020
@scottfrederick scottfrederick changed the title Fail when attempting to build an image when using war packaging with Gradle Image is built from jar file when when using war packaging with Gradle Jan 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant