1

I need to access a Maven repo which requires HTTP Basic Auth (no https). Is there a way to configure the HTTP headers from the pom.xml (or anywhere in the project) directly? I do not want to modify the settings.xml, since that would lead to structural changes in our deployment process.

Is there a way to achieve that?

jvataman
  • 1,357
  • 1
  • 12
  • 13
  • But the location is the settings.xml and not the pom apart from that you can't configure it in the pom file. – khmarbaise Aug 05 '14 at 17:40
  • Does this answer your question? [Accessing an Artifactory/Maven Repo that requires basic-auth](https://stackoverflow.com/questions/1280747/accessing-an-artifactory-maven-repo-that-requires-basic-auth) – LinFelix Oct 14 '20 at 09:03

0 Answers0