From e01a7fe2d865256c37d93fece578219c7265d8ca Mon Sep 17 00:00:00 2001 From: Shabirmean Date: Mon, 4 Jan 2016 18:48:17 +0530 Subject: [PATCH] Moved DB Creation for Android and Windows to feature from product pom --- modules/distribution/pom.xml | 63 ----------------------- modules/distribution/src/assembly/bin.xml | 53 ++++++++++++------- 2 files changed, 35 insertions(+), 81 deletions(-) diff --git a/modules/distribution/pom.xml b/modules/distribution/pom.xml index 4cc4049c..cf5ed6e5 100644 --- a/modules/distribution/pom.xml +++ b/modules/distribution/pom.xml @@ -161,69 +161,6 @@ - - - create-mobile-android-plugin-mgt-schema - package - - run - - - - - - - - - - - - - - - - - - - - - - - - create-mobile-windows-plugin-mgt-schema - package - - run - - - - - - - - - - - - - - - - - - - - diff --git a/modules/distribution/src/assembly/bin.xml b/modules/distribution/src/assembly/bin.xml index 583601b8..6160ff53 100644 --- a/modules/distribution/src/assembly/bin.xml +++ b/modules/distribution/src/assembly/bin.xml @@ -596,6 +596,22 @@ **/* + + + + + + + src/repository/patches + + + ${pom.artifactId}-${pom.version}/repository/components/patches + + + **/* + + + @@ -1070,25 +1086,26 @@ 644 - - - - - - - - - - - - - - - - - - + + + + ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/database/WSO2MobileAndroid_DB.h2.db + + ${pom.artifactId}-${pom.version}/repository/database + WSO2MobileAndroid_DB.h2.db + 644 + + + + + + ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/database/WSO2MobileWindows_DB.h2.db + + ${pom.artifactId}-${pom.version}/repository/database + WSO2MobileWindows_DB.h2.db + 644 + src/repository/conf/carbon.xml