MOUHIM Abdessamad
MOUHIM Abdessamad

Reputation: 49

how to solve proxy using maven (IN Eclipse)

when I want to create a new maven webApp project using Eclipse i get this

Error :
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:RELEASE from any of the configured repositories.

here is a part of my setting.xml :

    <proxy>
      <id>optional</id>
      <active>true</active>
      <protocol>http</protocol>
      <username>myUsername</username>
      <password>myPasseword</password>
      <host>proxy.host.net</host>
      <port>80</port>
      <nonProxyHosts>local.net|some.host.com</nonProxyHosts>
    </proxy>
  </proxies>

Thank you Here is my configuration : enter image description here enter image description here

Upvotes: 3

Views: 881

Answers (1)

MOUHIM Abdessamad
MOUHIM Abdessamad

Reputation: 49

@MadJlzz , using Goals in commande line works perfectly But, in eclipse still the problem enter image description here

Upvotes: 2

Related Questions