zakaka421
7 years agoOccasional Contributor
SoapUI Maven Project Properties POM not working
Hi all! I have setup my SoapUI (v5.4) project initially at first with properties defined at the project level and successfully pass them down to the test suites, no problem. I have set up maven o...
- 7 years ago
Update:
Finally figured it out. I moved the <configuration> tag in my pom.xml outside of the <execution> node but still within the <plugin> node like this:
<plugin> <groupId>com.smartbear.soapui</groupId> <artifactId>soapui-maven-plugin</artifactId> <version>5.4.0</version> <configuration> <projectFile>xxx-soapui-project.xml</projectFile> <printReport>true</printReport> <testFailIgnore>false</testFailIgnore> <projectProperties> <value>jdbcUsername=xxx</value> </projectProperties> </configuration> <dependencies> <dependency> <groupId>xxx</groupId> <artifactId>xxx</artifactId> <version>xxx</version> </dependency> </dependencies> <executions> <execution> <goals> <goal>test</goal> </goals> <phase>test</phase> </execution> </executions> </plugin>
After this, everything worked.
Documentation should be updated!!! Hope this helps others.
Thanks