scierniak
5 years agoOccasional Contributor
Does Ready api maven plugin support the toolchain ?
Hello,
I want to migrate my Maven project to ready-api-maven-plugin version 3.5.0 which needs JDK 12.
So I am wondering if plugin: com.smartbear:ready-api-maven-plugin:3.5.0 supports Maven toolchain to reference a jdk ? or if I can only do it through a change of JAVA_HOME path ?
https://maven.apache.org/guides/mini/guide-using-toolchains.html
using something like:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-toolchains-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<goals>
<goal>toolchain</goal>
</goals>
</execution>
</executions>
<configuration>
<toolchains>
<jdk>
<version>12</version>
<vendor>openJDK</vendor>
</jdk>
</toolchains>
</configuration>
</plugin>
Hi scierniak,
Thank you for your post. I'm not aware of any restrictions for using toolchains for the ReadyAPI Maven plugin, so, you can try this approach.
BTW, ReadyAPI now uses OpenJDK 15: https://support.smartbear.com/readyapi/docs/general-info/whats-new.html