How to set SoapUI project properties via Maven command line
I have a few project properies in SoapUI project. I also have those project properties overridden in Maven pom.xml, for eg.
...
<projectProperties>
<value>propname1=propvalue1</value>
<value>propname2=propvalue2</value>
...
<value>propname9=propvalue9</value>
</projectProperties>
When running from command line using maven, SoapUI property values are overridden by the ones in Maven pom.xml, as expected.
I need to run SoapUI from command line using Maven but need to use the properties specified in SoapUI project, not Maven. Is there any way to specify these properties in Maven command line? If not, is there any other solution?
Versions:
SoapUI Pro 5.1.2
maven-soapui-pro-plugin 4.5.1
I also found a related post (http://forum.soapui.org/viewtopic.php?t=20839) and tried to use the flag -Dsoapui.projectProperties but have not been successful. Since exact syntax is not specified in the post, I tried many variations For eg: -
-Dsoapui.projectProperties.propname1.value="propvalue1"
-Dsoapui.projectProperties.proname1="propvalue1"