Forum Discussion
soapuinoviceuse
11 years agoOccasional Contributor
Thanks for your reply.
I tried your suggestions and now I get the below error when I try to run the 'test' goal in pom.xml.
mvn com.github.redfish4ktc.soapui:maven-soapui-extension-plugin:test
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building app 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-soapui-extension-plugin:4.5.1.4:test (default-cli) @ app ---
[INFO] You are using maven-soapui-extension-plugin 4.5.1.4 (null; null)
[INFO] Soapui version: null
SoapUI Pro Maven2 TestCase Runner
[INFO] Setting soapui.junit.reportCollector value com.soapui.extension.JunitReportDump
2013-09-12 19:24:25,004 [main] WARN org.ktc.soapui.maven.extension.impl.report.ReportCollectorFactory - Failed to create JUnitReportCollector class [com.soapui.extension.JunitReportDump] so use the default one; error cause: java.lang.reflect.InvocationTargetException
After this error, my SOAPUI project ran successfully.
Also, this is how I have added my maven test project as a dependency for my plugin in pom.xml:
<dependency>
<groupId>test.app</groupId>
<artifactId>app</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>system</scope>
<systemPath>/Users/test/app/src/main/java/test/app/JunitReportDump.jar</systemPath>
</dependency>
Could you please have a look and let me know how I should proceed further.
Thanks.
I tried your suggestions and now I get the below error when I try to run the 'test' goal in pom.xml.
mvn com.github.redfish4ktc.soapui:maven-soapui-extension-plugin:test
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building app 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-soapui-extension-plugin:4.5.1.4:test (default-cli) @ app ---
[INFO] You are using maven-soapui-extension-plugin 4.5.1.4 (null; null)
[INFO] Soapui version: null
SoapUI Pro Maven2 TestCase Runner
[INFO] Setting soapui.junit.reportCollector value com.soapui.extension.JunitReportDump
2013-09-12 19:24:25,004 [main] WARN org.ktc.soapui.maven.extension.impl.report.ReportCollectorFactory - Failed to create JUnitReportCollector class [com.soapui.extension.JunitReportDump] so use the default one; error cause: java.lang.reflect.InvocationTargetException
After this error, my SOAPUI project ran successfully.
Also, this is how I have added my maven test project as a dependency for my plugin in pom.xml:
<dependency>
<groupId>test.app</groupId>
<artifactId>app</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>system</scope>
<systemPath>/Users/test/app/src/main/java/test/app/JunitReportDump.jar</systemPath>
</dependency>
Could you please have a look and let me know how I should proceed further.
Thanks.