DBZ-285 Making more dependencies "provided"

This commit is contained in:
Gunnar Morling 2017-11-10 16:21:00 +01:00
parent 8826669b43
commit 580647b226
3 changed files with 15 additions and 10 deletions

View File

@ -1,3 +1,4 @@
<?xml version="1.0"?>
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
@ -14,12 +15,9 @@
<scope>runtime</scope>
<useProjectArtifact>false</useProjectArtifact>
<excludes>
<!-- Exclude all Kafka APIs and their dependencies, since they will be available in the runtime -->
<exclude>org.apache.kafka:*</exclude>
<!-- Exclude dependencies of Kafka APIs, since they will be available in the runtime -->
<exclude>org.slf4j:*</exclude>
<exclude>com.fasterxml.jackson.core:jackson-core:*</exclude>
<exclude>org.xerial.snappy:*</exclude>
<exclude>net.jpountz.lz4:*</exclude>
</excludes>
</dependencySet>
<dependencySet>

View File

@ -22,12 +22,12 @@
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>connect-transforms</artifactId>
<version>RELEASE</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
</dependency>
<!-- Testing -->
<dependency>
<groupId>org.slf4j</groupId>
@ -45,6 +45,7 @@
<groupId>org.easytesting</groupId>
<artifactId>fest-assert</artifactId>
</dependency>
<!-- Used for unit testing with Kafka -->
<dependency>
<groupId>org.apache.kafka</groupId>

View File

@ -189,6 +189,12 @@
<version>${version.kafka}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>connect-transforms</artifactId>
<version>${version.kafka}</version>
<scope>provided</scope>
</dependency>
<!-- Kafka -->
<dependency>