maven - Downloding dependencies from password protected Nexus repository using a local proxy -


i'm using intellij , i'm working jar libraries sitting behind password protected nexus repository. need inspect sources, intellij fails find them because (it seems) doesn't support password protected repos (at least, failed when attempted add using build tools -> maven -> repositories, not asking password).

if there workaround?

after research learned run local nexus instance on machine set in way proxies corporate nexus... seems overkill. there simple proxy can install? alternatively: if code simple http server forward requests adding http auth headers, work?

some clarifications:

  • the projects i'm working using scala/sbt. i've tried adding ivy plugin idea, no success.
  • the password protected repository set in m2/settings.xml (password encrypted using settings-security.xml). maven can use without problems. i've instructed intellij use same settings.xml configuration, didn't work. seems code tries automatically download sources tries nexus repositories in build tools -> maven -> repositories.

you should create .m2/settings.xml file repository config. intellij respects these settings.

see also: https://maven.apache.org/settings.html , https://maven.apache.org/settings.html#servers


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -