miosz
miosz

Reputation: 173

Include jar to SoapUI maven

I wrote my own library to maven. I include the jar file like this: http://www.soapui.org/extension-plugins/old-style-extensions/developing-old-style-extensions.html and everything is OK.

But, i wanna run my SoapUI projekt in maven. How i can include this library?

Upvotes: 0

Views: 2584

Answers (2)

AlexandrosD
AlexandrosD

Reputation: 555

You need to create an ext folder inside you maven project's root, i.e. where your pom.xml is. The put your compiled jar in this folder (as you've already done in your <SoapUI_installation_dir>\bin\ext directory) in order this jar to be available to the SoapUI runner when it is run via maven.

Upvotes: 1

jrao77
jrao77

Reputation: 142

UPDATED:

To include a soap ui project in maven include the plugin in your POM and configure it with the SoapUI project file (See below)

<plugin>
    <groupId>com.smartbear.soapui</groupId>
    <artifactId>soapui-maven-plugin</artifactId>
    <version>5.1.3</version>
    <configuration>
        <projectFile>simple-test-soapui-project.xml</projectFile>
    </configuration>
</plugin>

Looks like this plugin is not available in maven central, so you will have to include the plugin repository like so (in your pom or the settings.xml)

<pluginRepository>
    <id>smartbear-sweden-plugin-repository</id>
    <url>http://www.soapui.org/repository/maven2/</url>
</pluginRepository>

More information can be found here - Soap UI maven plugin

There is also another thread here

Upvotes: 2

Related Questions