diff --git a/distribution/pom.xml b/distribution/pom.xml
index 6b60eeb129..cf68e356ea 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -108,6 +108,22 @@
com.lmax
disruptor
+
+ org.apache.commons
+ commons-math3
+
+
+ commons-net
+ commons-net
+
+
+ com.github.mwiede
+ jsch
+
+
+ org.wso2.runtime.diagnostics
+ runtime-diagnostics-tool
+
@@ -132,6 +148,15 @@
true
target
+
+ org.wso2.runtime.diagnostics
+ runtime-diagnostics-tool
+ ${diagnostics.tool.version}
+ zip
+ true
+ target
+ diagnostics-tool
+
diff --git a/distribution/src/assembly/bin.xml b/distribution/src/assembly/bin.xml
index 141f0af548..86a0d93e07 100755
--- a/distribution/src/assembly/bin.xml
+++ b/distribution/src/assembly/bin.xml
@@ -190,6 +190,25 @@
+
+ target/diagnostics-tool
+ wso2mi-${pom.version}/diagnostics-tool
+
+ bin/diagnostics
+ lib/**
+
+
+
+
+ src/scripts/
+ ${pom.artifactId}-${pom.version}/diagnostics-tool/bin
+
+
+ **/diagnostics.sh
+
+ 755
+
+
src/conf
wso2mi-${pom.version}/bin
@@ -600,6 +619,13 @@
true
644
+
+
+ wso2mi-${pom.version}/repository/resources/conf/templates/diagnostics-tool/conf
+ config.toml.j2
+ true
+ 644
+
wso2mi-${pom.version}/conf
@@ -644,6 +670,10 @@
org.apache.logging.log4j:log4j-jcl:jar
org.slf4j:slf4j-simple:jar
com.lmax:disruptor:jar
+ org.apache.commons:commons-math3:jar
+ commons-net:commons-net
+ com.github.mwiede:jsch
+ org.wso2.runtime.diagnostics:runtime-diagnostics-tool:jar
+
+ org.wso2.runtime.diagnostics
+ runtime-diagnostics-tool
+ ${diagnostics.tool.version}
+
+
+ org.apache.commons
+ commons-math3
+ ${commons.math.version}
+
+
+ commons-net
+ commons-net
+ ${commons.net.version}
+
+
+ com.github.mwiede
+ jsch
+ ${jsch.version}
+
+
org.wso2.carbon.crypto
@@ -1686,6 +1708,12 @@
1.1.0
+
+ 3.6.1
+ 3.10.0
+ 1.0.14
+ 0.2.16
+
1.0.20
[0.0.0, 1.0.0)
[2.6.0, 3.0.0)