How to provide version for provided transitive dependencies in sbt?

[error] (*:update) sbt.ResolveException: unresolved dependency: com.atlassian.sal#sal-api;${sal.version}: not found
[error] unresolved dependency: com.atlassian.event#atlassian-event;${event.version}: not found
Any way to provide version for provided transitive dependencies ?

Its easily reproducible in any playframework app if I try to add the https://mvnrepository.com/artifact/com.atlassian.jira/jira-rest-java-client-core?repo=atlassian-public dependency.
Looks like an issue of play framework.

Hello, @sanjeevpande26,

How are you adding the dependency to your build.sbt?

Best.

Hi @marcospereira

I am adding the following in the build.sbt

libraryDependencies += "com.atlassian.jira" % "jira-rest-java-client-core" % "5.1.0"

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


The repo where I have added a sample play app with the dependency. “play compile” will result in the error.

I managed to fix it by adding notTransitive() attribute in the build.sbt

"com.atlassian.jira" % "jira-rest-java-client-core" % "5.1.0" notTransitive(),

and by adding the transitive dependencies manually.