a literal quotation from my `3rdparty/jvm/BUILD` i...
# general
a
a literal quotation from my
3rdparty/jvm/BUILD
is:
Copy code
jar_library(
  name='finatra-thrift-test-jars',
  jars=[
    # FIXME: we can't get the transitive closure of all the deps for test jars (this is a known
    # issue with classifiers in general, see
    # <https://twitter.github.io/finatra/index.html#test-dependencies>). This is almost definitely
    # something that could/should be added to coursier, because I think it would require traversing
    # the dependency set of the test jars, and we probably don't want to do that ourselves.
    scala_jar(org='com.twitter', name='finatra-thrift', rev=TWITTER_JVM_REV,
              classifier='tests'),
    scala_jar(org='com.twitter', name='inject-server', rev=TWITTER_JVM_REV,
              classifier='tests'),
    scala_jar(org='com.twitter', name='finatra-jackson', rev=TWITTER_JVM_REV,
              classifier='tests'),
    scala_jar(org='com.twitter', name='finatra-utils', rev=TWITTER_JVM_REV,
              classifier='tests'),
    scala_jar(org='com.twitter', name='inject-app', rev=TWITTER_JVM_REV,
              classifier='tests'),
    scala_jar(org='com.twitter', name='inject-core', rev=TWITTER_JVM_REV,
              classifier='tests'),
    scala_jar(org='com.twitter', name='inject-modules', rev=TWITTER_JVM_REV,
              classifier='tests'),
    scala_jar(org='com.twitter', name='inject-request-scope', rev=TWITTER_JVM_REV,
              classifier='tests'),
    scala_jar(org='com.twitter', name='inject-server', rev=TWITTER_JVM_REV,
              classifier='tests'),
    scala_jar(org='com.twitter', name='inject-utils', rev=TWITTER_JVM_REV,
              classifier='tests'),
  ],
  dependencies=[
    ':mockito',
    ':slf4j-impl',
  ],
)
and it doesn't let me run feature tests unless all of that is specified lol -- it doesn't appear to be an issue with conflicting jars, the classpath from the tests jars is really just not there unless you specify all of the above. this is described in the finatra link above as a bit of an open problem