Hi,
I have been unsuccessful in getting soapui RestApi tests run through maven. Here is my pom.xml -
<pluginRepositories>
<pluginRepository>
<id>SmartBearPluginRepository</id>
<url>http://www.soapui.org/repository/maven2/</url>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
<plugin>
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui-maven-plugin</artifactId>
<version>4.6.1</version>
<configuration>
<projectFile>${project.basedir}/src/test/resources/*.xml</projectFile>
<outputFolder>${project.basedir}/target</outputFolder>
<junitReport>true</junitReport>
<printReport>true</printReport>
<useOutputFolderPerProject>true</useOutputFolderPerProject>
<executions>
<execution>
<id>soapUI</id>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
<testSuite>TestSuite 1</testSuite>
</configuration>
</plugin>
</plugins>
</build>
I have tried running as mvn clean test in which case the build is successful but no tests were executed. Also tried mvn clean com.smartbear.soapui:soapui-maven-plugin:4.6.1:test in which case I get error
"com.smartbear.soapui:soapui-maven-plugin:4.6.1 or one of its dependencies could not be resolved: Failure to find com.smartbear.soapui:soapui-maven-plugin:jar:4.6.1 in http://endpoint/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced"
Please advise.
Many thanks!