diff --git a/product/modules/distribution/pom.xml b/product/modules/distribution/pom.xml
index 8fbfc24aa..c13205592 100644
--- a/product/modules/distribution/pom.xml
+++ b/product/modules/distribution/pom.xml
@@ -132,6 +132,40 @@
+
+
+ create-api-mgt-schema
+ package
+
+ run
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
3-extract-docs-from-components
package
diff --git a/product/modules/distribution/src/assembly/bin.xml b/product/modules/distribution/src/assembly/bin.xml
index ac4ba28cd..98e5d19a8 100644
--- a/product/modules/distribution/src/assembly/bin.xml
+++ b/product/modules/distribution/src/assembly/bin.xml
@@ -187,6 +187,17 @@
+
+
+
+ ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/apimgt
+
+ wso2cdm-${project.version}/dbscripts/apimgt
+
+ */**
+
+
+
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/modules
@@ -220,6 +231,7 @@
755
+
wso2cdm-${project.version}/lib/endorsed
@@ -238,7 +250,6 @@
-
wso2cdm-${pom.version}/repository/deployment/server/webapps
@@ -429,6 +440,15 @@
644
+
+
+
+ ${pom.artifactId}-${pom.version}/repository/database
+ WSO2AM_DB.h2.db
+ 644
+