Forum Discussion

hanu_qa9's avatar
hanu_qa9
New Member
10 years ago

Trying to integrate SOAPUI pro 5.0.0 with Jenkins using Eclipse

I am using the below pom.xml to integrate my smoke test with Jenkins CI. Its working fine when running the tests using eclipse Run as Maven test. But while executing the same from Jenkins ending up "

Could not find artifact com.smartbear.soapui:soapui-maven-plugin:jar:5.1.2

"

<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>soapui-wmsi</groupId>
<artifactId>Rest-SmokeTest</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>Rest-SmokeTest</name>
<url>http://maven.apache.org</url>
<repositories>
<repository>
<id>SmartBear Sweden Repository</id>
<url>http://www.soapui.org/repository/maven2/com/smartbear/soapui/soapui-pro-maven-plugin/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.8.5</version>
</dependency>
<dependency>
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui-maven-plugin</artifactId>
<version>5.1.2</version>
<type>maven-plugin</type>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.18.1</version>
</plugin>
</plugins>
</build>
</project>

1 Reply

  • Hi Hanu_qa9,

     

    I believe that the issue can be related to the fact that you are using different plugin and product versions: plugin - v. 5.1.2, but SoapUI - v. 5.0.0. Please make sure that the versions are the same.