Ask a Question

soapui maven plugin and multi-module project

daniel_nitzan
New Contributor

soapui maven plugin and multi-module project

Hello,

I have several soapui-pro composite projects that are executed each by the soapui-pro maven plugin.
I want to be able to execute a maven process once, which will build all those projects.
For this purpose, I constructed a multi module maven project hierarchy, where all composite projects directories reside under one parent directory. Inside this parent directory is a parent pom.xml which defines inside the <modules> section all the composite projects.
Running the maven parent pom.xml results in the following error:
17:47:02,239 INFO [SoapUIProGroovyScriptEngineFactory] Setting Script Library to [C:\SoapUI\AutoTests\scripts]
. is not composite project directory.
java.io.FileNotFoundException:
at java.io.FileInputStream.open(Native Method)
AND THEN:

17:47:02,239 INFO [SoapUIProGroovyScriptEngineFactory] Setting Script Library to [C:\SoapUI\AutoTests\scripts]
. is not composite project directory.
java.io.FileNotFoundException:
at java.io.FileInputStream.open(Native Method)


It seems that soapui plugin tries to find projects on the parent directory.
Is there any way to change the working directory to the module being built?

Thanks

Daniel
1 REPLY 1
SmartBear_Suppo
SmartBear Alumni (Retired)

Hi Daniel,

Unfortunately I don't know.. maybe you could ask on the corresponding maven forum?

Couldn't you just include the name of the module in the path specification of the soapui project?

regards!

/Ole
SmartBear Software

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: