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

No staging profile found error #84

Closed
kemitix opened this issue Jun 30, 2019 · 4 comments
Closed

No staging profile found error #84

kemitix opened this issue Jun 30, 2019 · 4 comments
Labels

Comments

@kemitix
Copy link

kemitix commented Jun 30, 2019

I'm trying to deploy artifacts within the organisation net.kemitix.thorp, using my existing sonatype profile net.kemitix. However, I keep getting the error No staging profile found for net.kemitix.thorp. I have set both organization and sonatypeProfileName, but the profile name is being ignored.

I'm concerned that this line might be causing my setting to be ignored.

@xerial
Copy link
Owner

xerial commented Jul 3, 2019

I think you need to check the result of $ sbt sonatypeProfileName to see what configuration is effective in your build.

@xerial xerial added the question label Jul 3, 2019
@kemitix
Copy link
Author

kemitix commented Jul 3, 2019

@xerial
I get:

[info] storage-api / sonatypeProfileName
[info] 	net.kemitix.thorp
[info] core / sonatypeProfileName
[info] 	net.kemitix.thorp
[info] thorp-lib / sonatypeProfileName
[info] 	net.kemitix.thorp
[info] storage-aws / sonatypeProfileName
[info] 	net.kemitix.thorp
[info] domain / sonatypeProfileName
[info] 	net.kemitix.thorp
[info] cli / sonatypeProfileName
[info] 	net.kemitix.thorp
[info] sonatypeProfileName
[info] 	net.kemitix.thorp

@xerial
Copy link
Owner

xerial commented Jul 3, 2019

Then you need to include sonatypeProfileName setting to the common setting so that every project can look at that value.

@kemitix
Copy link
Author

kemitix commented Jul 3, 2019

Thanks. sbt sonatypeProfileName is showing me what I want to see now.

@kemitix kemitix closed this as completed Jul 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants