diff --git a/product/modules/distribution/src/assembly/bin.xml b/product/modules/distribution/src/assembly/bin.xml
index d9dd5e2378..fc51f7b33d 100644
--- a/product/modules/distribution/src/assembly/bin.xml
+++ b/product/modules/distribution/src/assembly/bin.xml
@@ -216,13 +216,38 @@
${project.artifactId}-${project.version}/repository/resources
-
+
+
src/repository/jaggeryapps
wso2mdm-${project.version}/repository/deployment/server/jaggeryapps
755
+
+
+
+ ../p2-profile-gen/target/wso2carbon-core-${carbon.platform.version}/repository/deployment/server/jaggeryapps/publisher/
+ wso2am-${pom.version}/repository/deployment/server/jaggeryapps/publisher
+
+ publisherLogo/**
+ publisherTheme/**
+ publisherSite/**
+ footer/**
+ localstyles.css
+
+
+
+ ../p2-profile-gen/target/wso2carbon-core-${carbon.platform.version}/repository/deployment/server/jaggeryapps/store/
+ wso2am-${pom.version}/repository/deployment/server/jaggeryapps/store
+
+ storeLogo/**
+ storeSite/**
+ base-page/**
+ login/**
+ styles-layout.css
+
+
diff --git a/product/modules/p2-profile-gen/pom.xml b/product/modules/p2-profile-gen/pom.xml
index 5cb9a53ee6..837355e2e9 100644
--- a/product/modules/p2-profile-gen/pom.xml
+++ b/product/modules/p2-profile-gen/pom.xml
@@ -259,12 +259,18 @@
org.wso2.carbon:org.wso2.carbon.governance.lifecycle.management.feature:${carbon.platform.version}
-
-
-
- org.wso2.carbon:org.wso2.carbon.identity.self.registration.feature:${carbon.platform.version}
+
+
+ org.wso2.carbon:org.wso2.carbon.identity.self.registration.server.feature:${carbon.platform.version}
+
+
+
+
+ org.wso2.carbon:org.wso2.carbon.apimgt.publisher.feature:${carbon.platform.version}
+
+
+ org.wso2.carbon:org.wso2.carbon.apimgt.store.feature:${carbon.platform.version}
-
@@ -301,8 +307,6 @@
-
-
@@ -465,14 +469,12 @@
${carbon.platform.version}
-
- org.wso2.carbon.identity.self.registration.feature.group
+ org.wso2.carbon.identity.self.registration.server.feature.group
${carbon.platform.version}
-
org.wso2.carbon.registry.core.feature.group
${carbon.platform.version}
@@ -531,7 +533,17 @@
${carbon.platform.version}
-
+
+
+ org.wso2.carbon.apimgt.publisher.feature.group
+ ${carbon.platform.version}
+
+
+ org.wso2.carbon.apimgt.store.feature.group
+ ${carbon.platform.version}
+
+
+
org.wso2.carbon.identity.application.authenticator.basicauth.server.feature.group