Maven Connect Timeout from/to Central “”

Maven Connect Timeout from/to Central “” happen when you are in VPN and proxy network where your office firewall not allowing to download from outside network.

CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:3.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:3.1: ArtifactResolutionException: Could not transfer artifact org.apache.maven.plugins:maven-compiler-plugin:pom:3.1 from/to central ( connect timed out

Solution  1:

  • Try  after exiting  from VPN Network so that your office firewall not stop you to download dependencies.

Solution 2:

  • Update your firewall proxy settings in ./m2/settings.xml or /maven directory/conf/settings.xml file as below


  • Add same file in your eclipse as below Window -> Preference-> Maven -> User Settings
    maven settings.xml path

Click on Apply and then OK.

  • Go to your project -> Right Click ->Maven ->Update Project -> Check Force Update -> Click on OK

Hope that will fix your issue .

Leave you feedback to enhance more on this topic so that make it more helpful for others.



About Saurabh Gupta

My Name is Saurabh Gupta, I have approx. 10 Year of experience in Information Technology World manly in Java/J2EE. During this time I have worked with multiple organization with different client, so many technology, frameworks etc.
This entry was posted in Maven and tagged , , , , . Bookmark the permalink.