4.0.0 org.apache.hadoop hadoop-project 3.1.4-SNAPSHOT ../../hadoop-project hadoop-client-check-invariants 3.1.4-SNAPSHOT pom Enforces our invariants for the api and runtime 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 org.apache.hadoop hadoop-client-api org.apache.hadoop hadoop-client-runtime 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 com.google.code.findbugs:jsr305 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 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}