I am using the latest Eclipse Java EE (Kepler) and trying to create a Maven project. When I attempt to do this, and finally click the Finish button, I get this error:
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE from any of the configured repositories.
All I have done in terms of "set-up" is install Eclipse Java EE (I also installed the main eclipse standard 4.3 earlier). I am also on a work computer, and a proxy test I ran returned the result: This request appears to have come via a proxy.
This has driven me nearly insane, so any help would be great! Thanks!
Please verify, in Eclipse, Windows > Preferences > Maven > User Settings, please check the User settings file (settings.xml) exists and the proxy setting inside that file is correctly pointed to your proxy server.
Adding the following inside "mirrors" section in the user setting.xml file.
<!-- mirrors so we can control the access of artifacts and avoid going to
the internet for artifact metadata -->
<mirrors>
<mirror>
<id>maven repo</id>
<url>http://repo.maven.apache.org/maven2</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>
The official Maven 2 repository is at http://repo.maven.apache.org/maven2 hosted in the US, or http://uk.maven.org/maven2 hosted in the UK.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With