ValerieC
12 years agoNew Contributor
Override property on maven command - simple how to question
I've integrated my soapui project with the maven build http://www.soapui.org/Test-Automation/maven-2x.html and that works great. What I'm trying to do now is to pass in a value for the database connection string because it has the password associated with it and it is dynamic. I have a project level property called "dbConnection". I see there is a setting in the documentation for projectProperties but I don't know how to use it in the mvn command and I don't think my syntax is right. Here is the command I'm trying to use with some of the connection string removed for security reasons.
mvn eviware:maven-soapui-pro-plugin:test -Deviware.soapui.test.projectProperties.dbConnection=jdbc:postgres://localhost:5432...