> is a problem. We excluded zookeeper from netflix-curator and hadoop, but > not from hbase. So when we use all 3 artifacts we receive zookeeper from > hbase, but when use only netflix-curator and hadoop we can lost needed > artifacts.
You should have a direct dependency on zookeeper if you are using it, and not just assume you will get it as a transitive dependency from hbase. What happens when hbase suddenly stops using zookeeper (even if this is wildly unlikely)? > And we would recognize it only when in Runtime we receive > "ClassNotFoundException". That's why I want to write an additional plugin > for this case. This plugin would check: if you have dependency on some > artifact, you should depend on artifacts, which were excluded from that > artifact. If you lost some artifact, you need to add it or configure an > exception. Have you looked at the dependency plugin, specifically the analyze mojo? https://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.html Wayne --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
