Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to solve proxy using maven (IN Eclipse)

Tags:

eclipse

maven

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

like image 319
MOUHIM Abdessamad Avatar asked Mar 13 '26 11:03

MOUHIM Abdessamad


1 Answers

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

like image 150
MOUHIM Abdessamad Avatar answered Mar 16 '26 15:03

MOUHIM Abdessamad



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!