How do I set a project property through the maven command line?
I'm using the maven-soapui-extension-plugin and I'm trying to figure out a way to run all the tests in a project with a specific tag. I couldn't find a way to do this with the built in tagging feature (at least not through maven) so I've created a project property that I want to be able to set through the maven command line so I can have all the other tests cross check against this property to determine whether they should execute or not.
I've setup the project property in the pom.xml like this:
<projectProperties>
<projectProperty>testExecution="Smoke_Test"</projectProperty>
</projectProperties>
I also created a custom project property through the UI using the custom project properties and left the value blank so it could be replaced with this. However, even without adding a flag in the command line the pom.xml is not changing the property to Smoke_Test for me. I figure I've done something wrong but I can't seem to get it to work. I'm also not sure how to change the property through maven, from what I've read here on other posts the command has to use -Dsoapui.projectProperties. How do I actually use this? Is it just -Dsoapui.projectProperties.testExecution="tag_i_want"?
Thanks.
K M