Reputation: 1
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:1.1 from any of the configured repositories.
Could not resolve artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1
Could not transfer artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from/to central (https://repo.maven.apache.org/maven2): connect timed out
Could not transfer artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from/to central (https://repo.maven.apache.org/maven2): connect timed out
I have configured settings.xml and I have installed maven into eclipse and I have configured jdk also but could not solve the issue and I have added remote catalog also with http://repo1.maven.org/maven2/archetype-catalog.xml as calalog file but facing the same issue.
Upvotes: 0
Views: 254
Reputation: 2116
Maven is not able to reach its central repo
If you are behind any proxy, Please configure proxy in settings.xml
<proxies>
<proxy>
<id>proxy</id>
<active>true</active>
<protocol>your_protocol</protocol>
<host>your_host</host>
<port>your_port</port>
</proxy>
</proxies>
Upvotes: 1