> To add exclusions, I need to add the exclusion on the dependency that
> adds in the above?  For most of the above, it looks like hadoop is the
> includer.  I'd look at its pom and figure which hadoop component
> included the above and then add an exclusion in our pom on that
> dependency?

Yes, that's basically it. If the dependency you wan't to exclude is
not needed at all in HBase you can add the exclusion to the
dependencyManagement section in the main pom. Otherwise just add it to
the dependency section of the module in question.

You can look at the output of "mvn dependency:tree" but that isn't
very nice looking. A "mvn site" should build a similar report but I'm
not sure about the state of site generation at the moment. "mvn
dependency:analyze" might provide helpful information too. If you run
it in the main directory it'll output the reports for all the modules
inline so you need to scroll back to see what it says.

Lars

Reply via email to