Ask a Question

Does Ready api maven plugin support the toolchain ?

SOLVED
scierniak
Occasional 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>

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Nastya_Khovrina
Moderator

Re: Does Ready api maven plugin support the toolchain ?

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

View solution in original post

1 REPLY 1
Nastya_Khovrina
Moderator

Re: Does Ready api maven plugin support the toolchain ?

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

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: