update versions in POM as well
diff --git a/project-template.pom b/project-template.pom
index f3f7dc1..7d05426 100644
--- a/project-template.pom
+++ b/project-template.pom
@@ -51,12 +51,18 @@
     <dependency>
       <groupId>org.apache.commons</groupId>
       <artifactId>commons-compress</artifactId>
-      <version>1.14</version>
+      <version>1.16</version>
     </dependency>
     <dependency>
       <groupId>org.tukaani</groupId>
       <artifactId>xz</artifactId>
-      <version>1.6</version>
+      <version>1.8</version>
+    </dependency>
+    <dependency>
+      <groupId>com.github.luben</groupId>
+      <artifactId>zstd-jni</artifactId>
+      <version>1.3.3-1</version>
+      <optional>true</optional>
     </dependency>
     <dependency>
       <groupId>org.brotli</groupId>