Hi All, I am trying to fix HTTP 503 which comes from Maven Central, see INFRA-16951.
I created a branch using ".m2/settings.xml" and Mirror http://repository.apache.org So I used it with "mvn -s ..." in Jenkinsfile and the file exists and has expected content (cat <file> shows the content and path is as expected). I still have the exception on our Jenkins: java.io.FileNotFoundException: The specified user settings file does not exist: /home/jenkins/jenkins-slave/workspace/box_maven-surefire_settings-ULXASOSXMGIDUBLBV2UYO6HFUQGNZDMTCO2CFEVM6KNUDPE2ZH6Q/.m2/settings.xml at org.apache.maven.cli.configuration.SettingsXmlConfigurationProcessor.process (SettingsXmlConfigurationProcessor.java:94) at org.apache.maven.cli.MavenCli.configure (MavenCli.java:1163) The path exists (ls -la shows me it exists) but Maven say no it does not. It works when I use settings.xml on my local machine. How should I use the settings.xml with our ASF Nexus and ASF Jenkins? It looks like the Maven is hacked and the stacktrace is not related to original source code. Thx Tibor