smartbear90211
10 years agoOccasional Contributor
"No valid SoapUI NG license exists." using Maven plugin
I updated an old Maven plugin from SoapUi 5.1 to ReadyApi 1.4:
<groupId>com.smartbear</groupId> <artifactId>ready-api-maven-plugin</artifactId> <version>1.4.1</version>
Building with Jenkins I see this warning in the logs:
06:21:40,343 WARN [ReadyApiPaths] System property 'soapui.home' is not set! Using this directory instead: .
Where do I have to set this property?
Edit: Okay, I figured that one out: Use this line in Jenkins:
clean integration-test -Dsoapui.home='/var/jenkins_home/.soapui'
Now, I see this error:
No valid SoapUI NG license exists. Do you want to install a license? [y/N]: [ERROR] java.util.NoSuchElementException
I placed the activated license file (soapui.key) in /var/jenkins_home/.soapui on Jenkins. How can I specify that the plugin should search the license there? Obviously, it doesn't since soapui.home is set.
Note that Readyapi is not installed on Jenkins as we do not have access to it and with the previous version (soapui-maven-plugin) it was not necessary to have Soapui installed on Jenkins.