How do I add jdbc driver to the ready-api-maven-plugin?
I have created a ReadyAPI project that has a test that connects to a database that I want to run with maven. I was trying the following plugin setup but it doesn't seem to find the JDBC driver.
<plugin>
<groupId>com.smartbear</groupId>
<artifactId>ready-api-maven-plugin</artifactId>
<version>2.3.0</version>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<projectFile>${basedir}/src/test/soapui/session-readyapi-project.xml</projectFile>
<junitReport>true</junitReport>
<reports>${basedir}/target/surefire-reports</reports>
<outputFolder>${basedir}/target/surefire-reports</outputFolder>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>mysql</groupId>
</dependency>
</dependencies>
</plugin>
Would anyone know how to add additional libraries to the maven plugin?
Now if I add a soapui.home directory and put the same jdbc driver in $SOAPUI_HOME/bin/ext the tests pass without error. This is a solution, but I would like to be able to allow developers and testers to only have a vanilla ReadyAPI installation and if additional jars are required for testing for them to be able to use them through the dependency mechanism in Maven.
Thanks