| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| |
| --> |
| <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> |
| |
| <parent> |
| <groupId>org.apache.edgent</groupId> |
| <artifactId>edgent-connectors</artifactId> |
| <version>1.3.0-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>edgent-connectors-kafka</artifactId> |
| |
| <name>Apache Edgent (Java 8): Connectors: Kafka</name> |
| |
| <properties> |
| <remote-resources-maven-plugin.remote-resources.dir>../../src/main/ibm-remote-resources</remote-resources-maven-plugin.remote-resources.dir> |
| </properties> |
| |
| <!-- |
| The pom for kafka includes dependencies that don't make sense for us. |
| In at least one case kafka dependencies include a slf4j *implementation* jar |
| and that conflicts with our samples' binding to a particular |
| version of slf4j implementation. |
| This all seems like fallout from, I believe, the kafka jars containing |
| the code for their cli tools too, and possibly tests, which need things like: |
| slf4j-log4j12, snappy-java, jline, jopt-simple, junit-3.8.1 |
| |
| So at least for now, avoid transitive and just match our ant/gradle based |
| config. Include only the exact dependencies that our kafka |
| dependency requires to function properly. |
| --> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.edgent</groupId> |
| <artifactId>edgent-api-topology</artifactId> |
| <version>1.3.0-SNAPSHOT</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.kafka</groupId> |
| <artifactId>kafka_2.10</artifactId> |
| <version>0.8.2.2</version> |
| <exclusions> |
| <exclusion> <!-- not transitive --> |
| <groupId>*</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.kafka</groupId> |
| <artifactId>kafka-clients</artifactId> |
| <version>0.8.2.2</version> |
| <exclusions> |
| <exclusion> <!-- not transitive --> |
| <groupId>*</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| <version>1.2.16</version> |
| <exclusions> |
| <exclusion> <!-- not transitive --> |
| <groupId>*</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>com.yammer.metrics</groupId> |
| <artifactId>metrics-core</artifactId> |
| <version>2.2.0</version> |
| <exclusions> |
| <exclusion> <!-- not transitive --> |
| <groupId>*</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.scala-lang</groupId> |
| <artifactId>scala-library</artifactId> |
| <version>2.10.4</version> |
| <exclusions> |
| <exclusion> <!-- not transitive --> |
| <groupId>*</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>com.101tec</groupId> |
| <artifactId>zkclient</artifactId> |
| <version>0.3</version> |
| <exclusions> |
| <exclusion> <!-- not transitive --> |
| <groupId>*</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.zookeeper</groupId> |
| <artifactId>zookeeper</artifactId> |
| <version>3.4.6</version> |
| <exclusions> |
| <exclusion> <!-- not transitive --> |
| <groupId>*</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.edgent</groupId> |
| <artifactId>edgent-providers-direct</artifactId> |
| <version>1.3.0-SNAPSHOT</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.edgent</groupId> |
| <artifactId>edgent-providers-direct</artifactId> |
| <version>1.3.0-SNAPSHOT</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.edgent</groupId> |
| <artifactId>edgent-connectors-common</artifactId> |
| <version>1.3.0-SNAPSHOT</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.edgent</groupId> |
| <artifactId>edgent-api-topology</artifactId> |
| <version>1.3.0-SNAPSHOT</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </project> |