Forum Discussion
bmgriner
15 years agoFrequent Contributor
Figured this out.
I tried adding the relative url to my Script Library setting on the project level. It works when I run it in SoapUI, but not through the SoapUI maven plugin.
I tried adding a link to a configuration file, but when I use ${projectDir} with the script library path it does not seem to recognize that and just makes whatever is after the ${projectDir} the path.
I finally tried just putting the path scripts in my settings file instead of /scripts and it seems to take the relative path from the base of my project (the directory I am running maven from). From that I was able to modify the path appropriately.
I'm still curious what exactly the Script Library setting on the project level is for? It only seems to work when you are running SoapUI and not when you use the maven plugin.
I tried adding the relative url to my Script Library setting on the project level. It works when I run it in SoapUI, but not through the SoapUI maven plugin.
I tried adding a link to a configuration file, but when I use ${projectDir} with the script library path it does not seem to recognize that and just makes whatever is after the ${projectDir} the path.
I finally tried just putting the path scripts in my settings file instead of /scripts and it seems to take the relative path from the base of my project (the directory I am running maven from). From that I was able to modify the path appropriately.
I'm still curious what exactly the Script Library setting on the project level is for? It only seems to work when you are running SoapUI and not when you use the maven plugin.