Forum Discussion

daniel_nitzan's avatar
daniel_nitzan
New Contributor
13 years ago

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

  • SmartBear_Suppo's avatar
    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