Open elm- opened 6 months ago
Hello,
I'm running into an issue when using this for packages hosted on a custom repository (Github maven packages in this case).
It throws a 401 when running dependencyUpdates command. The project itself downloads these fine with sbt update and a cleaned Coursier cache.
dependencyUpdates
sbt update
I checked https://github.com/aiyanbo/sbt-dependency-updates/issues/24 which seems to be related, but I'm on v1.2.9
Here the minimum project settings I use that are relevant:
credentials += Credentials(Path.userHome / ".sbt" / ".credentials-github"), resolvers ++= Seq( "Github Package Registry" at "https://maven.pkg.github.com/cupenya/srv-lg-maven-registry" )
[info] Updating https://maven.pkg.github.com/xxxx-scala-scala_2.13-3.0.0.pom 100,0% [##########] 1,8 KiB (2,4 KiB / s) https://maven.pkg.github.com/xxxxxxx_2.13-3.0.0.pom 100,0% [##########] 2,5 KiB (3,5 KiB / s)
sbt dependencyUpdates
[error ] com.xxx:xx-xx:3.0.0 Server returned HTTP response code: 401 for URL: https://maven.pkg.github.com/xxx/xxx:_2.13/maven-metadata.xml
I could not find any config keys regarding additional credentials. Anything missing in my config?
Thanks, elm
Hello,
I'm running into an issue when using this for packages hosted on a custom repository (Github maven packages in this case).
It throws a 401 when running
dependencyUpdates
command. The project itself downloads these fine withsbt update
and a cleaned Coursier cache.I checked https://github.com/aiyanbo/sbt-dependency-updates/issues/24 which seems to be related, but I'm on v1.2.9
Here the minimum project settings I use that are relevant:
sbt update
sbt dependencyUpdates
I could not find any config keys regarding additional credentials. Anything missing in my config?
Thanks, elm