sbtjwtsilhouette

sbt librarymanagement ResolveException Error downloading com.atlassian.jwt:jwt-core


Get dependency error (play application with silhouette) after switching to a new development system.

sbt.version=1.3.3

in build.sbt:

resolvers += Resolver.jcenterRepo
resolvers += "Sonatype snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/"
[error] Error downloading com.atlassian.jwt:jwt-api:2.0.5
[error]   Not found
[error]   Not found
[error]   not found: /Users/robert/.ivy2/local/com.atlassian.jwt/jwt-api/2.0.5/ivys/ivy.xml
[error]   not found: https://repo1.maven.org/maven2/com/atlassian/jwt/jwt-api/2.0.5/jwt-api-2.0.5.pom

Solution

  • The artifact com.atlassian.jwt:jwt-api:2.0.5 seems to be available only from Atlassian's repositories (see https://mvnrepository.com/artifact/com.atlassian.jwt/jwt-api/2.0.5).

    Add the following resolver:

    resolvers += "Atlassian's Maven Public Repository" at "https://packages.atlassian.com/maven-public/"