<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>org.apache.sling</groupId> | |
<artifactId>org.apache.sling.httptesting.karate</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<packaging>jar</packaging> | |
<properties> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<java.version>1.8</java.version> | |
<maven.compiler.version>3.6.0</maven.compiler.version> | |
<karate.version>0.9.0.RC2</karate.version> | |
<gatling.plugin.version>2.2.4</gatling.plugin.version> | |
</properties> | |
<dependencies> | |
<dependency> | |
<groupId>com.intuit.karate</groupId> | |
<artifactId>karate-apache</artifactId> | |
<version>${karate.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.intuit.karate</groupId> | |
<artifactId>karate-junit4</artifactId> | |
<version>${karate.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.intuit.karate</groupId> | |
<artifactId>karate-gatling</artifactId> | |
<version>${karate.version}</version> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
<build> | |
<testResources> | |
<testResource> | |
<directory>src/test/java</directory> | |
<excludes> | |
<exclude>**/*.java</exclude> | |
</excludes> | |
</testResource> | |
</testResources> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>${maven.compiler.version}</version> | |
<configuration> | |
<encoding>UTF-8</encoding> | |
<source>${java.version}</source> | |
<target>${java.version}</target> | |
<compilerArgument>-Werror</compilerArgument> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>io.gatling</groupId> | |
<artifactId>gatling-maven-plugin</artifactId> | |
<version>${gatling.plugin.version}</version> | |
<configuration> | |
<simulationsFolder>src/test/scala</simulationsFolder> | |
<includes> | |
<include>sling.PostServletSimulation</include> | |
</includes> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |