Hello,
Class com.github.dockerjava.api.command.InspectContainerResponse from testcontainers-1.8.1 have
import org.testcontainers.shaded.javax.annotation.CheckForNull;
and shading for com.google.code.findbugs:jsr305 (#563), but have no class at bundle. Java have no problem with it due of ignorance of annotation missing imports, but while I compile code below with Scala 2.11
import org.testcontainers.containers.MySQLContainer
object ScalaContainerInit {
def main(args: Array[String]) {
// there construct of anonymous class is required for reproduce
new MySQLContainer(s"mysql:5.7.18") { }
}
}
catch the compile warning
[WARNING] warning: Class org.testcontainers.shaded.javax.annotation.CheckForNull not found - continuing with a stub.
The Scala compiler requires that all classes referenced in signatures of classes that in use available on the compile time classpath. With -Xfatal-warnings it was a problem.
It possible to add missed lib to shaded?
Hello,
Class
com.github.dockerjava.api.command.InspectContainerResponsefromtestcontainers-1.8.1haveand shading for
com.google.code.findbugs:jsr305(#563), but have no class at bundle. Java have no problem with it due of ignorance of annotation missing imports, but while I compile code below with Scala 2.11catch the compile warning
The Scala compiler requires that all classes referenced in signatures of classes that in use available on the compile time classpath. With
-Xfatal-warningsit was a problem.It possible to add missed lib to shaded?