apache / apache/maven-mvnd

Cannot connect to private repositories

Open
#415 4 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Java
Stars
3.5k
Forks
250
Avg merge
16h 22m
Merged PRs (30d)
36

Description

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

```xml

...

some-id
...


some-id
...
...

```

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 :)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the 403 with the Maven settings configuration shown, including matching repository and server IDs, then compare access through Maven Daemon with standard Maven. Done means artifacts from private repositories are fetched successfully with credentials and no 403 occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.