Reputation: 12592
I need to run a project created from SoapUI though Java. By googling a bit I found the following solution, which works (but for version 4.5.0)
....
<repositories>
<repository>
<id>eviware</id>
<url>http://www.eviware.com/repository/maven2/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>eviware</groupId>
<artifactId>maven-soapui-plugin</artifactId>
<version>4.5.0</version>
</dependency>
....
But now when i run it from java i get the following error
[WsdlProject] Project 'ABCD - LOCAL' is from a newer version (5.0.0) of soapUI than this (4.5.0) and parts of it may be incompatible or incorrect. Saving this project with this version of soapUI may cause it to function differently.
But I coulden't find the 5.0.0 version for "eviware". Can any one suggest me the new repository settings and dependency settings in order to run this in version 5.0.0+
Upvotes: 0
Views: 7135
Reputation: 10329
If all else fails, try the documentation:
<pluginRepositories>
<pluginRepository>
<id>smartbear-sweden-plugin-repository</id>
<url>http://www.soapui.org/repository/maven2/</url>
</pluginRepository>
</pluginRepositories>
<plugins>
<plugin>
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui-maven-plugin</artifactId>
<version>5.1.0</version>
<configuration>
<projectFile>simple-test-soapui-project.xml</projectFile>
<projectProperties>
<value>message=Hello World!</value>
</projectProperties>
</configuration>
</plugin>
</plugins>
So I guess for your dependency it would be:
<repositories>
<repository>
<id>smartbear-sweden-plugin-repository</id>
<url>http://www.soapui.org/repository/maven2/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui-maven-plugin</artifactId>
<version>5.1.0</version>
</dependency>
</dependencies>
Upvotes: 3