add toolchain plugin to the pom

This commit is contained in:
Roberto Cirillo 2022-09-21 12:19:06 +02:00
parent 0348121802
commit 422b78ce93
1 changed files with 21 additions and 1 deletions

20
pom.xml
View File

@ -314,6 +314,26 @@
<target>${maven.compiler.target}</target>
</configuration>
</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>1.8</version>
<vendor>openjdk</vendor>
</jdk>
</toolchains>
</configuration>
</plugin>
<!-- SA Plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>