Skip to content

Commit

Permalink
Document you need a token since Jan 2024 (#511)
Browse files Browse the repository at this point in the history
Since Jan 2024 you need to authenticate with a token instead of your username/password.
  • Loading branch information
erikvanoosten committed Aug 23, 2024
1 parent 7824290 commit e89154c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,13 @@ sonatypeRepository := "https://s01.oss.sonatype.org/service/local"

### $HOME/.sbt/(sbt-version 0.13 or 1.0)/sonatype.sbt

For the authentication to Sonatype API, you need to set your Sonatype account information (user name and password) in the global sbt settings. To protect your password, never include this file within your project.
For the authentication to Sonatype API, you need to set your Sonatype token information (name and password) in the global sbt settings. To protect your password, never include this file within your project. Get the token from https://oss.sonatype.org or https://s01.oss.sonatype.org.

```scala
credentials += Credentials("Sonatype Nexus Repository Manager",
"oss.sonatype.org",
"(Sonatype user name)",
"(Sonatype password)")
"(Sonatype token user name)",
"(Sonatype token password)")
```

### (project root)/sonatype.sbt
Expand Down

0 comments on commit e89154c

Please sign in to comment.