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

Get the credentials from the existing settings #10

Closed
etorreborre opened this issue Mar 6, 2014 · 3 comments
Closed

Get the credentials from the existing settings #10

etorreborre opened this issue Mar 6, 2014 · 3 comments

Comments

@etorreborre
Copy link

I already have credentials in my build.scala file for accessing Sonatype:

credentials := Seq(Credentials(Path.userHome / ".sbt" / "specs2.credentials"))

Is it possible to take these ones instead of requiring a file in ~/.sbt/<sbt-version>/sonatype.sbt? This is especially important for me because I publish different projects under different credentials to Sonatype. Thanks.

@xerial
Copy link
Owner

xerial commented Mar 6, 2014

Yes, it should be possible.

credentials is just a predefined setting key in sbt and you can set it anywhere in your configuration files.

@xerial xerial closed this as completed Jul 14, 2014
@larsrh
Copy link

larsrh commented Sep 23, 2014

@xerial The problem appears to be that this plugin doesn't pick up file credentials. Looks like an easy fix; would you accept a pull request along those lines?

@xerial
Copy link
Owner

xerial commented Sep 24, 2014

Sure. I appreciate the fix via pull-request

@xerial xerial reopened this Sep 25, 2014
@xerial xerial closed this as completed Apr 4, 2015
Atry added a commit to Atry/sbt-sonatype that referenced this issue Jul 1, 2023
Migrate deprecated Travis CI settings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants