Skip to content

NO-ISSUE: Fix Maven Wrapper version and install tar/gzip to dev-deployment-base-image #2259

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

Merged
merged 5 commits into from
Apr 24, 2024

Conversation

thiagoelg
Copy link
Member

With the 3.3.0 release of Maven Wrapper the default method of installing/downloading the wrapper is via -Dtype=only-script, which means that the .jar file required to run the wrapper os downloaded during runtime, as before it was downloaded during build time with -Dtype=bin.

This change breaks the build inside container images that don't have the required binaries to download and extract the Maven Wrapper dependencies (e.g. dev-deployment-kogito-quarkus-blank-app-image didn't have gzip installed from its parent image, causing ./mvnw to fail when attempting to extract the wrapper binary).

This PR fixes the Maven Wrapper version to 3.3.0 and installs the required dependencies on the dev-deployment-base-image.

More info: https://maven.apache.org/wrapper/

@tiagobento tiagobento merged commit df724a0 into apache:main Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants