Hi I am not able to create Maven Project in my machine.Below are my configurations
Eclipse Version: Mars.1 Release (4.5.1)
Maven Version: m2e, Maven Integration for Eclipse, 1.6.2
I am behind a corporate proxy. I have tried to configure the settings file inside .m2 directory and it is not working. Below is my settings file
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<proxies>
<proxy>
<id>myproxy</id>
<active>true</active>
<protocol>http</protocol>
<host>XX.XX.XX.XX</host>
<port>8080</port>
<nonProxyHosts></nonProxyHosts>
<username>USERNAME</username>
<password>PASSWORD</password>
</proxy>
</proxies>
</settings>
I saw lot of answers in StackOverflow regarding this issue, I tried and nothing works. I doubt, there is '@' character in my PASSWORD, does it cause any issues ? Also do we need to provide USERNAME as domain\USERNAME or only USERNAME ? And how to provide both http and https in the file ?
Stack Trace error
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:1.0 from any of the configured repositories.
Could not resolve artifact org.apache.maven.archetypes:maven-archetype-webapp:pom:1.0
Failure to transfer org.apache.maven.archetypes:maven-archetype-webapp:pom:1.0 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.archetypes:maven-archetype-webapp:pom:1.0 from/to central (https://repo.maven.apache.org/maven2): connect timed out