Bonjour,
J'ai un problème pour créer un projet à partir d'un maven-archetype-webapp avec Eclipse Oxygen JEE (pourtant j'ai bien l'accès à l'Eclipse marketPlace ...).
Je suis sur une virtual machine avec CentOs et je me connecte par un réseau d'entreprise.
Voici l'erreur que je rencontre :
et voici les paramètres de settings.xml de maven :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 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): Remote host closed connection during handshake 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): Remote host closed connection during handshake
Code XML : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11 <proxy> <id>optional</id> <active>true</active> <protocol>http</protocol> <username>user</username> <password>p@ssw0rd</password> <host>proxy2.si.entreprise.fr</host> <port>3128</port> <nonProxyHosts>local.net|some.host.com</nonProxyHosts> </proxy> </proxies>
Merci,
Partager