Reproduce #33115
Start a local "repository" which requires authorization. We simulate the behaviour of gitlab
or azure with a webserver only returning artifacts, when a certain authorization header is present. See nginx.conf
for details.
> docker-compose up -d
Artifacts are served from repo
. Authorization configuration via header is configured in settings.xml
> mvnw install --settings settings.xml
remove local cached dependency and retry with quarkus
> rm -rf ~/.m2/repository/example
> mvnw install --settings settings.xml -Pwith-quarkus3