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
Labels
type: bug A general bug
Milestone

Comments

@scottfrederick
Copy link
Contributor

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 the type: bug A general bug label 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
@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
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant