summaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authordoufenghu <[email protected]>2024-02-03 13:34:03 +0800
committerdoufenghu <[email protected]>2024-02-03 13:34:03 +0800
commit981dcc64dcbdda4921d8d1dc7735f3cb79211758 (patch)
treebdebc0eb500a1d682258bd7e80661907961d9a6b /pom.xml
parent39bb16dc96553d593f357d7e363690a89a70ee0f (diff)
add plugin Apache Maven ToolChains for jdk11
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index f2fb70a..376fb1a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -92,6 +92,27 @@
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-toolchains-plugin</artifactId>
+ <version>1.1</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>toolchain</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <toolchains>
+ <jdk>
+ <version>11</version>
+ <vendor>amazon</vendor>
+ </jdk>
+ </toolchains>
+ </configuration>
+ </plugin>
+
</plugins>