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

Skaffold Build Fails - Incompatible Maven Version #52

Closed
ibidani opened this issue Nov 20, 2022 · 0 comments · Fixed by #53
Closed

Skaffold Build Fails - Incompatible Maven Version #52

ibidani opened this issue Nov 20, 2022 · 0 comments · Fixed by #53

Comments

@ibidani
Copy link
Contributor

ibidani commented Nov 20, 2022

Background

Skaffold build use paketo-buildpacks for building the code. The paketo-buildpacks/maven added the build flag "--no-transfer-progress" to mvn command which was introuced in Maven 3.6.1 https://maven.apache.org/docs/3.6.1/release-notes.html

Current failure

Compiled Application: Contributing to layer
    Executing mvnw --batch-mode -Dmaven.test.skip=true --no-transfer-progress package
      Unable to parse command line options: Unrecognized option: --no-transfer-progress

Proposal

Upgrade Maven Wrapper and Maven to latest version(3.8.6)

@arey arey closed this as completed in #53 Nov 21, 2022
arey added a commit that referenced this issue Nov 21, 2022
Upgrading Maven Wrapper 3.1.1 and Maven to 3.8.6 #52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant