Forum Discussion

Andra's avatar
Andra
New Contributor
13 years ago

maven plugin for soap UI Pro

I am trying to follow the instructions at http://www.soapui.org/Test-Automation/maven-2x.html for configuring the maven plugin for soap UI pro.

I am using maven 3.0.3, and licensed soapUI pro 4.5.1.
I am trying to configure maven-soapui-pro-plugin version 3.5.1. I also tried plugins with version 2.5.1 and 4.5.1 and all attempts have resulted in plugin install issues (some required class does cannot be found while trying to execute tests)

I get numerous warnings of the following type:

Downloading: http://download.java.net/maven/1/eviwar ... -3.5.1.jar
Downloading: http://download.java.net/maven/2/eviwar ... -3.5.1.jar
Downloading: http://www.eviware.com/repository/maven ... -3.5.1.jar
[WARNING] Checksum validation failed, no checksums available from the repository for http://www.eviware.com/repository/maven ... -3.5.1.jar

Any help will be much appreciated. Thanks,
Andra

3 Replies

  • redfish4ktc2's avatar
    redfish4ktc2
    Super Contributor
    Hi, if you are using soapui pro 4.5.1, you should use the 4.5.1 maven plugin

    You got the warning when downloading the artifacts because
    * there are no checksum files in the soapui repository (or only few artifacts have some, for instance, maven-soapui-pro-plugin 4.5.0 and 4.5.1)
    * maven default repositories policy is to check the checksum and warn if is is missing or wrong. If you want to change this behaviour, see http://maven.apache.org/settings.html#Repositories
  • Andra's avatar
    Andra
    New Contributor
    Thanks for the reply.

    I'm focusing on the 4.5.1 plugin version now, but I am getting some build errors:

    [ERROR] Failed to execute goal eviware:maven-soapui-pro-plugin:4.5.1:test (soap-ui-test) on project vagabond-parent: Execution soap-ui-test of goal eviware:maven-soapui-pro-plugin:4.5.1:test failed: A required class was missing while executing eviware:maven-soapui-pro-plugin:4.5.1:test: org/fife/ui/rsyntaxtextarea/templates/CodeTemplate

    I know I have the eviware repo for the soap ui pro plugin setup correctly because I see a bunch of other soap UI pro plugin -related libraries being downloaded.

    Here are the relevant configuration sections of my pom:

    <pluginRepository>
    <id>eviwarePluginRepository</id>
    <url>http://www.soapui.org/repository/maven2</url>
    </pluginRepository>
    ...
    <pluginManagement>
    <plugin>
    <groupId>eviware</groupId>
    <artifactId>maven-soapui-pro-plugin</artifactId>
    <version>4.5.1</version>
    </plugin>
    </pluginManagement>

    ...

    <profile>
    <id>live_scraper</id>
    <build>
    <plugins>
    <plugin>
    <groupId>eviware</groupId>
    <artifactId>maven-soapui-pro-plugin</artifactId>
    <version>4.5.1</version>
    <configuration>
    ...
    </configuration>
    <executions>
    <execution>
    <id>soap-ui-test</id>
    <phase>test</phase>
    <goals>
    <goal>test</goal>
    </goals>
    </execution>
    </executions>
    </plugin>
    </plugins>
    </build>
    </profile>

    Thanks,
    Andra
  • redfish4ktc2's avatar
    redfish4ktc2
    Super Contributor
    that is strange because the pro plugin 4.5.1, really depends on rsynte
    i've found this in the plugin pom

    <dependency>
    <groupId>fife</groupId>
    <artifactId>rsyntaxtextarea</artifactId>
    <version>1.3.4</version>
    </dependency>

    could you provide more maven logs please? you can also remove the rsyntaxtextarea artifact from your local repository and rerun you maven build