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

Dockerfile-java11 - Bump maven to 3.9.5 #113

Open
hammerface opened this issue Nov 15, 2023 · 2 comments
Open

Dockerfile-java11 - Bump maven to 3.9.5 #113

hammerface opened this issue Nov 15, 2023 · 2 comments
Labels

Comments

@hammerface
Copy link

hammerface commented Nov 15, 2023

Describe your idea/feature/enhancement

Bump maven version to 3.9.5 for java11 image.
I am running into issues using Maven 3.8.8, would appreciate if the version could be bumped to 3.9.5
Some dependencies in my Java project(Quarkus) cause issues when trying to retrieve dependencies from corporate mirror of maven central repository. I get 403 Forbidden responses from the server. Maven 3.8.8 uses a class called WagonTransporter which has a conflict with a version of WagonTransporter included in Quarkus. Maven 3.9+ moved to a different class called HttpTransporter. This seemed to fix the problem for me.

Link to issue:
quarkusio/quarkus#33220

I recognized you might have reasons to keep Maven at its current version, any chance of having 2 different java11 images?
Thanks for your consideration.

Proposal

In Dockerfile-java11
line 62: replace maven URL with: https://downloads.apache.org/maven/maven-3/3.9.5/binaries/apache-maven-3.9.5-bin.tar.gz
line 65: replace reference to apache-maven-3.8.8 with reference to apache-maven-3.9.5

@hammerface hammerface added stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. type/feature Feature request labels Nov 15, 2023
@hnnasit
Copy link
Contributor

hnnasit commented Nov 20, 2023

Hi @hammerface, thanks for opening an issue. Let me bring this up with the team to check if there are any concerns with bumping the Maven version and get back to you.

@hnnasit hnnasit added dependencies and removed stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. labels Nov 20, 2023
@hnnasit
Copy link
Contributor

hnnasit commented Dec 16, 2023

Hi @hammerface, you can try building your own custom image with configuration you want and passing the image during build (sam build) with --build-image option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants