4.0.0 hbase org.apache.hbase 2.3.0-SNAPSHOT ../.. hbase-shaded-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 org.apache.hbase hbase-shaded-mapreduce ${project.version} org.apache.hbase hbase-shaded-client-byo-hadoop ${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 ${extra.enforcer.version} enforce-banned-dependencies enforce true org.slf4j:* log4j:* commons-logging:* com.google.code.findbugs:* com.github.stephenc.fingbugs:* com.github.spotbugs:* org.apache.htrace:* org.apache.hadoop:* 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-check-invariants/src/test/resources/ensure-jars-have-correct-contents.sh ../hbase-shaded-with-hadoop-check-invariants/src/test/resources/ensure-jars-have-correct-contents.sh check-jar-contents integration-test exec ${shell-executable} ${project.build.testOutputDirectory} false ensure-jars-have-correct-contents.sh ${hbase-client-artifacts}