diff --git a/jitpack.yml b/jitpack.yml
new file mode 100644
index 00000000000..6b3e99122b7
--- /dev/null
+++ b/jitpack.yml
@@ -0,0 +1,8 @@
+before_install:
+ - mvn -version
+ - source "${HOME}/.sdkman/bin/sdkman-init.sh"
+ - sdk update
+ - sdk install java 17.0.12-tem
+ - sdk use java 17.0.12-tem
+ - sdk install maven 3.9.9
+ - sdk use maven 3.9.9
diff --git a/pom.xml b/pom.xml
index a16203b076d..c02f46b992b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -246,19 +246,6 @@
maven-surefire-plugin
3.1.0
-
-
- ${java.specification.version}
-
-Xmx1g
--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED
@@ -289,13 +276,6 @@
-
-
-
- toolchain
-
-
-