I have a project which depends on two jars.
The first jar uses the package name com.acme.storage
.
The second jar provides some other functionality, but also depends on a third jar.
This third jar also uses the package name com.acme.storage
, and has classes whose names clash with those in the first jar.
I cannot change the package names in either the first or the third jar; can I compile the second jar so that it includes, but does not expose, the third jar?
I'm using sbt, so it would be helpful to know how do to do this with sbt too.