4.0.0 hbase-build-configuration org.apache.hbase 3.0.0-SNAPSHOT ../hbase-build-configuration hbase-thrift Apache HBase - Thrift HBase Thrift Server ${project.build.directory} hbase-webapps/** src/test/resources/META-INF/ META-INF/ LICENSE NOTICE true src/test/resources **/** org.apache.maven.plugins maven-site-plugin true maven-assembly-plugin true maven-antrun-plugin generate generate-sources run org.codehaus.mojo build-helper-maven-plugin jspcSource-packageInfo-source generate-sources add-source ${project.build.directory}/generated-sources/java org.apache.maven.plugins maven-source-plugin org.eclipse.m2e lifecycle-mapping org.apache.maven.plugins maven-antrun-plugin [1.6,) run org.apache.maven.plugins maven-dependency-plugin [2.8,) build-classpath org.apache.maven.plugins maven-compiler-plugin [3.2,) compile org.apache.hbase hbase-common jar org.apache.hbase hbase-annotations test-jar test org.apache.hbase hbase-protocol org.apache.hbase hbase-client org.apache.hbase.thirdparty hbase-shaded-miscellaneous commons-logging commons-logging commons-cli commons-cli commons-lang commons-lang commons-collections commons-collections org.apache.hbase hbase-server org.apache.hbase hbase-testing-util test org.apache.hbase hbase-hadoop-compat org.apache.hbase ${compat.module} ${project.version} org.apache.thrift libthrift org.slf4j slf4j-api org.eclipse.jetty jetty-server org.eclipse.jetty jetty-servlet org.eclipse.jetty jetty-jsp junit junit test org.eclipse.jetty jetty-http javax.servlet javax.servlet-api org.eclipse.jetty jetty-util apache-release org.apache.maven.plugins maven-resources-plugin license-javadocs prepare-package copy-resources ${project.build.directory}/apidocs src/main/javadoc/META-INF/ META-INF/ LICENSE NOTICE true skipThriftTests skipThriftTests true true compile-thrift org.apache.maven.plugins maven-enforcer-plugin enforce-thrift-version enforce thrift.version "The Thrift version must be specified." 0\.9\.3 - - [FATAL] ========================================================================================== [FATAL] HBase Thrift requires the thrift generator version 0.9.3. [FATAL] Setting it to something else needs to be reviewed for wire and behavior compatibility. [FATAL] ========================================================================================== - - true org.codehaus.mojo exec-maven-plugin ${exec.maven.version} check-thrift-version generate-sources exec sh ${basedir} -c ${thrift.path} -version | \ fgrep 'Thrift version ${thrift.version}' && exit 0; echo "========== [FATAL] Need Thrift version ${thrift.version} =========="; exit 1 thrift generate-sources exec ${thrift.path} ${basedir} -strict --gen java:hashcode -out ${basedir}/src/main/java ${basedir}/src/main/resources/org/apache/hadoop/hbase/thrift/Hbase.thrift thrift2 generate-sources exec ${thrift.path} ${basedir} -strict --gen java:hashcode -out ${basedir}/src/main/java ${basedir}/src/main/resources/org/apache/hadoop/hbase/thrift2/hbase.thrift hadoop-2.0 !hadoop.profile org.apache.hadoop hadoop-client com.google.guava guava org.apache.hadoop hadoop-mapreduce-client-core com.google.guava guava org.apache.hadoop hadoop-mapreduce-client-jobclient test-jar test com.google.guava guava org.apache.hadoop hadoop-common org.apache.hadoop hadoop-minicluster test com.google.guava guava maven-dependency-plugin create-mrapp-generated-classpath generate-test-resources build-classpath ${project.build.directory}/test-classes/mrapp-generated-classpath hadoop-3.0 hadoop.profile 3.0 3.0-SNAPSHOT org.apache.hadoop hadoop-common org.apache.hadoop hadoop-minicluster maven-dependency-plugin create-mrapp-generated-classpath generate-test-resources build-classpath ${project.build.directory}/test-classes/mrapp-generated-classpath