2019-12-05 09:56:52 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2019-10-31 21:43:47 -04:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2019-12-05 09:56:52 -05:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2019-10-31 21:43:47 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>rest-testing</artifactId>
|
|
|
|
<version>0.1-SNAPSHOT</version>
|
|
|
|
<name>rest-testing</name>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>parent-java</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<relativePath>../../parent-java</relativePath>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
|
|
<!-- utils -->
|
|
|
|
|
|
|
|
<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>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</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>
|
2020-10-02 13:28:05 -04:00
|
|
|
<groupId>io.cucumber</groupId>
|
2019-10-31 21:43:47 -04:00
|
|
|
<artifactId>cucumber-java</artifactId>
|
|
|
|
<version>${cucumber.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2020-10-02 13:28:05 -04:00
|
|
|
<groupId>io.cucumber</groupId>
|
2019-10-31 21:43:47 -04:00
|
|
|
<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>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<finalName>rest-testing</finalName>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
2020-10-02 13:28:05 -04:00
|
|
|
</build>
|
2019-12-05 09:56:52 -05:00
|
|
|
|
2020-10-02 13:28:05 -04:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>parallel</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
|
|
<version>${maven-failsafe-plugin.version}</version>
|
2019-12-05 09:56:52 -05:00
|
|
|
<configuration>
|
2020-10-02 13:28:05 -04:00
|
|
|
<includes>
|
|
|
|
<include>CucumberIntegrationTest.java</include>
|
|
|
|
</includes>
|
|
|
|
<parallel>methods</parallel>
|
|
|
|
<threadCount>2</threadCount>
|
2019-12-05 09:56:52 -05:00
|
|
|
</configuration>
|
2020-10-02 13:28:05 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>integration-test</goal>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2019-10-31 21:43:47 -04:00
|
|
|
|
|
|
|
<properties>
|
|
|
|
<!-- util -->
|
|
|
|
<guava.version>19.0</guava.version>
|
|
|
|
|
|
|
|
<!-- testing -->
|
|
|
|
<rest-assured.version>2.9.0</rest-assured.version>
|
2020-10-02 13:28:05 -04:00
|
|
|
<cucumber.version>6.8.0</cucumber.version>
|
2019-10-31 21:43:47 -04:00
|
|
|
<wiremock.version>2.21.0</wiremock.version>
|
|
|
|
<karate.version>0.6.1</karate.version>
|
|
|
|
|
|
|
|
<httpcore.version>4.4.5</httpcore.version>
|
|
|
|
<httpclient.version>4.5.2</httpclient.version>
|
|
|
|
|
|
|
|
<jbehave.version>4.1</jbehave.version>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
</project>
|