Versioned Settings External Library from Authenticated Repository
Hi,
I'd like to share some build configuration helpers similar to what was documented in this article: https://blog.jetbrains.com/teamcity/2017/02/kotlin-configuration-scripts-extending-the-teamcity-dsl/
We've published them to an internal Artifactory repository, however we have Artifactory password protected.
I've been able to confirm locally that setting up a `settings.xml` file in ~/.m2/settings.xml with credentials, I can run the `teamcity-configs:generate` maven script.
I've setup the same credentials file in our TeamCity server under `/home/teamcity/.m2/settings.xml`, however when I try to load versioned settings, I get a 401 from the maven repository.
I've also set `teamcity.maven.settingsPath=/home/teamcity/.m2/settings.xml` in the `internal.properties` file of the server and restarted, but still no success.
Is there something I may be missing that is specific to the versioned settings maven loader that I need to configure?
Please sign in to leave a comment.
Hi, sorry for the delay,
if I'm not mistaken, your description matches this issue: https://youtrack.jetbrains.com/issue/TW-53584 . I'm afraid if that's the case that it's a known issue, a workaround is proposed in the comments so you might want to check that.
No apologies necessary.
I only discovered this ticket after I made the post. It's fairly disheartening that this issue has been opened for so long.
Operationally speaking, adding an additional Maven dependency is significantly easier than asking developers to include a submodule, but I'm willing to give it a shot.
Regardless, I hope the issue gets resolved shortly.