Fix stable-3.10 build
Update to set JDK17
Use correct plugin api version.
Change-Id: I8cd1e659a3069069f5036d124aa22f78e1810edd
diff --git a/pom.xml b/pom.xml
index 373052b..c4c316a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,10 +7,10 @@
<groupId>com.googlesource.gerrit.plugins</groupId>
<artifactId>ai-code-review</artifactId>
<packaging>jar</packaging>
- <version>3.11.0</version>
+ <version>3.10.0</version>
<properties>
<Gerrit-ApiType>plugin</Gerrit-ApiType>
- <Gerrit-ApiVersion>3.11.0-rc1</Gerrit-ApiVersion>
+ <Gerrit-ApiVersion>3.10.5</Gerrit-ApiVersion>
<maven.test.skip>false</maven.test.skip>
</properties>
<build>
@@ -43,7 +43,7 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
- <release>21</release>
+ <release>17</release>
<encoding>UTF-8</encoding>
</configuration>
</plugin>