diff --git a/bin/generate-sources.sh b/bin/generate-sources.sh
index ae32970..65d7359 100755
--- a/bin/generate-sources.sh
+++ b/bin/generate-sources.sh
@@ -6,7 +6,7 @@ cd "${BASH_SOURCE%/*}/.."
TARGET=/build/target/generated-sources/thrift
-# use unstable for Thrift 0.17.0
+# use unstable for Thrift 0.19.0
docker run -v "${PWD}:/build" --rm debian:unstable /bin/sh -c "\
set -eux
apt-get update -q
@@ -14,7 +14,7 @@ apt-get install -q -y thrift-compiler
rm -rf $TARGET
mkdir -p $TARGET
thrift -o $TARGET \
- --gen java:private-members,fullcamel,generated_annotations=undated \
+ --gen java:private_members,fullcamel,sorted_containers,generated_annotations=suppress \
/build/src/main/thrift/hive_metastore.thrift
mv $TARGET/gen-java/io $TARGET
rmdir $TARGET/gen-java
diff --git a/pom.xml b/pom.xml
index 1aeb461..367f600 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
io.airlift
airbase
- 133
+ 146
io.trino.hive
@@ -31,16 +31,10 @@
-
- javax.annotation
- javax.annotation-api
- true
-
-
org.apache.thrift
libthrift
- 0.17.0
+ 0.19.0
@@ -56,11 +50,6 @@
org.apache.maven.plugins
maven-dependency-plugin
-
-
- javax.annotation:javax.annotation-api
-
-