I have created bamdoo build wich checkouting git repository and started sbt build with tests. There are several sbt reposotories including one from local network. So bamboo build fails with strange message:
[0m ::::::::::::::::::::::::::::::::::::::::::::::[0m
[0m :: UNRESOLVED DEPENDENCIES ::[0m
[0m ::::::::::::::::::::::::::::::::::::::::::::::[0m
[0m :: org.jboss.logging#jboss-logging;${version.jboss.logging}: not found[0m
In logs I see:
Resolving org.jboss.logging#jboss-logging;3.1.1.GA
So ${version.jboss.logging}
was resolving correct.
But further logs are frustrating for me:
http://repo1.maven.org/maven2/org/jboss/logging/jboss-logging/${version.jboss.logging}/jboss-logging-${version.jboss.logging}.pom
http://myRepo/repo/org/jboss/logging/jboss-logging/${version.jboss.logging}/jboss-logging-${version.jboss.logging}.pom
Why sbt tries this URLs with ${version.jboss.logging}
instead of 3.1.1.GA
?
Is it normal for sbt to log dependecies URL without resolving versions variables or not?
How to resolve this?
Important
- My Project do not depend on
org.jboss.logging
directly, it is a transitive dependency. - On my local machine not on bamboo server this project compiles successfully without unresolved dependencies even if I delete whole local sbt repository.
- I have manually uploaded jars to the local network repository. And it did not help.