camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/3] camel git commit: Reduce dependency in Camel commands to avoid class loading issues for 3rd parties.
Date Wed, 18 Nov 2015 13:32:04 GMT
Repository: camel
Updated Branches:
  refs/heads/master a17d10ccb -> 56ddf955f


Reduce dependency in Camel commands to avoid class loading issues for 3rd parties.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/4adde28e
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/4adde28e
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/4adde28e

Branch: refs/heads/master
Commit: 4adde28e308aefd65916beb7e3d20809c4ecd460
Parents: a17d10c
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Wed Nov 18 14:24:41 2015 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Wed Nov 18 14:24:41 2015 +0100

----------------------------------------------------------------------
 platforms/commands/commands-core/pom.xml                       | 4 ----
 platforms/commands/commands-jolokia/pom.xml                    | 4 ----
 .../apache/camel/commands/jolokia/JolokiaClientFactory.java    | 6 ------
 3 files changed, 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/4adde28e/platforms/commands/commands-core/pom.xml
----------------------------------------------------------------------
diff --git a/platforms/commands/commands-core/pom.xml b/platforms/commands/commands-core/pom.xml
index bf5a011..8adc045 100644
--- a/platforms/commands/commands-core/pom.xml
+++ b/platforms/commands/commands-core/pom.xml
@@ -45,10 +45,6 @@
       <groupId>org.apache.camel</groupId>
       <artifactId>camel-catalog</artifactId>
     </dependency>
-    <dependency>
-      <groupId>org.slf4j</groupId>
-      <artifactId>slf4j-api</artifactId>
-    </dependency>
 
     <!-- Test -->
     <dependency>

http://git-wip-us.apache.org/repos/asf/camel/blob/4adde28e/platforms/commands/commands-jolokia/pom.xml
----------------------------------------------------------------------
diff --git a/platforms/commands/commands-jolokia/pom.xml b/platforms/commands/commands-jolokia/pom.xml
index 74d8492..168386c 100644
--- a/platforms/commands/commands-jolokia/pom.xml
+++ b/platforms/commands/commands-jolokia/pom.xml
@@ -41,10 +41,6 @@
       <groupId>org.apache.camel</groupId>
       <artifactId>camel-commands-core</artifactId>
     </dependency>
-    <dependency>
-      <groupId>org.slf4j</groupId>
-      <artifactId>slf4j-api</artifactId>
-    </dependency>
 
     <!-- jolokia -->
     <dependency>

http://git-wip-us.apache.org/repos/asf/camel/blob/4adde28e/platforms/commands/commands-jolokia/src/main/java/org/apache/camel/commands/jolokia/JolokiaClientFactory.java
----------------------------------------------------------------------
diff --git a/platforms/commands/commands-jolokia/src/main/java/org/apache/camel/commands/jolokia/JolokiaClientFactory.java
b/platforms/commands/commands-jolokia/src/main/java/org/apache/camel/commands/jolokia/JolokiaClientFactory.java
index 69a9ac0..b8c3046 100644
--- a/platforms/commands/commands-jolokia/src/main/java/org/apache/camel/commands/jolokia/JolokiaClientFactory.java
+++ b/platforms/commands/commands-jolokia/src/main/java/org/apache/camel/commands/jolokia/JolokiaClientFactory.java
@@ -19,8 +19,6 @@ package org.apache.camel.commands.jolokia;
 import org.jolokia.client.BasicAuthenticator;
 import org.jolokia.client.J4pClient;
 import org.jolokia.client.J4pClientBuilder;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 import static org.apache.camel.util.ObjectHelper.isNotEmpty;
 
@@ -29,14 +27,10 @@ import static org.apache.camel.util.ObjectHelper.isNotEmpty;
  */
 public final class JolokiaClientFactory {
 
-    private static final Logger LOG = LoggerFactory.getLogger(JolokiaClientFactory.class);
-
     private JolokiaClientFactory() {
     }
 
     public static J4pClient createJolokiaClient(String jolokiaUrl, String username, String
password) {
-        LOG.info("Creating jolokia client at URL: {}", jolokiaUrl);
-
         J4pClientBuilder builder = J4pClient.url(jolokiaUrl);
         boolean auth = false;
         if (isNotEmpty(username)) {


Mime
View raw message