diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml
index 294e0bbf3d..71a2a3b90f 100644
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -214,6 +214,8 @@
5.3.0
2.4.7
9.8.1
+ v12.22.1
+ v1.22.5
1.10.11
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-catalog/hadoop-yarn-applications-catalog-webapp/pom.xml b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-catalog/hadoop-yarn-applications-catalog-webapp/pom.xml
index cbcd13abb9..bae498cfb4 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-catalog/hadoop-yarn-applications-catalog-webapp/pom.xml
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-catalog/hadoop-yarn-applications-catalog-webapp/pom.xml
@@ -299,8 +299,8 @@
generate-resources
- v8.11.3
- v1.7.0
+ ${nodejs.version}
+ ${yarnpkg.version}
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/pom.xml b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/pom.xml
index d8be4c7667..ca291ec85d 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/pom.xml
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/pom.xml
@@ -184,8 +184,8 @@
install-node-and-yarn
- v12.22.1
- v1.22.5
+ ${nodejs.version}
+ ${yarnpkg.version}