camel-optaplanner: fix slf4j warning because there are 2 bindings in the classpath
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/5e1067e3 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/5e1067e3 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/5e1067e3 Branch: refs/heads/master Commit: 5e1067e3df9d6538959994937037e64430ee82ad Parents: 697e735 Author: Geoffrey De Smet <gds.geoffrey.de.s...@gmail.com> Authored: Tue Oct 13 14:16:38 2015 +0200 Committer: Geoffrey De Smet <gds.geoffrey.de.s...@gmail.com> Committed: Tue Oct 13 14:16:38 2015 +0200 ---------------------------------------------------------------------- components/camel-optaplanner/pom.xml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/5e1067e3/components/camel-optaplanner/pom.xml ---------------------------------------------------------------------- diff --git a/components/camel-optaplanner/pom.xml b/components/camel-optaplanner/pom.xml index c2a3447..3aeacfb 100644 --- a/components/camel-optaplanner/pom.xml +++ b/components/camel-optaplanner/pom.xml @@ -50,15 +50,22 @@ <groupId>org.optaplanner</groupId> <artifactId>optaplanner-examples</artifactId> <scope>test</scope> + <exclusions> + <exclusion> + <groupId>ch.qos.logback</groupId> + <artifactId>logback-classic</artifactId> + </exclusion> + </exclusions> </dependency> + <!-- TODO Upgrade from log4j to logback --> <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-test-spring</artifactId> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-log4j12</artifactId> <scope>test</scope> </dependency> <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-log4j12</artifactId> + <groupId>org.apache.camel</groupId> + <artifactId>camel-test-spring</artifactId> <scope>test</scope> </dependency> <dependency>