From 24604b2db4353d00c70644bb4d915e8a294941b1 Mon Sep 17 00:00:00 2001
From: Simon Rettberg
Date: Tue, 22 Oct 2019 14:46:54 +0200
Subject: Add javax.annotation.Generated dependency for Java 9
---
pom.xml | 6 ++++++
thrift-compile.sh | 1 +
2 files changed, 7 insertions(+)
diff --git a/pom.xml b/pom.xml
index 3f867de..32b6675 100644
--- a/pom.xml
+++ b/pom.xml
@@ -86,6 +86,12 @@
0.9.3
compile
+
+ javax.annotation
+ javax.annotation-api
+ 1.3.2
+ compile
+
junit
junit
diff --git a/thrift-compile.sh b/thrift-compile.sh
index c47cc86..6c75de1 100755
--- a/thrift-compile.sh
+++ b/thrift-compile.sh
@@ -30,6 +30,7 @@ if thrift --gen java src/main/thrift/bwlp.thrift; then
bn=$(basename "$file")
[ -e "gen-java/org/openslx/bwlp/thrift/iface/$bn" ] || git rm "$file"
done
+ [ -e gen-java ] && rm -r gen-java
fi
echo "All done!"
--
cgit v1.2.3-55-g7522