Forum Discussion
parxier
15 years agoOccasional Contributor
Thanks, mlenosgrande.
Another option would be adding dependencies element to soapUI maven plugin execution. From the POM reference:
In this particular case I packed updated soapui-log4j.xml into soapUILog4jConfig.jar and uploaded it into my maven repo, then in pom I added:
Notice that new dependencies element added.
Thanks to Magne from Stackoverflow.
Another option would be adding dependencies element to soapUI maven plugin execution. From the POM reference:
Additional dependencies that this project needs to introduce to the plugin's classloader.
In this particular case I packed updated soapui-log4j.xml into soapUILog4jConfig.jar and uploaded it into my maven repo, then in pom I added:
<plugin>
<groupId>eviware</groupId>
<artifactId>maven-soapui-plugin</artifactId>
<version>3.6.1</version>
<configuration>
<settingsFile>${basedir}/src/test/resources/soapui-settings.xml</settingsFile>
<projectFile>${basedir}/src/test/resources/sifWS-soapui-project.xml</projectFile>
<outputFolder>${project.build.directory}/soapui-output</outputFolder>
<printReport>true</printReport>
<junitReport>true</junitReport>
<exportAll>true</exportAll>
<soapuiProperties>
<property>
<name>soapui.logroot</name>
<value>${project.build.directory}/soapui-logs/</value>
</property>
</soapuiProperties>
</configuration>
<dependencies>
<dependency>
<groupId>com.company</groupId>
<artifactId>soapUILog4jConfig</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>
</plugin>
Notice that new dependencies element added.
Thanks to Magne from Stackoverflow.