Hi, last week I once again ran into the longstandi...
# scripting
p
Hi, last week I once again ran into the longstanding issue that dependency resolution does not use credentials configured in maven settings.xml. At some point support for settings.xml was added for kotlin scripts but it became even more annoying because now it respects the mirror configuration, but still does not use credentials. This is especially annoying in company internal environments where there is often a global mirror https://maven.apache.org/guides/mini/guide-mirror-settings.html which makes it impossible to authenticate. Have any of you encountered this issue before? Is it well known? Because I ran into it the first time a few years ago and again now. For me this is pretty much a showstopper for using kotlin scripts in company environments.
I also went a down the rabbit hole to figure out where it all goes wrong and I was surprised to discover that it could be easily fixed. There might be something I'm not seeing that prevents us from fixing it properly.