Cant connect to maven repository
<p>I am trying to do mvn clean install on my new project(because I want to download all dependencies) and I am having a problem with it.</p>

<hr>

<pre><code>Failed to execute goal on project Event: Could not resolve dependencies for 
project com.event:Event:war:1.0-SNAPSHOT: Failed to collect dependencies at 
org.springframework:spring-context:jar:5.0.0.M3: Failed to read artifact 
descriptor for org.springframework:spring-context:jar:5.0.0.M3: Could not 
transfer artifact org.springframework:spring-context:pom:5.0.0.M3 from/to central
 (https://repo.maven.apache.org/maven2): Connect to 172.16.0.3:8080 [/172.16.0.3] 
failed: Connection timed out: connect

</code></pre>

<hr>

<p>I was looking for an answer and find that I should check if I am behind some proxy or maybe to specify a maven repository or maybe some IDE problem. But I am not behind a proxy and my settings.xml doesn't have any proxy config and I was trying to start an mvn clean install from command line so there should not be IDE problems. Also, I am trying to download from central repo so I found that for central repo there should be no problem. Thank you in advance. :)</p>

<p><strong>My pom.xml</strong></p>

<pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
&lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
&lt;groupId&gt;com.event&lt;/groupId&gt;
&lt;artifactId&gt;Event&lt;/artifactId&gt;
&lt;packaging&gt;war&lt;/packaging&gt;
&lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
&lt;name&gt;Event Maven Webapp&lt;/name&gt;
&lt;url&gt;http://maven.apache.org&lt;/url&gt;
&lt;dependencies&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;junit&lt;/groupId&gt;
        &lt;artifactId&gt;junit&lt;/artifactId&gt;
        &lt;version&gt;3.8.1&lt;/version&gt;
        &lt;scope&gt;test&lt;/scope&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;org.springframework&lt;/groupId&gt;
        &lt;artifactId&gt;spring-context&lt;/artifactId&gt;
        &lt;version&gt;5.0.0.M3&lt;/version&gt;
    &lt;/dependency&gt;
&lt;/dependencies&gt;
&lt;build&gt;
    &lt;finalName&gt;Event&lt;/finalName&gt;
&lt;/build&gt;
</code></pre>

<p></p>