Forum Discussion

madiharehman's avatar
madiharehman
Occasional Contributor
3 years ago
Solved

Getting error while trying to run SoapUI tests using Maven

Hi,

 

I am getting below error. searched the answers and hence added the depedencies in my pom.xml. The thing is when checked the URL from where it is downloading depedencies SoapUI is not mentioned there and only ReadyAPI is there.

 

[ERROR] Plugin com.smartbear.soapui:soapui-maven-plugin:5.3.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.smartbear.soapui:soapui-maven-plugin:jar:5.3.0: Could not transfer artifact com.smartbear.soapui:soapui-maven-plugin:pom:5.3.0 from/to maven-default-http-blocker (http://0.0.0.0/😞 Blocked mirror for repositories: [smartbear-sweden-plugin-repository (http://www.soapui.org/repository/maven2/, default, releases+snapshots)] -> [Help 1]

 

 

 

https://repo.maven.apache.org/maven2/com/smartbear/

 

 

My pom.xml: AndyG 

 

 

<?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.example</groupId>
<artifactId>API-Tests</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>API Tests</name>

<pluginRepositories>
<pluginRepository>
<id>smartbear-sweden-plugin-repository</id>
<url>http://www.soapui.org/repository/maven2/</url>
</pluginRepository>
</pluginRepositories>

<build>
<plugins>
<plugin>
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui-maven-plugin</artifactId>
<version>5.3.0</version>
<configuration>
</configuration>
<dependencies>
<dependency>
<groupId>com.jgoodies</groupId>
<artifactId>forms</artifactId>
<version>1.0.7</version>
</dependency>
</dependencies>

<executions>
<execution>
<id>SoapUI Tests</id>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<globalProperties>
<!-- <value>ENV=TEST</value>-->
</globalProperties>
<projectFile>src/test/SoapUI/tests-soapui-project.xml</projectFile>
<outputFolder>${basedir}/target/SoapUI-Report</outputFolder>
<junitReport>true</junitReport>
<exportAll>true</exportAll>
<printReport>true</printReport>
<!-- <environment>DEV</environment>-->
<testFailIgnore>false</testFailIgnore>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

 

4 Replies

  • madiharehman's avatar
    madiharehman
    Occasional Contributor

    Shashavali

    Thanks it was able to resolve the dependency. But I am still getting below error.

    Regards,

    Madiha

  • madiharehman's avatar
    madiharehman
    Occasional Contributor

    I was able to resolve the last issue by adding reflections plugin.

    <dependency>
    <groupId>org.reflections</groupId>
    <artifactId>reflections</artifactId>
    <version>0.9.9-RC1</version>
    </dependency>
    <dependency>
    <groupId>org.apache.poi</groupId>
    <artifactId>poi-ooxml</artifactId>
    <version>3.10-FINAL</version>
    </dependency>

    Regards,

    Madiha