From 2c1bf6e270f834ae464db2304f1f928061e680a1 Mon Sep 17 00:00:00 2001
From: Ivan Hetman <Ihromant@users.noreply.github.com>
Date: Sat, 22 Oct 2022 09:23:16 +0300
Subject: [PATCH] Enable build for Java 17 version (#631)

---
 pom.xml                    | 6 +++---
 tools/maven/plugin/pom.xml | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index ce55eac09..66fadbd14 100644
--- a/pom.xml
+++ b/pom.xml
@@ -95,13 +95,13 @@
     <maven-plugin-api.version>3.3.3</maven-plugin-api.version>
     <maven-plugin-annotations.version>3.3</maven-plugin-annotations.version>
 
-    <maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
+    <maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
     <maven-checkstyle-plugin.version>3.1.2</maven-checkstyle-plugin.version>
     <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
     <maven-source-plugin.version>3.2.1</maven-source-plugin.version>
     <maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version>
-    <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
-    <maven-shade-plugin.version>3.2.4</maven-shade-plugin.version>
+    <maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
+    <maven-shade-plugin.version>3.4.0</maven-shade-plugin.version>
     <maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
     <exec-maven-plugin.version>3.0.0</exec-maven-plugin.version>
     <wagon-ftp.version>3.4.3</wagon-ftp.version>
diff --git a/tools/maven/plugin/pom.xml b/tools/maven/plugin/pom.xml
index 2268e0f45..915bc1e54 100644
--- a/tools/maven/plugin/pom.xml
+++ b/tools/maven/plugin/pom.xml
@@ -77,7 +77,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-plugin-plugin</artifactId>
-        <version>3.6.0</version>
+        <version>3.6.4</version>
         <configuration>
           <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
           <goalPrefix>teavm</goalPrefix>