This is an automated email from the ASF dual-hosted git repository.

aldettinger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 18d4a18  CAMEL-11869: Removed the unused mockito-core dependency from 
camel-service-now-component
18d4a18 is described below

commit 18d4a18f5e566111035240be9c838bd7ba91d71c
Author: aldettinger <aldettin...@gmail.com>
AuthorDate: Tue Nov 14 18:49:25 2017 +0100

    CAMEL-11869: Removed the unused mockito-core dependency from 
camel-service-now-component
---
 .../camel-servicenow-component/pom.xml             | 25 ----------------------
 .../servicenow/ServiceNowServiceCatalogTest.java   |  6 +++---
 2 files changed, 3 insertions(+), 28 deletions(-)

diff --git a/components/camel-servicenow/camel-servicenow-component/pom.xml 
b/components/camel-servicenow/camel-servicenow-component/pom.xml
index 88a3d82..494dc2d 100644
--- a/components/camel-servicenow/camel-servicenow-component/pom.xml
+++ b/components/camel-servicenow/camel-servicenow-component/pom.xml
@@ -105,19 +105,6 @@
     <!-- testing -->
 
     <dependency>
-      <groupId>javax.servlet</groupId>
-      <artifactId>javax.servlet-api</artifactId>
-      <version>${javax.servlet-api-version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.osgi</groupId>
-      <artifactId>org.osgi.compendium</artifactId>
-      <version>${osgi-version}</version>
-      <scope>test</scope>
-    </dependency>
-
-    <dependency>
       <groupId>org.apache.camel</groupId>
       <artifactId>camel-test</artifactId>
       <scope>test</scope>
@@ -148,18 +135,6 @@
       <artifactId>junit</artifactId>
       <scope>test</scope>
     </dependency>
-    <dependency>
-      <groupId>org.mockito</groupId>
-      <artifactId>mockito-all</artifactId>
-      <version>${mockito-version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.hamcrest</groupId>
-      <artifactId>java-hamcrest</artifactId>
-      <version>${hamcrest-version}</version>
-      <scope>test</scope>
-    </dependency>
   </dependencies>
 
   <build>
diff --git 
a/components/camel-servicenow/camel-servicenow-component/src/test/java/org/apache/camel/component/servicenow/ServiceNowServiceCatalogTest.java
 
b/components/camel-servicenow/camel-servicenow-component/src/test/java/org/apache/camel/component/servicenow/ServiceNowServiceCatalogTest.java
index 9562be8..e4981cf 100644
--- 
a/components/camel-servicenow/camel-servicenow-component/src/test/java/org/apache/camel/component/servicenow/ServiceNowServiceCatalogTest.java
+++ 
b/components/camel-servicenow/camel-servicenow-component/src/test/java/org/apache/camel/component/servicenow/ServiceNowServiceCatalogTest.java
@@ -32,7 +32,7 @@ public class ServiceNowServiceCatalogTest extends 
ServiceNowTestSupport {
 
     @Test
     public void testRetrieveServiceCatalogsAndCategories() throws Exception {
-        List<Map> result1 = template.requestBodyAndHeaders(
+        List<Map<?, ?>> result1 = template.requestBodyAndHeaders(
             "direct:servicenow",
             null,
             kvBuilder()
@@ -44,7 +44,7 @@ public class ServiceNowServiceCatalogTest extends 
ServiceNowTestSupport {
 
         assertFalse(result1.isEmpty());
 
-        List<Map> result2 = template.requestBodyAndHeaders(
+        List<Map<?, ?>> result2 = template.requestBodyAndHeaders(
             "direct:servicenow",
             null,
             kvBuilder()
@@ -61,7 +61,7 @@ public class ServiceNowServiceCatalogTest extends 
ServiceNowTestSupport {
 
     @Test(expected = CamelExecutionException.class)
     public void testWrongSubject() throws Exception {
-        List<Map> result = template.requestBodyAndHeaders(
+        List<Map<?, ?>> result = template.requestBodyAndHeaders(
             "direct:servicenow",
             null,
             kvBuilder()

-- 
To stop receiving notification emails like this one, please contact
['"commits@camel.apache.org" <commits@camel.apache.org>'].

Reply via email to