4.0.0 hbase org.apache.hbase 2.1.0-SNAPSHOT ../.. hbase-shaded-with-hadoop-check-invariants pom Enforces our invariants for our shaded artifacts. e.g. shaded clients have a specific set of transitive dependencies and shaded clients only contain classes that are in particular packages. Does the enforcement through the maven-enforcer-plugin and integration test. Apache HBase Shaded Packaging Invariants (with Hadoop bundled) org.apache.hbase hbase-shaded-client ${project.version} com.github.stephenc.findbugs findbugs-annotations provided log4j log4j provided junit junit provided org.mockito mockito-core provided org.apache.maven.plugins maven-site-plugin true org.apache.maven.plugins maven-enforcer-plugin org.codehaus.mojo extra-enforcer-rules 1.0-beta-6 enforce-banned-dependencies enforce true org.slf4j:* log4j:* commons-logging:* com.google.code.findbugs:* com.github.stephenc.findbugs:* org.apache.htrace:* true org.apache.maven.plugins maven-resources-plugin test-resources pre-integration-test testResources org.apache.maven.plugins maven-dependency-plugin put-client-artifacts-in-a-property pre-integration-test build-classpath provided true hbase-client-artifacts org.codehaus.mojo exec-maven-plugin 1.6.0 make-sure-validation-files-are-in-sync validate exec diff false ../hbase-shaded-with-hadoop-check-invariants/src/test/resources/ensure-jars-have-correct-contents.sh ../hbase-shaded-check-invariants/src/test/resources/ensure-jars-have-correct-contents.sh check-jar-contents-for-stuff-with-hadoop integration-test exec ${shell-executable} ${project.build.testOutputDirectory} false ensure-jars-have-correct-contents.sh --allow-hadoop ${hbase-client-artifacts}