Hello,

I'm having trouble with shading, haven't had any successful answers at my
SO post at
http://stackoverflow.com/questions/39521622/getting-maven-transitive-shading-to-work
.

I have a problem where I have 2 Maven projects, A and B.

A depends on hbase-client which in turn depends on guava 12.0 which is not
compatible with later guava packages. B depends on A and also on guava
18.0, and on another package (curator-recipes) which uses guava 16.0.

So the dependencies are like this:

A -> hbase-client -> guava 12
B -> A
B -> guava 18
B -> curator-recipes -> guava 16

I can easily shade hbase-client within A's pom.xml and that works fine, but
I'm having trouble figuring out how to get that to work within B's pom.xml.
I want A's shaded classes to carry over to B. How do I do that?

Reply via email to