commit a4f2985fe12b73569623986a8fcec43bb7f23ef4 Author: Alan Gates Date: Thu Oct 19 14:16:13 2017 -0700 HIVE-17839 Cannot generate thrift definitions in standalone-metastore diff --git standalone-metastore/pom.xml standalone-metastore/pom.xml index 9cfc95ef5b..deaa82c454 100644 --- standalone-metastore/pom.xml +++ standalone-metastore/pom.xml @@ -45,6 +45,10 @@ ${project.build.directory}/warehouse file:// + + 1.0b3 + 1.7 + 3.5.2 0.8.0.RELEASE @@ -69,7 +73,14 @@ 1.10.19 2.5.0 3.0.0-SNAPSHOT + + + you-must-set-this-to-run-thrift + ${basedir}/src/gen/thrift + -I ${thrift.home} --gen java:beans,hashcode,generated_annotations=undated --gen cpp --gen php --gen py --gen rb + + com.fasterxml.jackson.core @@ -248,6 +259,40 @@ + org.apache.maven.plugins + maven-antrun-plugin + + + generate-thrift-sources + generate-sources + + + + + + + + + + + + + + + + + + + + + + run + + + + + com.google.code.maven-replacer-plugin replacer 1.5.3 @@ -287,6 +332,29 @@ + + + + + org.apache.maven.plugins + maven-antrun-plugin + ${maven.antrun.plugin.version} + + + ant-contrib + ant-contrib + ${ant.contrib.version} + + + ant + ant + + + + + + + @@ -431,29 +499,6 @@ ${basedir}/src/main/java - - org.apache.maven.plugins - maven-antrun-plugin - - - generate-version-annotation - generate-sources - - - - - - - - - - - - run - - - - diff --git metastore/src/gen/thrift/gen-py/__init__.py standalone-metastore/src/gen/thrift/gen-py/__init__.py similarity index 100% rename from metastore/src/gen/thrift/gen-py/__init__.py rename to standalone-metastore/src/gen/thrift/gen-py/__init__.py