Forum Discussion

monkeyhandz's avatar
monkeyhandz
New Contributor
12 years ago

soapui maven repository stable?

Hi

I had a project which used maven-soapui-plugin 4.0.0.
However recently moved onto a new computer and the project couldn't download the plugin anymore. I checked and saw the repo URL seemed to have changed from http://www.eviware.com/ to http://www.soapui.org/.

I changed the URL's in the repositories in the pom.xml. However I'm now getting strange errors where it will not find any of the dependencies first, time but if I rerun it will find some more, and if I run it again it will find more again. Eventually after a number of reruns it incrementally gets more and more, and finally all of the dependencies are downloaded.

pom.xml below:

<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>

<artifactId>test-maven-soapui-plugin</artifactId>
<name>test-maven-soapui-plugin</name>
<groupId>com.mycompany</groupId>
<version>1.00.00.SNAPSHOT</version>

<properties>
<maven.soapui.plugin.version>4.5.1</maven.soapui.plugin.version>
<soapui.repo.url>http://www.soapui.org/repository/maven2/</soapui.repo.url>
</properties>

<build>
<plugins>
<plugin>
<groupId>eviware</groupId>
<artifactId>maven-soapui-plugin</artifactId>
<version>${maven.soapui.plugin.version}</version>
<executions>
<execution>
<id>mock-unit-tests</id>
<configuration>
<projectFile>${basedir}/src/test/resources/soapui/a-soapui-project-file.xml</projectFile>
<junitReport>true</junitReport>
<exportAll>true</exportAll>
<outputFolder>${basedir}/test-output</outputFolder>
<mockService>MOCK service</mockService>
<noBlock>true</noBlock>
</configuration>
<phase>generate-test-sources</phase>
<goals>
<goal>mock</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<pluginRepositories>
<pluginRepository>
<id>soapuiPluginRepository</id>
<url>${soapui.repo.url}</url>
</pluginRepository>
</pluginRepositories>
</project>

7 Replies

  • redfish4ktc2 - sorry to say it but repository is still unstable for me.

    If you have the time, rename, or delete, your ~/.m2/repository and do a rebuild. You should find some of the downloads from repository fail - at least I do!.
    Also what I find is that accessing the repository URL (from a browser) its fails while a build is running. However it works if there is no build running!!!!

    Does anyone from smartbear monitor this forum, are they concerned that this experience is making our company question whether we should use soapui????
  • redfish4ktc2's avatar
    redfish4ktc2
    Super Contributor
    monkeyhandz
    I'll perform some clean build this week end. But finally, I can confirm the problem is still here (some of my public CI builds fail because of this)
    I've also notice problem with the soapui.org web site, maybe the two are related.

    About your company concern, I think you should set up a repository manager to proxy the soapui repository (and other ones). This will prevent your teams having issue when the soapui repo is down and provide you many advantages (see http://maven.apache.org/repository-management.html or http://www.sonatype.com/people/2012/07/ ... y-manager/).
    Note that usually, the soapui repository is up, I've been using it for more than 2 years, and failures happen very rarely. According to me, this should not be an argument to not use soapui.
  • redfish4ktc2
    We do a repository manager, however we didn't have a proxy for SOAPUI. So thanks for your tip and we have set one up now to protect us from these kinds of errors. So hopefully we can close this now.

    Finally, SOAPUI is a fantastic tool but the web server problem had wasted a lot of time and effort for us. And it is these kind of experiences that can quickly put you off using it again in the future.
  • redfish4ktc2's avatar
    redfish4ktc2
    Super Contributor
    monkeyhandz
    Great if it works.
    I agree with your last sentence, SmartBear should better take care of the maven users, expecially because automation matters a lot
  • redfish4ktc2's avatar
    redfish4ktc2
    Super Contributor
    SmartBear has updated the repository.
    I haven' seen any issues since last week, even with maven 2.2.1
  • We do a repository manager, however we didn't have a proxy for SOAPUI. So thanks for your tip and we have set one up now to protect us from these kinds of errors. So hopefully we can close this now.