kadir
4 years agoOccasional Contributor
maven integration
I was trying to integrate maven through pom and it didn't work so I installed packages manually, but when I run "mvn test" it is giving error "A required class was missing while executing com.smartbear:ready-api-maven-plugin:3.0.0:test: Lcom/eviware/soapui/support/MessageSupport;"
any help please?
<?xml version="1.0" encoding="UTF-8"?>
<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>org.automation</groupId>
<artifactId>automation</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
</properties>
<repositories>
<repository>
<id>com.teamdev</id>
<url>https://europe-maven.pkg.dev/jxbrowser/releases</url>
</repository>
</repositories>
<!-- Add the SmartBear ReadyAPI plugin repository. -->
<!-- Maven will download the plugin from the specified URL. -->
<pluginRepositories>
<pluginRepository>
<id>eviwarePluginRepository</id>
<url>http://www.soapui.org/repository/maven2/</url>
</pluginRepository>
<pluginRepository>
<id>SmartBearPluginRepository</id>
<url>http://smartbearsoftware.com/repository/maven2</url>
</pluginRepository>
</pluginRepositories>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>RELEASE</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui-maven-plugin</artifactId>
<version>5.0.0</version>
</dependency>
<dependency>
<groupId>eviware</groupId>
<artifactId>maven-soapui-plugin</artifactId>
<version>4.0.0</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<!-- Plugin groupID used to uniquely identify the project with the plugin. -->
<groupId>com.smartbear</groupId>
<!-- Plugin artifactId used to find the plugin in the project. -->
<artifactId>ready-api-maven-plugin</artifactId>
<!-- Specifies your ReadyAPI version. Maven will use the appropriate plugin version. -->
<!-- IMPORTANT: Must be the same as your ReadyAPI version. -->
<version>3.0.0</version>
<executions>
<execution>
<!-- Specifies the lifecycle phase to run ReadyAPI tests. -->
<!-- We recommend using the test phase. -->
<phase>test</phase>
<goals>
<!-- Do not change. Commands the Maven plugin to run a functional test. -->
<goal>test</goal>
</goals>
<configuration>
<!-- Required. Specifies the path to the project to execute. -->
<!-- For composite projects, specify the folder that contains the project. -->
<projectFile>AutoTest-readyapi-project.xml</projectFile>
<!-- Required for reports. -->
<!-- Only available in ReadyAPI Pro. -->
<!-- Sets the output folder for reports. -->
<outputFolder>${basedir}\target\surefire-reports</outputFolder>
<!-- Specifies the format of the report. Possible values: PDF, XLS, HTML, RTF, CSV, TXT and XML. -->
<reportFormat>PDF</reportFormat>
<!-- Specifies the folder to store reports in. -->
<!-- <reports>${basedir}\target\surefire-reports</reports>-->
<!-- Specifies the report type. Only available in ReadyAPI Pro. -->
<!-- Click Reporting on the ReadyAPI toolbar to find available reports. -->
<reportName>Project Report</reportName>
<!-- Commands Maven to create a printed report. -->
<printReport>true</printReport>
<!-- Provides access to ReadyAPI properties. -->
<readyApiProperties>
<property>
<!-- Required. A folder with ReadyAPI executable files. -->
<!-- Used to run a local installation of ReadyAPI. -->
<name>ReadyAPI</name>
<value>C:\per\ReadyAPI\ReadyAPI-3.0.0\bin</value>
</property>
</readyApiProperties>
<!-- ========= Additional elements ============= -->
<!-- Commands ReadyAPI to generate JUnit-style reports. -->
<junitReport>true</junitReport>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>