diff --git a/.github/workflows/populate-cache.yml b/.github/workflows/populate-cache.yml
index 47d4d30f6f8..d4c9cd8120a 100644
--- a/.github/workflows/populate-cache.yml
+++ b/.github/workflows/populate-cache.yml
@@ -54,7 +54,7 @@ jobs:
- name: Fetch dependencies
if: steps.restore-cache.outputs.cache-hit != 'true'
- run: mvn --batch-mode --fail-never --no-transfer-progress --show-version dependency:go-offline
+ run: mvn --batch-mode --fail-never --no-transfer-progress --show-version -Pgo-offline -Pdist clean verify
- name: Delete Ozone jars from repo
if: steps.restore-cache.outputs.cache-hit != 'true'
diff --git a/hadoop-ozone/ozonefs-hadoop2/pom.xml b/hadoop-ozone/ozonefs-hadoop2/pom.xml
index ce567348114..8e31b055daa 100644
--- a/hadoop-ozone/ozonefs-hadoop2/pom.xml
+++ b/hadoop-ozone/ozonefs-hadoop2/pom.xml
@@ -123,6 +123,7 @@
unpack
+ ${maven.shade.skip}
META-INF/versions/**/*.*
diff --git a/hadoop-ozone/ozonefs-hadoop3-client/pom.xml b/hadoop-ozone/ozonefs-hadoop3-client/pom.xml
index 4c2e4d5b9c8..4e35e986c15 100644
--- a/hadoop-ozone/ozonefs-hadoop3-client/pom.xml
+++ b/hadoop-ozone/ozonefs-hadoop3-client/pom.xml
@@ -54,6 +54,7 @@
unpack
+ ${maven.shade.skip}
META-INF/versions/**/*.*
@@ -77,6 +78,7 @@
shade
+ ${maven.shade.skip}
diff --git a/hadoop-ozone/ozonefs-hadoop3/pom.xml b/hadoop-ozone/ozonefs-hadoop3/pom.xml
index 48573e63380..6c900c56f86 100644
--- a/hadoop-ozone/ozonefs-hadoop3/pom.xml
+++ b/hadoop-ozone/ozonefs-hadoop3/pom.xml
@@ -74,6 +74,7 @@
unpack
+ ${maven.shade.skip}
META-INF/versions/**/*.*
diff --git a/hadoop-ozone/ozonefs-shaded/pom.xml b/hadoop-ozone/ozonefs-shaded/pom.xml
index 402c30ab2d3..417a4f9dca3 100644
--- a/hadoop-ozone/ozonefs-shaded/pom.xml
+++ b/hadoop-ozone/ozonefs-shaded/pom.xml
@@ -91,6 +91,7 @@
shade
+ ${maven.shade.skip}
diff --git a/hadoop-ozone/pom.xml b/hadoop-ozone/pom.xml
index 4b61b37bc40..256ef137c15 100644
--- a/hadoop-ozone/pom.xml
+++ b/hadoop-ozone/pom.xml
@@ -406,6 +406,13 @@
ozonefs-hadoop3-client
+
+ go-offline
+
+ ozonefs-shaded
+ ozonefs-hadoop2
+
+
build-with-recon
diff --git a/pom.xml b/pom.xml
index 942ed304092..bb751bef34a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2245,6 +2245,17 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs
+
+ go-offline
+
+ void
+ true
+ true
+ true
+ true
+ true
+
+
client