From b331f708dd5d4c9f7f08d712ca0735fd2cf27bef Mon Sep 17 00:00:00 2001 From: prabathabey Date: Mon, 19 Jan 2015 00:54:57 +0530 Subject: [PATCH] Adding default H2 database related file contents to be packed during the phase where the final distribution is created --- product/modules/distribution/pom.xml | 34 +++++++++++++++++++ .../modules/distribution/src/assembly/bin.xml | 18 +++++++--- 2 files changed, 48 insertions(+), 4 deletions(-) diff --git a/product/modules/distribution/pom.xml b/product/modules/distribution/pom.xml index c1320559229..c7ac210bf7c 100644 --- a/product/modules/distribution/pom.xml +++ b/product/modules/distribution/pom.xml @@ -98,6 +98,40 @@ maven-antrun-plugin + + + create-device-mgt-schema + package + + run + + + + + + + + + + + + + + + + + + + + + create-idp-mgt-schema diff --git a/product/modules/distribution/src/assembly/bin.xml b/product/modules/distribution/src/assembly/bin.xml index 98e5d19a837..0209ac3aa4e 100644 --- a/product/modules/distribution/src/assembly/bin.xml +++ b/product/modules/distribution/src/assembly/bin.xml @@ -208,10 +208,10 @@ - + - src/repository/dbscripts/ - wso2cdm-${project.version}/dbscripts + ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/cdm + wso2cdm-${project.version}/dbscripts/cdm */** @@ -443,12 +443,22 @@ - ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/database/WSO2AM_DB.h2.db + target/wso2carbon-core-${carbon.kernel.version}/repository/database/WSO2AM_DB.h2.db ${pom.artifactId}-${pom.version}/repository/database WSO2AM_DB.h2.db 644 + + + + target/wso2carbon-core-${carbon.kernel.version}/repository/database/WSO2DM_DB.h2.db + + ${pom.artifactId}-${pom.version}/repository/database + WSO2DM_DB.h2.db + 644 + +