Incomplete classpath artifact types in SBT projects
I've noticed that certain dependencies were being added, but contained only the sources and javadocs, so my code wouldn't compile.
log4j#log4j;1.2.17 is one such example.
In all cases I've looked at, the main artifact is published with type=bundle in the ivy file, and I think IDEA doesn't think such artifact should be put on the classpath.
SBT itself is aware of this and is able to put these jars on the runtime classpath:
> classpathTypes
[info] Set(eclipse-plugin, bundle, hk2-jar, orbit, jar)
Can you please either expose this setting in IDEA, or at least use sbt's classpathTypes to decide what should be put on the classpath?
Thanks
PS: IntelliJ IC 135.1019, Scala plugin 0.38.437 (latest).
Please sign in to leave a comment.
This fixes the problem:
https://github.com/dansanduleac/sbt-structure/commit/58565c4f0eb90e6ba85a8dbf0fdf445266aeb876
Thank you for the patch! We'll check it soon.