diff --git a/data-node/pom.xml b/data-node/pom.xml
index 00ee7e720178..b3793d7735bb 100644
--- a/data-node/pom.xml
+++ b/data-node/pom.xml
@@ -713,30 +713,6 @@
-
- org.apache.maven.plugins
- maven-assembly-plugin
-
-
- generate-data-node-artifact
- package
-
- single
-
-
-
-
- true
- true
-
- src/main/assembly/datanode.xml
-
-
- ${project.basedir}/../target/assembly
- datanode-${project.version}-${maven.build.timestamp}
-
-
-
org.codehaus.mojo
build-helper-maven-plugin
@@ -773,6 +749,41 @@
+
+ generate-data-node-artifact
+
+
+ !skip.package.assembly
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-assembly-plugin
+
+
+ generate-data-node-artifact
+ package
+
+ single
+
+
+
+
+ true
+ true
+
+ src/main/assembly/datanode.xml
+
+
+ ${project.basedir}/../target/assembly
+ datanode-${project.version}-${maven.build.timestamp}
+
+
+
+
+
release