Skip to content

Instantly share code, notes, and snippets.

@Kapparina
Last active January 15, 2025 01:48
Show Gist options
  • Save Kapparina/234d68708c2565170e537c450abdb512 to your computer and use it in GitHub Desktop.
Save Kapparina/234d68708c2565170e537c450abdb512 to your computer and use it in GitHub Desktop.
How to fix Maven proxy, certificate, repository issues that may occur whilst using Maven under Jetbrains IDEA

Jetbrains IDEA's Maven is dicky, here's how to fix various issues that may arise:

Repo connections timing out

  1. Set the MAVEN_OPTIONS environment variable to:
-Daether.connector.http.useSystemProperties=true -Djava.net.useSystemProxies=true

Repository indices not updating

  1. Execute mvn idea:idea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment