Skip to content
This repository was archived by the owner on Aug 27, 2021. It is now read-only.
Thomas Bouffard edited this page Apr 5, 2014 · 85 revisions

maven-soapui-extension-plugin

maven-soapui-extension-plugin adds new features and bug fixes to SmartBear soapui-pro-maven-plugin/soapui-maven-plugin.

Usage

Basic configuration

In your pom replace

    <plugins>
      <plugin>
        <groupId>com.smartbear.soapui</groupId>
        <artifactId>soapui-pro-maven-plugin/soapui-maven-plugin</artifactId>
        <version>4.6.3</version>
        ...
      </plugin>
      ...

with

    <plugins>
      <plugin>
        <groupId>com.github.redfish4ktc.soapui</groupId>
        <artifactId>maven-soapui-extension-plugin</artifactId>
        <version>4.6.3.1</version>
        ...
      </plugin>
      ...

Note: for versions prior to 4.5.2, SmartBear plugin maven coordinates are eviware:maven-soapui-pro-plugin/maven-soapui-plugin

Detailled configuration

For more information about plugin configuration, see

Maven configuration

SoapUI repository access

maven-soapui-extension-plugin is deployed to Maven Central Repository thanks to Sonatype OSS Repository Hosting Service but depends on SoapUI jars (that are not in Central). So you must be able to access dependencies from the SoapUI repository.

This means you need to add the soapui repository (or a proxy of it via your repository manager) to your plugin repository settings the same way it is required to use the SmartBear plugin implementation

See the official SoapUI maven plugins documentation about the repository configuration.

Snapshot access

If you want to use development version of maven-soapui-extension-plugin (why? see Maven documentation), you need to declare the sonatype snapshot repository as plugin repository.
You can also browse https://oss.sonatype.org/content/repositories/snapshots/com/github/redfish4ktc/ and download plugins manually

Settings.xml configuration example

<profiles>
  <profile>
    <id>activate-sonatype-snapshots-as-plugin-repository</id>
    <activation>
      <activeByDefault>true</activeByDefault>
    </activation>
    <pluginRepositories>
      <pluginRepository>
        <id>sonatype-snapshots</id>
        <url>http://oss.sonatype.org/content/repositories/snapshots</url>
        <snapshots>
          <enabled>true</enabled>
        </snapshots>
        <releases>
          <enabled>false</enabled>
        </releases>
      </pluginRepository>
    </pluginRepositories>
  </profile>
</profiles>

Changelog

4.6.4.0 (in progress)

First version that supports SoapUI 4.6.4.0.

BUG

  • #85 Issue with fetching dependencies

TASK

  • #106 Add support for SoapUI 4.6.4
  • #111 Upgrade commons-lang to 3.3.1

4.6.3.1 (27-March-2014)

New test-multi goal and improvements for the mock-as-war goal

FEATURE

  • #77 [mock-as-war goal] add a runnerType parameter to choose the OSS generator
  • #88 Add a test-multi goal: test multiple soapui projects easily

IMPROVEMENT

  • #78 [mock-as-war goal] add a 'enableWebUI' parameter
  • #104 [test-multi goal] add a parameter to have distinct output directory for each project execution

TASK

  • #99 [mock-as-war goal] Create custom SoapUIMockAsWarGenerator for OSS

4.6.3.0 (03-January-2014)

First version that supports SoapUI 4.6.3.0.

TASK

  • #96 Add support for 4.6.3 version

4.6.2.0 (03-January-2014)

First version that supports SoapUI 4.6.2.0.

BUG

  • #95 [mock-as-war goal] generation fails in soapui 4.6.2 for PRO runner

TASK

  • #93 Add support for 4.6.2 version

4.6.1.0 (22-December-2013)

First version that supports SoapUI 4.6.1.0.

BUG

  • #87 [mock-as-war goal] generation fails in soapui 4.6.1

TASK

  • #74 Add support for 4.6.1 version
  • #97 Upgrade to redfish4ktc-maven-oss-parent 6

4.5.1.5 (23-November-2013)

This release contains a major feature: the new mock-as-war goal. It is currently in beta. Thanks for trying it and providing feedbacks.

This is also the last release with new features for the SoapUI 4.5.1 support. Next version will use SoapUI 4.6.1.

FEATURE

  • #4 Add a mock-as-war goal

BUG

  • #67 Plugin dependencies can't be resolved, when Eviware repository is cached/mirrored with Artifactory
  • #76 Plugin version not correctly displayed on Ubuntu when using openjdk

TASK

  • #66 Remove or skip integration tests using old versions of the smartbear plugin
  • #75 4.5.2+ support: ban some dependencies

4.0.1.0 (30-July-2013)

This a the first release based on soapui 4.0.1. See the page dedicated to 4.0.1.x versions for more information.

BUG

  • #9 workaround for "com.eviware.soapui.SoapUICore"'s signer information with maven-soapui-pro-plugin 4.0.1
  • #17 add missing dependencies to maven-soapui-plugin 4.0.1

4.5.1.4 (24-April-2013)

FEATURE

  • #39 [test goal] support overriding 'testsuite custom properties' with the PRO runner
  • #45 [test goal] add a "junitHtmlReport" parameter (pro runner)
  • #58 [test goal] add a way to configure the implementation of the report collector (OSS runner)
  • #59 [test goal] add a way to configure the implementation of the report collector (PRO runner)

BUG

  • #62 soapui maven plugin 4.5.1: missing guava dependency

TASK

  • #46 Create a custom SoapUIProTestCaseRunner

4.5.1.3 (11-March-2013)

FEATURE

  • #38 [test goal] add a parameter to override 'testsuite custom properties'

IMPROVEMENT

  • #23 [mock goal] add a parameter to choose runner type

BUG

  • #34 projectFile default value is always maven-soapui-extension-plugin-soapui-project.xml

4.5.1.2 (12-December-2012)

IMPROVEMENT

  • #19 [mock goal] log files should be generated by default in a subdirectory of ${project.build.directory}
  • #20 [mock goal] display the version of maven-soapui-extension-plugin
  • #21 [mock goal] use maven logger when setting soapui property
  • #22 [mock goal] skip running the mock service should log a message
  • #28 [mock goal] do not log exception as a MojoFailureException is thrown

BUG

  • #29 [test goal] log should display soapui 4.5.1 version instead of 4.5.1-SNAPSHOT
  • #35 [mock goal] skip option does not work in pro and oss smartbear implementation (soapui 4.5.1)

TASK

  • #33 Display build date and commit id when displaying plugin version

4.5.1.1 (28-November-2012)

  • #14 [test goal] add a parameter to choose runner type
  • #15 add a convert-project goal: convert a composite project into a standard project
  • #16 [convert-project goal] convert a standard project into a composite project
  • #25 [convert-project goal] log files should be generated by default in a subdirectory of ${project.build.directory}
  • #27 [convert-project goal] display the version of maven-soapui-extension-plugin

4.5.1.0 (13-October-2012)

  • #12 support soapui 4.5.1

4.5.0.0 (12-October-2012)

  • #8 support soapui 4.5.0

4.0.0.2 (14-September-2012)

Note: even if #18 is marked as resolved in this version, #7 is fixed since 4.0.0.0 as maven-soapui-extension-plugin already depends on junit. In 4.0.0.2, we only upgrade junit version from 3.8.1 to 4.4

  • #3 add a test-verify goal
  • #10 [test goal] use maven logger when setting soapui property
  • #13 [build] Add a way to have access to eviware repository
  • #18 junit dependency still missing in maven-soapui-extension-plugin 4.0.0.1

4.0.0.1 (30-May-2012)

  • #2 [test goal] do not display details of errors
  • #5 [test goal] log files should be generated by default in a subdirectory of ${project.build.directory}
  • #11 [test goal] display the version of maven-soapui-extension-plugin

4.0.0.0 (21-May-2012)

  • #1 [test goal] skip running the tests should log a message
  • #6 groovy.log destination directory should be configurable
  • #7 add missing dependencies to maven-soapui-plugin 4.0.0

Development

See the Development

Clone this wiki locally