changeset 515:7edad974d3f8

fixes failing wiremock test
author Devel 1
date Fri, 18 Aug 2017 16:08:26 +0200
parents ff326752e0c3
children 8c11c2e8a23c
files stress-tester-reporter/pom.xml
diffstat 1 files changed, 18 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/stress-tester-reporter/pom.xml	Fri Aug 18 15:21:08 2017 +0200
+++ b/stress-tester-reporter/pom.xml	Fri Aug 18 16:08:26 2017 +0200
@@ -22,7 +22,25 @@
             <groupId>org.apache.avro</groupId>
             <artifactId>avro-ipc</artifactId>
             <version>1.8.2</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.mortbay.jetty</groupId>
+                    <artifactId>servlet-api</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
+        <dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>javax.servlet-api</artifactId>
+            <version>3.1.0</version>
+        </dependency>
+        <!--
+          avro-ipc depends on Selvlet API 2.5
+          wiremock depends on Servlet API 3.1
+          Selvlet API version used in test depends on order of classpath elements
+          if stress-tester-reporter is higher than wiremock, some wiremock tests will fail.
+          So we must exclude v2.5 and explicitly add v3.1
+        -->
 
         <dependency>
             <groupId>org.apache.logging.log4j</groupId>