Skip to content

Instantly share code, notes, and snippets.

@djangofan
Created July 16, 2013 17:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save djangofan/6010573 to your computer and use it in GitHub Desktop.
Save djangofan/6010573 to your computer and use it in GitHub Desktop.
A pom.xml for a SoapUI project.
<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>
<groupId>soapui-qa</groupId>
<artifactId>soapui-test</artifactId>
<version>0.0.1-SNAPSHOT</version>
<!-- instructions based on http://www.soapui.org/Test-Automation/maven-2x.html -->
<!-- make sure the following mirror is defined in your settings.xml for Maven
<mirrors>
<mirror>
<id>nexus</id>
<mirrorOf>*</mirrorOf>
<url>http://nexus.localhost.com:8081/nexus/content/groups/public/</url>
</mirror>
</mirrors>
-->
<pluginRepositories>
<pluginRepository>
<id>eviware-soapui</id>
<url>http://www.soapui.org/repository/maven2/</url>
</pluginRepository>
</pluginRepositories>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
</dependency>
</dependencies>
<build>
<sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
<plugin>
<groupId>eviware</groupId>
<artifactId>maven-soapui-pro-plugin</artifactId>
<version>4.5.0</version>
<!-- Use extension plugin if you dont have SoapUI Pro
<groupId>com.github.redfish4ktc.soapui</groupId>
<artifactId>maven-soapui-extension-plugin</artifactId>
<version>4.5.1.4</version> -->
<dependencies>
<!-- An example of database import
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.6</version>
</dependency> -->
<dependency>
<groupId>fife</groupId>
<artifactId>rsyntaxtextarea</artifactId>
<version>2.0.1</version>
</dependency>
</dependencies>
<configuration>
<runnerType>PRO</runnerType>
<projectFile>${basedir}/Calc-Project.xml</projectFile>
<host>localhost.com:6500</host>
<outputFolder>${project.build.directory}/soapui-reports</outputFolder>
<exportAll>true</exportAll>
<reportFormat>HTML</reportFormat>
<!-- <reportName>Calc Test Suite</reportName> -->
<coverage>false</coverage>
<printReport>true</printReport>
<junitReport>true</junitReport>
<testFailIgnore>true</testFailIgnore>
<settingsFile>${user.home}/soapui-settings.xml</settingsFile>
<testSuite>Suite</testSuite>
<!-- <testCase>TestCaseOne</testCase> -->
<!-- <endpoint>http://localhost.com:6500/local/services/calcservice/2011-09-01/calcservice</endpoint> -->
<projectProperties>
<value>pmessage=Project Property</value>
</projectProperties>
<globalProperties>
<value>gmessage=Global Property</value>
</globalProperties>
<soapuiProperties>
<property>
<name>soapui.logroot</name>
<value>${project.build.directory}/soapui-logs/</value>
</property>
</soapuiProperties>
</configuration>
</plugin>
</plugins>
</build>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment