Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Since few day, I can't compiling my job, this error happening in logs maven :
http\://repo.maven.apache.org/maven2/.error=Could not transfer artifact org.apache.httpcomponents\:httpcore\:pom\:4.4.4 from/to central (http\://repo.maven.apache.org/maven2)\: Failed to transfer http\://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcore/4.4.4/httpcore-4.4.4.pom. Error code 501, HTTPS Required
I saw this topic to explain the error : https://support.sonatype.com/hc/en-us/articles/360041287334
But I can't find where I can replace the URL, Someone can help me ?
Thanks,
Emmanuel.
Hello,
You can change it by login into your Nexus repo as admin and then click on Settings -> Repositories -> click on maven_central and check if the remote storage location is http://repo.maven.apache.org/maven2. If so, change it to https://repo.maven.apache.org/maven2 -> scroll to the end and hit 'Save'.
Regards,
Anjali
When working with Maven to build Mule applications outside of Anypoint Studio, you need to configure your Maven installation to work successfully with Mule.