diff --git a/modules/distribution/pom.xml b/modules/distribution/pom.xml
index 9f197af0..c7828d37 100644
--- a/modules/distribution/pom.xml
+++ b/modules/distribution/pom.xml
@@ -322,6 +322,37 @@
+
+
+ create-social-db-schema
+ package
+
+ run
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
3-extract-docs-from-components
package
diff --git a/modules/distribution/src/repository/conf/datasources/master-datasources.xml b/modules/distribution/src/repository/conf/datasources/master-datasources.xml
index 838a6959..1627f55f 100755
--- a/modules/distribution/src/repository/conf/datasources/master-datasources.xml
+++ b/modules/distribution/src/repository/conf/datasources/master-datasources.xml
@@ -64,6 +64,27 @@
+
+ WSO2_SOCIAL_DB
+ The datasource used for Store social database
+
+ jdbc/WSO2_SOCIAL_DB
+
+
+
+ jdbc:h2:repository/database/WSO2_SOCIAL_DB;DB_CLOSE_ON_EXIT=FALSE
+ wso2carbon
+ wso2carbon
+ org.h2.Driver
+ 50
+ 60000
+ true
+ SELECT 1
+ 30000
+
+
+
+
diff --git a/modules/p2-profile-gen/pom.xml b/modules/p2-profile-gen/pom.xml
index 8b2bfe74..9a3bcb9d 100644
--- a/modules/p2-profile-gen/pom.xml
+++ b/modules/p2-profile-gen/pom.xml
@@ -474,9 +474,9 @@
org.wso2.carbon.appmgt:org.wso2.carbon.appmgt.store.feature:${appmgt.feature.version}
-
-
-
+
+ org.wso2.carbon.store:org.wso2.carbon.social.feature:${carbon.store.version}
+
@@ -1261,11 +1261,11 @@
-
-
-
-
-
+
+ org.wso2.carbon.social.feature.group
+ ${carbon.store.version}
+
+ Cipher tool feature
org.wso2.ciphertool.feature.group