Closed c85645 closed 1 month ago
is it a problem with the docker image or with maven itself?
I'm not sure, but I think this problem is with Maven itself.
you can check https://maven.apache.org/index.html#how-to-get-support
Okay, maybe I should ask Maven support. Thank you, and this ticket can be closed.
Hi
When I use GitLab to run CI/CD, I find that the Maven proxy does not work since version 3.9.0, but it works in 3.8.x. Here is my simple code in .gitlab-ci.yml
mvn -Dhttps.proxyHost=$PROXY_HOST -Dhttps.proxyPort=$PROXY_PORT -Dhttp.proxyHost=$PROXY_HOST -Dhttp.proxyPort=$PROXY_PORT clean package
In version 3.9.0, it causes a connection timeout due to the proxy not working. In version 3.8.8, it works.These are the image versions I tested:
image: maven:3.9.8-amazoncorretto-11
image: maven:3.8.8-amazoncorretto-11