maven-mvnd icon indicating copy to clipboard operation
maven-mvnd copied to clipboard

Cannot connect to private repositories

Open OPeyrusse opened this issue 4 years ago • 2 comments

My maven configuration contains private repositories, to which I connect passing credentials as follow:

<settings>
	...
	<repository>
		<id>some-id</id>
		...
	</repository>
	<server>
		<id>some-id</id>
		<username>...</username>
		<password>...</password>
	</server>
</settings>

With such a configuration, I regularly see 403 errors when trying to access artifacts only available on those repositories. When using a standard maven, I don't have any issue.

I would gladly try to reproduce and share but I don't know any private repo with open credentials, and I don't want to share my own :)

OPeyrusse avatar May 19 '21 10:05 OPeyrusse

Maybe using some docker image based on Apache Archiva could help setting up an integration test / reproducer ?

gnodet avatar Dec 06 '21 15:12 gnodet

Maybe using some docker image based on Apache Archiva could help setting up an integration test / reproducer ?

Good idea. I was not aware of this project (but I confess I did not make a lot of research). I will try to set up something and report here if I see an issue.

OPeyrusse avatar Dec 07 '21 08:12 OPeyrusse