4.0.0 org.apache.hadoop hadoop-project 3.3.0-SNAPSHOT ../../hadoop-project hadoop-client-check-test-invariants 3.3.0-SNAPSHOT pom Enforces our invariants for the test client modules. E.g. that modules have a specific set of transitive dependencies and shaded artifacts only contain classes that are in particular packages. Does the enforcement through the maven-enforcer-plugin and an integration test. Apache Hadoop Client Packaging Invariants for Test org.apache.hadoop hadoop-client-api org.apache.hadoop hadoop-client-runtime org.apache.hadoop hadoop-client-minicluster org.apache.maven.plugins maven-enforcer-plugin org.codehaus.mojo extra-enforcer-rules 1.0-beta-3 enforce-banned-dependencies enforce org.apache.hadoop:hadoop-annotations org.apache.htrace:htrace-core4 org.slf4j:slf4j-api commons-logging:commons-logging log4j:log4j junit:junit org.hamcrest:hamcrest-core com.google.code.findbugs:jsr305 org.bouncycastle:* true org.apache.hadoop hadoop-annotations * 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 hadoop-client-api,hadoop-client-runtime true hadoop-client-artifacts org.codehaus.mojo exec-maven-plugin check-jar-contents integration-test exec ${shell-executable} ${project.build.testOutputDirectory} false ensure-jars-have-correct-contents.sh ${hadoop-client-artifacts}