• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

maven behind proxy not working

 
Ranch Hand
Posts: 348
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My workstation is sitting behind company proxy, and I'm using eclipse Kepler and maven m2e plugin to create a maven project. the problem is, I can't seem to connect to remote repository when adding a new jar and its dependencies from eclipse. I have set the proxy segment in settings.xml nad pretty sure it's the right settings since it would work if I go to command line and do mvn install to download the jars and dependencies. does anybody know how to solve this? do I need to apply additional setting in eclipse? thanks
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
David,
You shouldn't need to do anything in Eclipse; it is all controlled in your Maven settings.xml. Can you confirm in the Eclipse workspace settings that you are pointing to that settings.xml that you configured?
 
David Spades
Ranch Hand
Posts: 348
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes, I have set under windows --> preference --> maven to point to that particular settings.xml. am I missing something? thanks
 
Jeanne Boyarsky
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hmm. Most companies use their own Nexus so they aren't connecting to Maven through a proxy. Eclipse does have the ability to set an internet proxy. I don't think it is used by Maven, but no harm in trying. I'd be happy to be proven wrong and have your problem be something easy to fix!
 
That feels good. Thanks. Here's a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic