diff --git a/modules/distribution/pom.xml b/modules/distribution/pom.xml
index d8299a59..ee463f34 100644
--- a/modules/distribution/pom.xml
+++ b/modules/distribution/pom.xml
@@ -148,6 +148,26 @@
+
+
+
+ replace-for-consent
+ package
+
+ replace
+
+
+ ${basedir}/../p2-profile/iot-core-profile/target/wso2carbon-core-${carbon.kernel.version}/wso2/conf/consent-mgt-config.xml
+
+
+ /ConsentManager/DataSource/Name
+ (jdbc/WSO2CarbonDB)
+ jdbc/WSO2AM_DB
+
+
+
+
+
@@ -450,7 +470,33 @@
+
+
+ create-user-consent-schema
+ package
+
+ run
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
create-app-mgt-schema
diff --git a/pom.xml b/pom.xml
index a13cc369..46627444 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1525,14 +1525,14 @@
4.7.23
- 3.1.3
+ 3.1.3-SNAPSHOT
[3.0.0, 4.0.0)
${project.version}
- 4.1.0
+ 4.1.0-SNAPSHOT
6.2.170