JKowalczyk
13 years agoOccasional Contributor
Maven-Soaui-Pro-Plugin-4.5.1 problems
Hi,
I have installed the maven-soapui-pro-plugin as advised in http://www.soapui.org/Test-Automation/maven-2x.html
My pom.xml file contains the following:
<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.smartbear.samples</groupId>
<artifactId>soapui-maven2-plugin</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>Maven 2 soapUI Sample</name>
<url>http://maven.apache.org</url>
<pluginRepositories>
<pluginRepository>
<id>eviwarePluginRepository</id>
<url>http://www.eviware.com/repository/maven2/eviware/soapui-pro/4.5.1/</url>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>eviware</groupId>
<artifactId>maven-soapui-plugin</artifactId>
<version>4.5.1</version>
<configuration>
<projectFile>API-CIVITAS-EVENTS/Events-soapui-project.xml</projectFile>
<outputFolder>API-CIVITAS-EVENTS</outputFolder>
<host>"https://civdev1.civitas.testingnet.com/api/events"</host>
<junitReport>true</junitReport>
<printReport>true</printReport>
<exportAll>true</exportAll>
</configuration>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>xmlunit</groupId>
<artifactId>xmlunit</artifactId>
<version>1.3</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.2</version>
</dependency>
<dependency>
<groupId>jgoodies</groupId>
<artifactId>looks</artifactId>
<version>2.2.0</version>
<dependency>
<groupId>fife</groupId>
<artifactId>rsyntaxtextarea</artifactId>
<version>1.3.4</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>
when i run the command (mvn eviware:maven-soapui-plugin:test) from terminal, I am getting the following error:
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven 2 soapUI Sample 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-soapui-plugin:4.5.1:test (default-cli) @ soapui-maven2-plugin ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.305s
[INFO] Finished at: Thu Jul 19 15:23:27 BST 2012
[INFO] Final Memory: 2M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal eviware:maven-soapui-plugin:4.5.1:test (default-cli) on project soapui-maven2-plugin: Execution default-cli of goal eviware:maven-soapui-plugin:4.5.1:test failed: A required class was missing while executing eviware:maven-soapui-plugin:4.5.1:test: com/eviware/soapui/tools/SoapUITestCaseRunner
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>eviware:maven-soapui-plugin:4.5.1
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/Users/sneha/.m2/repository/eviware/maven-soapui-plugin/4.5.1/maven-soapui-plugin-4.5.1.jar
[ERROR] urls[1] = file:/Users/sneha/.m2/repository/xmlunit/xmlunit/1.3/xmlunit-1.3.jar
[ERROR] urls[2] = file:/Users/sneha/.m2/repository/junit/junit/4.8.2/junit-4.8.2.jar
[ERROR] urls[3] = file:/Users/sneha/.m2/repository/jgoodies/looks/2.2.0/looks-2.2.0.jar
[ERROR] urls[4] = file:/Users/sneha/.m2/repository/fife/rsyntaxtextarea/1.3.4/rsyntaxtextarea-1.3.4.jar
[ERROR] urls[5] = file:/Users/sneha/.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.tools.SoapUITestCaseRunner
[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/disp ... rException
Can you please let me know which class is missing ?
I have installed the maven-soapui-pro-plugin as advised in http://www.soapui.org/Test-Automation/maven-2x.html
My pom.xml file contains the following:
<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.smartbear.samples</groupId>
<artifactId>soapui-maven2-plugin</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>Maven 2 soapUI Sample</name>
<url>http://maven.apache.org</url>
<pluginRepositories>
<pluginRepository>
<id>eviwarePluginRepository</id>
<url>http://www.eviware.com/repository/maven2/eviware/soapui-pro/4.5.1/</url>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>eviware</groupId>
<artifactId>maven-soapui-plugin</artifactId>
<version>4.5.1</version>
<configuration>
<projectFile>API-CIVITAS-EVENTS/Events-soapui-project.xml</projectFile>
<outputFolder>API-CIVITAS-EVENTS</outputFolder>
<host>"https://civdev1.civitas.testingnet.com/api/events"</host>
<junitReport>true</junitReport>
<printReport>true</printReport>
<exportAll>true</exportAll>
</configuration>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>xmlunit</groupId>
<artifactId>xmlunit</artifactId>
<version>1.3</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.2</version>
</dependency>
<dependency>
<groupId>jgoodies</groupId>
<artifactId>looks</artifactId>
<version>2.2.0</version>
<dependency>
<groupId>fife</groupId>
<artifactId>rsyntaxtextarea</artifactId>
<version>1.3.4</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>
when i run the command (mvn eviware:maven-soapui-plugin:test) from terminal, I am getting the following error:
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven 2 soapUI Sample 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-soapui-plugin:4.5.1:test (default-cli) @ soapui-maven2-plugin ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.305s
[INFO] Finished at: Thu Jul 19 15:23:27 BST 2012
[INFO] Final Memory: 2M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal eviware:maven-soapui-plugin:4.5.1:test (default-cli) on project soapui-maven2-plugin: Execution default-cli of goal eviware:maven-soapui-plugin:4.5.1:test failed: A required class was missing while executing eviware:maven-soapui-plugin:4.5.1:test: com/eviware/soapui/tools/SoapUITestCaseRunner
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>eviware:maven-soapui-plugin:4.5.1
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/Users/sneha/.m2/repository/eviware/maven-soapui-plugin/4.5.1/maven-soapui-plugin-4.5.1.jar
[ERROR] urls[1] = file:/Users/sneha/.m2/repository/xmlunit/xmlunit/1.3/xmlunit-1.3.jar
[ERROR] urls[2] = file:/Users/sneha/.m2/repository/junit/junit/4.8.2/junit-4.8.2.jar
[ERROR] urls[3] = file:/Users/sneha/.m2/repository/jgoodies/looks/2.2.0/looks-2.2.0.jar
[ERROR] urls[4] = file:/Users/sneha/.m2/repository/fife/rsyntaxtextarea/1.3.4/rsyntaxtextarea-1.3.4.jar
[ERROR] urls[5] = file:/Users/sneha/.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.tools.SoapUITestCaseRunner
[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/disp ... rException
Can you please let me know which class is missing ?