diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml
index 1a6866734..b830ae44c 100644
--- a/.github/workflows/nightly-build.yml
+++ b/.github/workflows/nightly-build.yml
@@ -39,7 +39,8 @@ jobs:
- name: Build native images with nativ maven plugin and extract in tar.gz
shell: bash
run: |
- mvn -B -ntp -Pnative -DskipTests=true package -pl cli
+ cd cli
+ mvn -B -ntp -Pnative -P!include-docs -DskipTests=true package
- uses: actions/upload-artifact@v3
with:
name: natives
diff --git a/cli/pom.xml b/cli/pom.xml
index 654ca1e75..ae485d0e2 100644
--- a/cli/pom.xml
+++ b/cli/pom.xml
@@ -221,6 +221,39 @@
+
+
+ org.apache.maven.plugins
+ maven-assembly-plugin
+
+
+ create-distribution
+ package
+
+ single
+
+
+ ${releaseName}
+ false
+
+ /src/main/assembly/release.xml
+
+
+
+
+
+
+
+
+
+
+
+ include-docs
+
+ true
+
+
+
org.apache.maven.plugins
@@ -249,26 +282,6 @@
true
-
- org.apache.maven.plugins
- maven-assembly-plugin
-
-
- create-distribution
- package
-
- single
-
-
- ${releaseName}
- false
-
- /src/main/assembly/release.xml
-
-
-
-
-