DBZ-285 Making more dependencies "provided"
This commit is contained in:
parent
8826669b43
commit
580647b226
@ -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>
|
||||
|
@ -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>
|
||||
<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>
|
||||
|
8
pom.xml
8
pom.xml
@ -20,7 +20,7 @@
|
||||
<developerConnection>scm:git:git@github.com:debezium/debezium.git</developerConnection>
|
||||
<url>https://github.com/debezium/debezium</url>
|
||||
<tag>HEAD</tag>
|
||||
</scm>
|
||||
</scm>
|
||||
<issueManagement>
|
||||
<system>jira</system>
|
||||
<url>http://issues.jboss.org/browse/DBZ</url>
|
||||
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user