Skip to content

Commit

Permalink
Update Nexus Repository URL
Browse files Browse the repository at this point in the history
See #181
  • Loading branch information
steinybot authored Mar 4, 2021
1 parent 767a819 commit be1c58c
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Let's get started!
- [Does sbt-ci-release work for sbt 0.13?](#does-sbt-ci-release-work-for-sbt-013)
- [How do I publish sbt plugins?](#how-do-i-publish-sbt-plugins)
- [java.io.IOException: secret key ring doesn't start with secret key tag: tag 0xffffffff](#javaioioexception-secret-key-ring-doesnt-start-with-secret-key-tag-tag-0xffffffff)
- [java.io.IOException: PUT operation to URL https://oss.sonatype.org/content/repositories/snapshots 400: Bad Request](#javaioioexception-put-operation-to-url-httpsosssonatypeorgcontentrepositoriessnapshots-400-bad-request)
- [java.io.IOException: PUT operation to URL https://s01.oss.sonatype.org/content/repositories/snapshots 400: Bad Request](#javaioioexception-put-operation-to-url-httpsosssonatypeorgcontentrepositoriessnapshots-400-bad-request)
- [java.io.IOException: Access to URL was refused by the server: Unauthorized](#javaioioexception-access-to-url-was-refused-by-the-server-unauthorized)
- [Failed: signature-staging, failureMessage:Missing Signature:](#failed-signature-staging-failuremessagemissing-signature)
- [How do I create release notes? Can they be automatically generated?](#how-do-i-create-release-notes-can-they-be-automatically-generated)
Expand Down Expand Up @@ -67,7 +67,8 @@ It's my GitHub account https://github.com/olafurpg/
If you prefer not to save your actual username and password in GitHub Actions
settings below, generate your user tokens:

- login to https://oss.sonatype.org,
- login to https://s01.
atype.org/,
- click your username in the top right, then profiles,
- in the tab that was opened, click on the top left dropdown, and select "User
Token",
Expand Down Expand Up @@ -209,13 +210,13 @@ gpg --armor --export-secret-keys %LONG_ID% | openssl base64
```

- `SONATYPE_PASSWORD`: The password you use to log into
https://oss.sonatype.org/. Alternatively, the password part of the user token
https://s01.oss.sonatype.org/. Alternatively, the password part of the user token
if you generated one above.
**For Travis Only:** If the password contains bash special characters,
make sure to escape it by wrapping it in single quotes `'my?pa$$word'`, see
[Travis Environment Variables](https://docs.travis-ci.com/user/environment-variables/#defining-variables-in-repository-settings).
- `SONATYPE_USERNAME`: The username you use to log into
https://oss.sonatype.org/. Alternatively, the name part of the user token if
https://s01.oss.sonatype.org/. Alternatively, the name part of the user token if
you generated one above.
- (optional) `CI_RELEASE`: the command to publish all artifacts for stable
releases. Defaults to `+publishSigned` if not provided.
Expand Down Expand Up @@ -437,7 +438,7 @@ setup required. It is not necessary to publish sbt plugins to Bintray.
wrapped). If you use the GNU coreutils `base64` (default on Ubuntu), pass in
the `-w0` flag to disable line wrapping.

### java.io.IOException: PUT operation to URL https://oss.sonatype.org/content/repositories/snapshots 400: Bad Request
### java.io.IOException: PUT operation to URL https://s01.oss.sonatype.org/content/repositories/snapshots 400: Bad Request

This error happens when you publish a non-SNAPSHOT version to the snapshot
repository. If you pushed a tag, make sure the tag version number starts with
Expand All @@ -454,7 +455,7 @@ characters as documented on

Make sure to upgrade to the latest sbt-ci-release, which could fix this error.
This failure can happen in case you push a git tag immediately after merging a
branch into master. A manual workaround is to log into https://oss.sonatype.org/
branch into master. A manual workaround is to log into https://s01.oss.sonatype.org/
and drop the failing repository from the web UI. Alternatively, you can run
`sonatypeDrop <staging-repo-id>` from the sbt shell instead of using the web UI.

Expand Down

0 comments on commit be1c58c

Please sign in to comment.