diff --git a/.github/workflows/populate-cache.yml b/.github/workflows/populate-cache.yml
index 47d4d30f6f82..d4c9cd8120ab 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 c24aea74c417..3fe4f014eb1a 100644
--- a/hadoop-ozone/ozonefs-hadoop2/pom.xml
+++ b/hadoop-ozone/ozonefs-hadoop2/pom.xml
@@ -128,6 +128,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 3cb0511a58c2..df041cf844bf 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 b9dec3fd1eef..0f15eaf8363b 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 50464907f1b3..05caaf934de6 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 370401b6dc69..686d3bbf9a8a 100644
--- a/hadoop-ozone/pom.xml
+++ b/hadoop-ozone/pom.xml
@@ -408,6 +408,13 @@
ozonefs-hadoop3-client
+
+ go-offline
+
+ ozonefs-shaded
+ ozonefs-hadoop2
+
+
build-with-recon
diff --git a/pom.xml b/pom.xml
index b33d2d518ee6..010be5b03757 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2216,6 +2216,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