Forum Discussion

larsn's avatar
larsn
Contributor
10 years ago

How to run single SoapUI project from maven

I've seen posts on how to run a single Test Suite from maven but none on how to run a single project when your pom has multiple projects defined.
Anyone know what the command line arguments would need to be to run a single SoapUI project from maven?

3 Replies

  • We run multiple soapui projects during a test execution run. In terms of the pom xml, we have multiple execution elements for the soapui-pro-maven-plugin, one for each soapui project that we run. We have tests, divided into separate soapui projects because this makes managing the tests easier.
  • redfish4ktc2's avatar
    redfish4ktc2
    Super Contributor
    larsn can you provide an example or extract of your pom and what you would like to do (or what you would like to pass as command line argument)?
    You want to run only one project as part of the regular maven lifecycle or you want to run the project as a single task of the build?