2016-05-26 06:36:32 -04:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2017-05-12 14:32:54 -04:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2017-04-09 04:38:20 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>rest-testing</artifactId>
|
|
|
|
<version>0.1-SNAPSHOT</version>
|
|
|
|
|
|
|
|
<name>rest-testing</name>
|
|
|
|
|
2017-05-09 16:37:43 -04:00
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>parent-modules</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
2017-05-12 14:32:54 -04:00
|
|
|
</parent>
|
|
|
|
|
2017-04-09 04:38:20 -04:00
|
|
|
<dependencies>
|
|
|
|
|
|
|
|
<!-- utils -->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<version>${guava.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
<version>${commons-io.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
<version>${commons-lang3.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- http client -->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
<version>${httpclient.version}</version>
|
2017-04-19 10:14:10 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
</exclusion>
|
2017-05-12 14:32:54 -04:00
|
|
|
</exclusions>
|
2017-04-09 04:38:20 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpcore</artifactId>
|
|
|
|
<version>${httpcore.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- marshalling -->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
<version>${jackson.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- test scoped -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.tomakehurst</groupId>
|
|
|
|
<artifactId>wiremock</artifactId>
|
|
|
|
<version>${wiremock.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>info.cukes</groupId>
|
|
|
|
<artifactId>cucumber-java</artifactId>
|
|
|
|
<version>${cucumber.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>info.cukes</groupId>
|
|
|
|
<artifactId>cucumber-junit</artifactId>
|
|
|
|
<version>${cucumber.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jbehave</groupId>
|
|
|
|
<artifactId>jbehave-core</artifactId>
|
|
|
|
<version>${jbehave.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2017-10-31 09:05:17 -04:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.intuit.karate</groupId>
|
|
|
|
<artifactId>karate-apache</artifactId>
|
|
|
|
<version>${karate.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.intuit.karate</groupId>
|
|
|
|
<artifactId>karate-junit4</artifactId>
|
|
|
|
<version>${karate.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2017-04-09 04:38:20 -04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<finalName>rest-testing</finalName>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
|
|
|
|
</build>
|
2016-05-26 06:36:32 -04:00
|
|
|
|
2016-10-20 18:11:19 -04:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>integration</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>test</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/*UnitTest.java</exclude>
|
2017-04-09 04:38:20 -04:00
|
|
|
<exclude>**/*LiveTest.java</exclude>
|
2016-10-20 18:11:19 -04:00
|
|
|
</excludes>
|
|
|
|
<includes>
|
|
|
|
<include>**/*IntegrationTest.java</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<test.mime>json</test.mime>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2017-04-09 04:38:20 -04:00
|
|
|
|
|
|
|
<properties>
|
|
|
|
<!-- marshalling -->
|
|
|
|
<jackson.version>2.8.5</jackson.version>
|
|
|
|
|
|
|
|
<!-- util -->
|
|
|
|
<guava.version>19.0</guava.version>
|
|
|
|
<commons-lang3.version>3.5</commons-lang3.version>
|
|
|
|
<commons-io.version>2.5</commons-io.version>
|
|
|
|
|
|
|
|
<!-- testing -->
|
2016-12-10 13:20:12 -05:00
|
|
|
<rest-assured.version>2.9.0</rest-assured.version>
|
|
|
|
<cucumber.version>1.2.5</cucumber.version>
|
|
|
|
<wiremock.version>2.4.1</wiremock.version>
|
2017-10-31 09:05:17 -04:00
|
|
|
<karate.version>0.6.1</karate.version>
|
2016-05-26 06:36:32 -04:00
|
|
|
|
2017-04-09 04:38:20 -04:00
|
|
|
<httpcore.version>4.4.5</httpcore.version>
|
|
|
|
<httpclient.version>4.5.2</httpclient.version>
|
2016-05-26 06:36:32 -04:00
|
|
|
|
2017-04-09 04:38:20 -04:00
|
|
|
<jbehave.version>4.1</jbehave.version>
|
2016-05-26 06:36:32 -04:00
|
|
|
|
2017-04-09 04:38:20 -04:00
|
|
|
<!-- maven plugins -->
|
|
|
|
<maven-war-plugin.version>2.6</maven-war-plugin.version>
|
2016-05-26 06:36:32 -04:00
|
|
|
|
2017-04-09 04:38:20 -04:00
|
|
|
</properties>
|
2014-01-02 08:58:46 -05:00
|
|
|
|
|
|
|
</project>
|