13 years ago
does maven integration with soapui even work?
Hi,
I haven't been able to get soapui to integrate with maven at all. I've looked at dozens of forum posts and most seem either unresolved or the solution didn't apply to my scenario. I'm including my pom.xml and the maven command output. I've tried with the soapui maven pro and non pro plugin.
OUTPUT: of maven command: mvn eviware:maven-soapui-pro-plugin:test
I haven't been able to get soapui to integrate with maven at all. I've looked at dozens of forum posts and most seem either unresolved or the solution didn't apply to my scenario. I'm including my pom.xml and the maven command output. I've tried with the soapui maven pro and non pro plugin.
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<!--
<groupId>com.mint.api.ci</groupId>
<artifactId>mintapici</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>mintapici</name>
<url>http://maven.apache.org</url>
-->
<groupId>SoapUIPro</groupId>
<artifactId>sogwiz</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>Maven 2 soapUI</name>
<url>http://repo.maven.apache.org/maven2/org/apache/maven/plugins/</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<!--Add the repository for where Maven can find the soapUI Plugin-->
<pluginRepositories>
<pluginRepository>
<id>eviwarePluginRepository</id>
<!-- <url>http://www.eviware.com/repository/maven2/</url> -->
<url>http://www.soapui.org/repository/maven2/</url>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>eviware</groupId>
<artifactId>maven-soapui-pro-plugin</artifactId>
<!--This is the version of soapUI to grab from plugin repo-->
<!--At the time of writing the 3.0.1 plugin had not been created-->
<version>4.5.1</version>
<configuration>
<!--The location of your soapUI setting file-->
<projectFile>/Users/sbenjamin/dev/svn/trunk/QA/soapui-projects/api/mintapici/sogwiz-soapui-project.xml</projectFile>
<!--Where to place the output of the run-->
<outputFolder>/Users/sbenjamin/dev/svn/trunk/QA/soapui-projects/api/mintapici/output</outputFolder>
<!--Make the jUnit results file-->
<junitReport>true</junitReport>
</configuration>
<executions>
<execution>
<id>soapUI</id>
<!--Run as part of the test phase in the Maven lifecycle-->
<phase>test</phase>
<goals>
<!--Run the test phase of eviware:maven-soapui-plugin-->
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.4</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>jgoodies</groupId>
<artifactId>looks</artifactId>
<version>2.2.0</version>
</dependency>
<!--
<dependency>
<groupId>fife</groupId>
<artifactId>rsyntaxtextarea</artifactId>
<version>1.3.4</version>
</dependency>
-->
</dependencies>
</project>
OUTPUT: of maven command: mvn eviware:maven-soapui-pro-plugin:test
MTVL08W009701:mintapici sbenjamin$ mvn eviware:maven-soapui-pro-plugin:test
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven 2 soapUI 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-soapui-pro-plugin:4.5.1:test (default-cli) @ sogwiz ---
[WARNING] The POM for jxl:jxl:jar:2.6.12 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for idw:idw:jar:1.6.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for eviware:soapui-xmlbeans:jar:4.5.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for eviware:soapui-coverage-xmlbeans:jar:4.5.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for eviware:ext-xmlbeans:jar:1.2 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for eviware:policy-xmlbeans:jar:1.5 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for eviware:soap-xmlbeans:jar:1.2 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for eviware:wadl-xmlbeans:jar:1.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for eviware:j2ee-xmlbeans:jar:1.4 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for saxon:saxon:jar:9.1.0.8j is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for saxon:saxon-dom:jar:9.1.0.8j is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for xml-security:xmlsec:jar:1.4.3 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for wss4j:wss4j:jar:1.5.8 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for opensaml:opensaml:jar:1.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for jtidy:jtidy:jar:r872-jdk15 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for jfreechart:jfreechart:jar:1.0.13 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for jfreechart:jcommon:jar:1.0.16 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for hermesjms:hermes:jar:1.14 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for amf:flex-messaging-common:jar:1.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for amf:flex-messaging-core:jar:1.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for amf:flex-messaging-opt:jar:1.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for amf:flex-messaging-proxy:jar:1.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for amf:flex-messaging-remoting:jar:1.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for thoughtworks:xstream:jar:1.3.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for jgoodies:looks:jar:2.2.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.830s
[INFO] Finished at: Thu Jul 18 12:33:32 PDT 2013
[INFO] Final Memory: 7M/132M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal eviware:maven-soapui-pro-plugin:4.5.1:test (default-cli) on project sogwiz: Execution default-cli of goal eviware:maven-soapui-pro-plugin:4.5.1:test failed: A required class was missing while executing eviware:maven-soapui-pro-plugin:4.5.1:test: com/eviware/soapui/SoapUIProTestCaseRunner
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>eviware:maven-soapui-pro-plugin:4.5.1
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/Users/sbenjamin/.m2/repository/eviware/maven-soapui-pro-plugin/4.5.1/maven-soapui-pro-plugin-4.5.1.jar
[ERROR] urls[1] = file:/Users/sbenjamin/.m2/repository/eviware/soapui-pro/4.5.1/soapui-pro-4.5.1.jar
[ERROR] urls[2] = file:/Users/sbenjamin/.m2/repository/eviware/soapui/4.5.1/soapui-4.5.1.jar
[ERROR] urls[3] = file:/Users/sbenjamin/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar
[ERROR] urls[4] = file:/Users/sbenjamin/.m2/repository/javax/mail/mail/1.4/mail-1.4.jar
[ERROR] urls[5] = file:/Users/sbenjamin/.m2/repository/wsdl4j/wsdl4j/1.6.2-fixed/wsdl4j-1.6.2-fixed.jar
[ERROR] urls[6] = file:/Users/sbenjamin/.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar
[ERROR] urls[7] = file:/Users/sbenjamin/.m2/repository/opencsv/opencsv/1.8/opencsv-1.8.jar
[ERROR] urls[8] = file:/Users/sbenjamin/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
[ERROR] urls[9] = file:/Users/sbenjamin/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
[ERROR] urls[10] = file:/Users/sbenjamin/.m2/repository/commons-lang/commons-lang/2.5/commons-lang-2.5.jar
[ERROR] urls[11] = file:/Users/sbenjamin/.m2/repository/commons-io/commons-io/1.3.2/commons-io-1.3.2.jar
[ERROR] urls[12] = file:/Users/sbenjamin/.m2/repository/commons-ssl/not-yet-commons-ssl/0.3.11/not-yet-commons-ssl-0.3.11.jar
[ERROR] urls[13] = file:/Users/sbenjamin/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar
[ERROR] urls[14] = file:/Users/sbenjamin/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
[ERROR] urls[15] = file:/Users/sbenjamin/.m2/repository/json/json-lib/2.2.2-jdk15/json-lib-2.2.2-jdk15.jar
[ERROR] urls[16] = file:/Users/sbenjamin/.m2/repository/ezmorph/ezmorph/1.0.5/ezmorph-1.0.5.jar
[ERROR] urls[17] = file:/Users/sbenjamin/.m2/repository/xom/xom/1.1/xom-1.1.jar
[ERROR] urls[18] = file:/Users/sbenjamin/.m2/repository/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.jar
[ERROR] urls[19] = file:/Users/sbenjamin/.m2/repository/jaxen/jaxen/1.1-beta-8/jaxen-1.1-beta-8.jar
[ERROR] urls[20] = file:/Users/sbenjamin/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar
[ERROR] urls[21] = file:/Users/sbenjamin/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
[ERROR] urls[22] = file:/Users/sbenjamin/.m2/repository/swingx/swingx/soapui/swingx-soapui.jar
[ERROR] urls[23] = file:/Users/sbenjamin/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar
[ERROR] urls[24] = file:/Users/sbenjamin/.m2/repository/groovy/groovy-all/1.8.0/groovy-all-1.8.0.jar
[ERROR] urls[25] = file:/Users/sbenjamin/.m2/repository/rhino/js/1.7R2/js-1.7R2.jar
[ERROR] urls[26] = file:/Users/sbenjamin/.m2/repository/jetty/jetty/6.1.26/jetty-6.1.26.jar
[ERROR] urls[27] = file:/Users/sbenjamin/.m2/repository/jetty/jetty-util/6.1.26/jetty-util-6.1.26.jar
[ERROR] urls[28] = file:/Users/sbenjamin/.m2/repository/jetty/servlet-api/2.5-20081211/servlet-api-2.5-20081211.jar
[ERROR] urls[29] = file:/Users/sbenjamin/.m2/repository/jxl/jxl/2.6.12/jxl-2.6.12.jar
[ERROR] urls[30] = file:/Users/sbenjamin/.m2/repository/idw/idw/1.6.1/idw-1.6.1.jar
[ERROR] urls[31] = file:/Users/sbenjamin/.m2/repository/xmlbeans/xbean/fixed-2.4.0/xbean-fixed-2.4.0.jar
[ERROR] urls[32] = file:/Users/sbenjamin/.m2/repository/xmlbeans/xbean_xpath/2.4.0/xbean_xpath-2.4.0.jar
[ERROR] urls[33] = file:/Users/sbenjamin/.m2/repository/xmlbeans/xmlpublic/2.4.0/xmlpublic-2.4.0.jar
[ERROR] urls[34] = file:/Users/sbenjamin/.m2/repository/xmlbeans/jsr173/xmlbeans-2.4.0/jsr173-xmlbeans-2.4.0.jar
[ERROR] urls[35] = file:/Users/sbenjamin/.m2/repository/eviware/soapui-xmlbeans/4.5.1/soapui-xmlbeans-4.5.1.jar
[ERROR] urls[36] = file:/Users/sbenjamin/.m2/repository/eviware/soapui-coverage-xmlbeans/4.5.1/soapui-coverage-xmlbeans-4.5.1.jar
[ERROR] urls[37] = file:/Users/sbenjamin/.m2/repository/eviware/ext-xmlbeans/1.2/ext-xmlbeans-1.2.jar
[ERROR] urls[38] = file:/Users/sbenjamin/.m2/repository/eviware/policy-xmlbeans/1.5/policy-xmlbeans-1.5.jar
[ERROR] urls[39] = file:/Users/sbenjamin/.m2/repository/eviware/soap-xmlbeans/1.2/soap-xmlbeans-1.2.jar
[ERROR] urls[40] = file:/Users/sbenjamin/.m2/repository/eviware/wadl-xmlbeans/1.1/wadl-xmlbeans-1.1.jar
[ERROR] urls[41] = file:/Users/sbenjamin/.m2/repository/eviware/j2ee-xmlbeans/1.4/j2ee-xmlbeans-1.4.jar
[ERROR] urls[42] = file:/Users/sbenjamin/.m2/repository/saxon/saxon/9.1.0.8j/saxon-9.1.0.8j.jar
[ERROR] urls[43] = file:/Users/sbenjamin/.m2/repository/saxon/saxon-dom/9.1.0.8j/saxon-dom-9.1.0.8j.jar
[ERROR] urls[44] = file:/Users/sbenjamin/.m2/repository/xmlunit/xmlunit/1.2/xmlunit-1.2.jar
[ERROR] urls[45] = file:/Users/sbenjamin/.m2/repository/junit/junit/4.4/junit-4.4.jar
[ERROR] urls[46] = file:/Users/sbenjamin/.m2/repository/xml-security/xmlsec/1.4.3/xmlsec-1.4.3.jar
[ERROR] urls[47] = file:/Users/sbenjamin/.m2/repository/xalan/xalan/2.7.1/xalan-2.7.1.jar
[ERROR] urls[48] = file:/Users/sbenjamin/.m2/repository/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar
[ERROR] urls[49] = file:/Users/sbenjamin/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar
[ERROR] urls[50] = file:/Users/sbenjamin/.m2/repository/xalan/serializer/2.7.1/serializer-2.7.1.jar
[ERROR] urls[51] = file:/Users/sbenjamin/.m2/repository/wss4j/wss4j/1.5.8/wss4j-1.5.8.jar
[ERROR] urls[52] = file:/Users/sbenjamin/.m2/repository/opensaml/opensaml/1.1/opensaml-1.1.jar
[ERROR] urls[53] = file:/Users/sbenjamin/.m2/repository/bouncycastle/bcprov-jdk15/144/bcprov-jdk15-144.jar
[ERROR] urls[54] = file:/Users/sbenjamin/.m2/repository/jtidy/jtidy/r872-jdk15/jtidy-r872-jdk15.jar
[ERROR] urls[55] = file:/Users/sbenjamin/.m2/repository/net-components/netcomponents/1.3.8a/netcomponents-1.3.8a.jar
[ERROR] urls[56] = file:/Users/sbenjamin/.m2/repository/commons-digester/commons-digester/1.7/commons-digester-1.7.jar
[ERROR] urls[57] = file:/Users/sbenjamin/.m2/repository/jasperreports/jasperreports/4.0.2/jasperreports-4.0.2.jar
[ERROR] urls[58] = file:/Users/sbenjamin/.m2/repository/jfree/jcommon/1.0.15/jcommon-1.0.15.jar
[ERROR] urls[59] = file:/Users/sbenjamin/.m2/repository/jfree/jfreechart/1.0.12/jfreechart-1.0.12.jar
[ERROR] urls[60] = file:/Users/sbenjamin/.m2/repository/eclipse/jdtcore/3.1.0/jdtcore-3.1.0.jar
[ERROR] urls[61] = file:/Users/sbenjamin/.m2/repository/com/lowagie/itext/2.1.7/itext-2.1.7.jar
[ERROR] urls[62] = file:/Users/sbenjamin/.m2/repository/bouncycastle/bcmail-jdk14/138/bcmail-jdk14-138.jar
[ERROR] urls[63] = file:/Users/sbenjamin/.m2/repository/bouncycastle/bcprov-jdk14/138/bcprov-jdk14-138.jar
[ERROR] urls[64] = file:/Users/sbenjamin/.m2/repository/org/bouncycastle/bctsp-jdk14/1.38/bctsp-jdk14-1.38.jar
[ERROR] urls[65] = file:/Users/sbenjamin/.m2/repository/org/bouncycastle/bcprov-jdk14/1.38/bcprov-jdk14-1.38.jar
[ERROR] urls[66] = file:/Users/sbenjamin/.m2/repository/org/bouncycastle/bcmail-jdk14/1.38/bcmail-jdk14-1.38.jar
[ERROR] urls[67] = file:/Users/sbenjamin/.m2/repository/jfreechart/jfreechart/1.0.13/jfreechart-1.0.13.jar
[ERROR] urls[68] = file:/Users/sbenjamin/.m2/repository/jfreechart/jcommon/1.0.16/jcommon-1.0.16.jar
[ERROR] urls[69] = file:/Users/sbenjamin/.m2/repository/javax/jms/jms/1.1/jms-1.1.jar
[ERROR] urls[70] = file:/Users/sbenjamin/.m2/repository/hermesjms/hermes/1.14/hermes-1.14.jar
[ERROR] urls[71] = file:/Users/sbenjamin/.m2/repository/amf/flex-messaging-common/1.0/flex-messaging-common-1.0.jar
[ERROR] urls[72] = file:/Users/sbenjamin/.m2/repository/amf/flex-messaging-core/1.0/flex-messaging-core-1.0.jar
[ERROR] urls[73] = file:/Users/sbenjamin/.m2/repository/amf/flex-messaging-opt/1.0/flex-messaging-opt-1.0.jar
[ERROR] urls[74] = file:/Users/sbenjamin/.m2/repository/amf/flex-messaging-proxy/1.0/flex-messaging-proxy-1.0.jar
[ERROR] urls[75] = file:/Users/sbenjamin/.m2/repository/amf/flex-messaging-remoting/1.0/flex-messaging-remoting-1.0.jar
[ERROR] urls[76] = file:/Users/sbenjamin/.m2/repository/thoughtworks/xstream/1.3.1/xstream-1.3.1.jar
[ERROR] urls[77] = file:/Users/sbenjamin/.m2/repository/jgoodies/looks/2.2.0/looks-2.2.0.jar
[ERROR] urls[78] = file:/Users/sbenjamin/.m2/repository/fife/rsyntaxtextarea/1.3.4/rsyntaxtextarea-1.3.4.jar
[ERROR] urls[79] = file:/Users/sbenjamin/.m2/repository/org/apache/httpcomponents/httpclient/4.1.1/httpclient-4.1.1.jar
[ERROR] urls[80] = file:/Users/sbenjamin/.m2/repository/org/apache/httpcomponents/httpmime/4.1.1/httpmime-4.1.1.jar
[ERROR] urls[81] = file:/Users/sbenjamin/.m2/repository/org/apache/httpcomponents/httpclient-cache/4.1.1/httpclient-cache-4.1.1.jar
[ERROR] urls[82] = file:/Users/sbenjamin/.m2/repository/org/apache/httpcomponents/httpcore/4.1.1/httpcore-4.1.1.jar
[ERROR] urls[83] = file:/Users/sbenjamin/.m2/repository/org/apache/httpcomponents/httpcore-nio/4.1.1/httpcore-nio-4.1.1.jar
[ERROR] urls[84] = file:/Users/sbenjamin/.m2/repository/org/samba/jcifs/jcifs/1.2.9/jcifs-1.2.9.jar
[ERROR] urls[85] = file:/Users/sbenjamin/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------: com.eviware.soapui.SoapUIProTestCaseRunner
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException