diff --git a/modules/distribution/src/assembly/bin.xml b/modules/distribution/src/assembly/bin.xml
index a35409da..7a4029ba 100644
--- a/modules/distribution/src/assembly/bin.xml
+++ b/modules/distribution/src/assembly/bin.xml
@@ -576,6 +576,54 @@
+
+
+ ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/metrics/
+
+ ${pom.artifactId}-${pom.version}/dbscripts/metrics
+
+ **/*.sql
+
+ 644
+
+
+
+ ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/mb-store
+
+ ${pom.artifactId}-${pom.version}/dbscripts/mb-store
+
+ **/*.*
+
+ 644
+
+
+
+
+
+ ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/
+
+ ${pom.artifactId}-${pom.version}/repository/conf
+
+
+ **/broker.xml
+
+ 644
+
+
+
+
+
+ ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/advanced/
+
+ ${pom.artifactId}-${pom.version}/repository/conf/advanced
+
+ **/qpid-config.xml
+ **/qpid-virtualhosts.xml
+ **/qpid-jmxremote.access
+
+ 644
+
+
@@ -770,9 +818,7 @@
-
- ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/event-broker.xml
-
+ src/repository/conf/event-broker.xml
${pom.artifactId}-${pom.version}/repository/conf
true
644
@@ -886,6 +932,30 @@
644
+
+
+ ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/metrics.properties
+ ${pom.artifactId}-${pom.version}/repository/conf/
+ false
+ 644
+
+
+ ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/metrics.xml
+ ${pom.artifactId}-${pom.version}/repository/conf/
+ false
+ 644
+
+
+ ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/datasources/metrics-datasources.xml
+ ${pom.artifactId}-${pom.version}/repository/conf/datasources/
+ 644
+
+
+ ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/database/WSO2METRICS_DB.h2.db
+ ${pom.artifactId}-${pom.version}/repository/database/
+ 644
+
+
diff --git a/modules/distribution/src/repository/conf/datasources/master-datasources.xml b/modules/distribution/src/repository/conf/datasources/master-datasources.xml
index a05ea7f0..61c2e973 100755
--- a/modules/distribution/src/repository/conf/datasources/master-datasources.xml
+++ b/modules/distribution/src/repository/conf/datasources/master-datasources.xml
@@ -85,6 +85,28 @@
+
+ WSO2_MB_STORE_DB
+ The datasource used for message broker database
+
+ WSO2MBStoreDB
+
+
+
+ jdbc:h2:repository/database/WSO2MB_DB;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000
+ wso2carbon
+ wso2carbon
+ org.h2.Driver
+ 50
+ 60000
+ true
+ SELECT 1
+ 30000
+ false
+
+
+
+
diff --git a/modules/distribution/src/repository/conf/event-broker.xml b/modules/distribution/src/repository/conf/event-broker.xml
new file mode 100644
index 00000000..4487dc8e
--- /dev/null
+++ b/modules/distribution/src/repository/conf/event-broker.xml
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+ event/topics
+
+
+
+
+ event/topics
+ event/topicIndex
+
+
+
+
+
+
+
+
+
+ 5
+ 50
+ 1000
+ 1000
+
+
+
diff --git a/modules/p2-profile-gen/pom.xml b/modules/p2-profile-gen/pom.xml
index 6855ee8a..3cc53bed 100644
--- a/modules/p2-profile-gen/pom.xml
+++ b/modules/p2-profile-gen/pom.xml
@@ -788,6 +788,18 @@
org.wso2.carbon.dashboards:org.wso2.carbon.dashboards.portal.feature:${carbon.dashboard.version}
+
+ org.wso2.carbon.messaging:org.wso2.carbon.andes.feature:${carbon.messaging.version}
+
+
+ org.wso2.mb:org.wso2.mb.styles.feature:${product.mb.version}
+
+
+ org.wso2.mb:org.wso2.stratos.mb.dashboard.ui.feature:${product.mb.version}
+
+
+ org.wso2.carbon.metrics:org.wso2.carbon.metrics.feature:${carbon.metrics.version}
+
@@ -885,7 +897,6 @@
org.wso2.mdm.mdmmgt.server.feature.group
${carbon.mobile.device.mgt.version}
-
org.wso2.carbon.device.mgt.iot.feature.group
${carbon.mobile.device.mgt.version}
@@ -1663,6 +1674,22 @@
org.wso2.carbon.dashboards.portal.feature.group
${carbon.dashboard.version}
+
+ org.wso2.carbon.messaging.andes.feature.group
+ ${carbon.messaging.version}
+
+
+ org.wso2.mb.styles.feature.group
+ ${product.mb.version}
+
+
+ org.wso2.stratos.mb.dashboard.ui.feature.group
+ ${product.mb.version}
+
+
+ org.wso2.carbon.metrics.feature.group
+ ${carbon.metrics.version}
+
diff --git a/pom.xml b/pom.xml
index 6df3b65f..7f47228b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1081,6 +1081,9 @@
1.0.4
1.0.0-wso2v3
1.0.9
+ 3.0.1
+ 3.0.0
+ 1.1.1
1.0.0
2.0.9
4.3.2