diff --git a/.github/workflows/cli-producer-datagen-ea.yml b/.github/workflows/cli-producer-datagen-ea.yml
index 14acf8f..1b02f72 100644
--- a/.github/workflows/cli-producer-datagen-ea.yml
+++ b/.github/workflows/cli-producer-datagen-ea.yml
@@ -53,6 +53,7 @@ jobs:
with:
name: artifacts
path: |
+ producer-datagen/target/*.jar
producer-datagen/target/*.zip
producer-datagen/target/*.tar.gz
diff --git a/producer-datagen/pom.xml b/producer-datagen/pom.xml
index 4b710c4..eec7e4c 100644
--- a/producer-datagen/pom.xml
+++ b/producer-datagen/pom.xml
@@ -97,6 +97,26 @@
${maven.compiler.parameters}
+
+ org.apache.maven.plugins
+ maven-shade-plugin
+ 3.3.0
+
+
+ package
+
+ shade
+
+
+
+
+ kafka.cli.emulator.Cli
+
+
+
+
+
+
org.apache.maven.plugins
maven-enforcer-plugin
@@ -264,6 +284,16 @@
+
+ kfk-producer-datagen-exec
+ SINGLE_JAR
+
+
+ {{artifactsDir}}/kafka-cli-producer-datagen-{{projectVersion}}.jar
+ artifacts/{{distributionName}}.jar
+
+
+
kfk-producer-datagen
NATIVE_IMAGE