4.0.0 org.apache.hadoop hadoop-project 3.5.0-SNAPSHOT ../../hadoop-project hadoop-client-check-invariants 3.5.0-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.5.1 enforce-banned-dependencies enforce org.apache.hadoop:hadoop-annotations org.slf4j:slf4j-api commons-logging:commons-logging log4j:log4j com.google.code.findbugs:jsr305 org.bouncycastle:* org.xerial.snappy:* 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} ensure-jars-have-correct-contents.sh ${hadoop-client-artifacts}