Forum Discussion

scierniak's avatar
scierniak
Occasional Contributor
5 years ago

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>