Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access to repo.akka.io snapshot repo fails with NullPointerException with sbt 1.x #24536

Closed
jrudolph opened this issue Feb 13, 2018 · 1 comment
Labels
3 - in progress Someone is working on this ticket t:build

Comments

@jrudolph
Copy link
Member

The reason is that sbt expects a Content-Type header when downloading artifacts and our snapshot repo on repo.akka.io didn't provide this header for pom files.

sbt/sbt#3941
sbt/librarymanagement#180

@jrudolph jrudolph added 3 - in progress Someone is working on this ticket t:build labels Feb 13, 2018
@jrudolph
Copy link
Member Author

jrudolph commented Feb 13, 2018

I fixed this on the repo server by adding a .htaccess file to www/snapshots containing a single line

AddType text/xml pom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - in progress Someone is working on this ticket t:build
Projects
None yet
Development

No branches or pull requests

1 participant