You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by na...@apache.org on 2022/12/02 10:39:21 UTC

[ignite-extensions] branch master updated: IGNITE-18179 Fix CDC dependency assembly (#186)

This is an automated email from the ASF dual-hosted git repository.

namelchev pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite-extensions.git


The following commit(s) were added to refs/heads/master by this push:
     new 863fdfdc IGNITE-18179 Fix CDC dependency assembly (#186)
863fdfdc is described below

commit 863fdfdc71e95e65de27f6b71d86718b19cfca9d
Author: Ilya Shishkov <sh...@gmail.com>
AuthorDate: Fri Dec 2 13:39:15 2022 +0300

    IGNITE-18179 Fix CDC dependency assembly (#186)
---
 modules/cdc-ext/assembly/cdc-ext.xml |  1 +
 modules/cdc-ext/pom.xml              | 28 +++++++---------------------
 2 files changed, 8 insertions(+), 21 deletions(-)

diff --git a/modules/cdc-ext/assembly/cdc-ext.xml b/modules/cdc-ext/assembly/cdc-ext.xml
index a911d24a..fcbeb587 100644
--- a/modules/cdc-ext/assembly/cdc-ext.xml
+++ b/modules/cdc-ext/assembly/cdc-ext.xml
@@ -36,6 +36,7 @@
         <fileSet>
             <directory>${basedir}/bin</directory>
             <outputDirectory>${project.artifactId}/bin</outputDirectory>
+            <fileMode>755</fileMode>
         </fileSet>
     </fileSets>
 </assembly>
diff --git a/modules/cdc-ext/pom.xml b/modules/cdc-ext/pom.xml
index 707e1f67..ad44c8f7 100644
--- a/modules/cdc-ext/pom.xml
+++ b/modules/cdc-ext/pom.xml
@@ -45,6 +45,12 @@
             <scope>provided</scope>
         </dependency>
 
+        <dependency>
+            <groupId>org.apache.kafka</groupId>
+            <artifactId>kafka-clients</artifactId>
+            <version>${kafka.version}</version>
+        </dependency>
+
         <dependency>
             <groupId>org.apache.ignite</groupId>
             <artifactId>ignite-log4j2</artifactId>
@@ -68,6 +74,7 @@
             <groupId>org.apache.kafka</groupId>
             <artifactId>kafka_2.12</artifactId>
             <version>${kafka.version}</version>
+            <scope>test</scope>
             <exclusions>
                 <exclusion>
                     <groupId>org.slf4j</groupId>
@@ -120,25 +127,4 @@
             <scope>test</scope>
         </dependency>
     </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>copy-dependencies</goal>
-                        </goals>
-                        <configuration>
-                            <outputDirectory>${project.build.directory}/libs</outputDirectory>
-                            <includeScope>compile</includeScope>
-                            <excludeArtifactIds>ignite-core,ignite-spring,ignite-shmem</excludeArtifactIds>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
 </project>