From fd814c7e2455c615fd06d2b8dc38e183e9b3bd8b Mon Sep 17 00:00:00 2001 From: Geeth Munasinghe Date: Thu, 22 Jan 2015 16:41:34 +0530 Subject: [PATCH] Fixing version issues and changing cdm to mdm --- product/modules/distribution/pom.xml | 20 ++--- .../modules/distribution/src/assembly/bin.xml | 80 +++++++++---------- .../distribution/src/assembly/dist.xml | 2 +- .../src/assembly/filter.properties | 8 +- product/modules/rest-api/pom.xml | 2 - 5 files changed, 55 insertions(+), 57 deletions(-) diff --git a/product/modules/distribution/pom.xml b/product/modules/distribution/pom.xml index 45758abc60..6db365a131 100644 --- a/product/modules/distribution/pom.xml +++ b/product/modules/distribution/pom.xml @@ -29,10 +29,10 @@ 4.0.0 - wso2cdm + wso2mdm jar - WSO2 Connected Device Manager (CDM) - Distribution - WSO2 Connected Device Manager (CDM) Distribution + WSO2 Mobile Device Manager (MDM) - Distribution + WSO2 Mobile Device Manager (MDM) Distribution @@ -213,18 +213,18 @@ - - - + + + - + + dir="${tempdir}/wso2mdm-${project.version}/repository/components"> target/site - wso2cdm-${project.version}/docs + wso2mdm-${project.version}/docs 755 @@ -109,7 +109,7 @@ src/repository/conf - wso2cdm-${project.version}/repository/conf + wso2mdm-${project.version}/repository/conf **/api-manager.xml **/sso-idp-config.xml @@ -120,7 +120,7 @@ ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/security/ - wso2cdm-${project.version}/repository/conf/security/ + wso2mdm-${project.version}/repository/conf/security/ **/entitlement.properties **/trusted-idp-config.xml @@ -131,12 +131,12 @@ ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/resources/rxts/ - wso2cdm-${project.version}/repository/resources/rxts/ + wso2mdm-${project.version}/repository/resources/rxts/ src/repository/conf/datasources - wso2cdm-${project.version}/repository/conf/datasources + wso2mdm-${project.version}/repository/conf/datasources **/master-datasources.xml @@ -145,7 +145,7 @@ src/repository/resources - wso2cdm-${project.version}/repository/resources + wso2mdm-${project.version}/repository/resources */** @@ -153,7 +153,7 @@ src/repository/conf/data-bridge - wso2cdm-${project.version}/repository/conf/data-bridge + wso2mdm-${project.version}/repository/conf/data-bridge 755 @@ -161,7 +161,7 @@ ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/lib/runtimes - wso2cdm-${project.version}/lib/runtimes/ + wso2mdm-${project.version}/lib/runtimes/ */** @@ -170,7 +170,7 @@ ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/service-provider - wso2cdm-${project.version}/dbscripts/service-provider + wso2mdm-${project.version}/dbscripts/service-provider */** @@ -181,7 +181,7 @@ ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/identity - wso2cdm-${project.version}/dbscripts/identity + wso2mdm-${project.version}/dbscripts/identity */** @@ -192,7 +192,7 @@ ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/apimgt - wso2cdm-${project.version}/dbscripts/apimgt + wso2mdm-${project.version}/dbscripts/apimgt */** @@ -202,7 +202,7 @@ ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/modules - wso2cdm-${project.version}/modules/ + wso2mdm-${project.version}/modules/ */** @@ -211,7 +211,7 @@ ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/cdm - wso2cdm-${project.version}/dbscripts/cdm + wso2mdm-${project.version}/dbscripts/cdm */** @@ -226,7 +226,7 @@ src/repository/jaggeryapps - wso2cdm-${project.version}/repository/deployment/server/jaggeryapps + wso2mdm-${project.version}/repository/deployment/server/jaggeryapps 755 @@ -234,13 +234,13 @@ - wso2cdm-${project.version}/lib/endorsed + wso2mdm-${project.version}/lib/endorsed javax.el:el-api:jar - wso2cdm-${project.version}/repository/deployment/client/modules + wso2mdm-${project.version}/repository/deployment/client/modules org.hibernate.wso2:hibernate:jar @@ -252,13 +252,13 @@ ../mobileservices/agents/android/jax-rs/target/cdm-android-api.war - wso2cdm-${pom.version}/repository/deployment/server/webapps + wso2mdm-${pom.version}/repository/deployment/server/webapps 755 ../rest-api/target/wso2cdm-api.war - wso2cdm-${pom.version}/repository/deployment/server/webapps + wso2mdm-${pom.version}/repository/deployment/server/webapps 755 @@ -280,7 +280,7 @@ --> src/repository/conf/tomcat/context.xml - wso2cdm-${project.version}/repository/conf/tomcat + wso2mdm-${project.version}/repository/conf/tomcat true 644 @@ -294,37 +294,37 @@ INSTALL.txt - wso2cdm-${project.version} + wso2mdm-${project.version} true 644 README.txt - wso2cdm-${project.version} + wso2mdm-${project.version} true 644 LICENSE.txt - wso2cdm-${project.version} + wso2mdm-${project.version} true 644 release-notes.html - wso2cdm-${project.version} + wso2mdm-${project.version} true 644 target/wso2carbon-core-${carbon.kernel.version}/bin/README.txt - wso2cdm-${project.version}/bin/ + wso2mdm-${project.version}/bin/ true 644 target/wso2carbon-core-${carbon.kernel.version}/bin/version.txt - wso2cdm-${project.version}/bin/ + wso2mdm-${project.version}/bin/ true 644 @@ -334,7 +334,7 @@ ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/logging-config.xml - wso2cdm-${project.version}/repository/conf/etc + wso2mdm-${project.version}/repository/conf/etc true 644 @@ -344,7 +344,7 @@ ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/event-broker.xml - wso2cdm-${project.version}/repository/conf + wso2mdm-${project.version}/repository/conf true 644 @@ -354,7 +354,7 @@ ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/security/application-authentication.xml - wso2cdm-${project.version}/repository/conf/security + wso2mdm-${project.version}/repository/conf/security true 644 @@ -364,14 +364,14 @@ ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/thrift-authentication.xml - wso2cdm-${project.version}/repository/conf + wso2mdm-${project.version}/repository/conf true 644 src/repository/conf/multitenancy/cloud-services-desc.xml - wso2cdm-${project.version}/repository/conf/multitenancy/ + wso2mdm-${project.version}/repository/conf/multitenancy/ true @@ -383,19 +383,19 @@ --> src/repository/conf/application-authenticators.xml - wso2cdm-${project.version}/repository/conf/security/ + wso2mdm-${project.version}/repository/conf/security/ true 644 target/wso2carbon-core-${carbon.kernel.version}/repository/conf/README - wso2cdm-${project.version}/repository/conf/ + wso2mdm-${project.version}/repository/conf/ true 644 src/repository/conf/identity.xml - wso2cdm-${project.version}/repository/conf + wso2mdm-${project.version}/repository/conf 644 diff --git a/product/modules/distribution/src/assembly/dist.xml b/product/modules/distribution/src/assembly/dist.xml index d0a9a55a8d..beff318242 100644 --- a/product/modules/distribution/src/assembly/dist.xml +++ b/product/modules/distribution/src/assembly/dist.xml @@ -26,7 +26,7 @@ ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/components - wso2cdm-${project.version}/repository/components + wso2mdm-${project.version}/repository/components **/eclipse.ini **/*.lock diff --git a/product/modules/distribution/src/assembly/filter.properties b/product/modules/distribution/src/assembly/filter.properties index a0ebf6302a..19404cf6e9 100644 --- a/product/modules/distribution/src/assembly/filter.properties +++ b/product/modules/distribution/src/assembly/filter.properties @@ -1,7 +1,7 @@ -product.name=WSO2 Connected Device Manager -product.version=2.0.0-SNAPSHOT -product.key=CDM +product.name=WSO2 Mobile Device Manager +product.version=1.0.0-SNAPSHOT +product.key=MDM hotdeployment=true hotupdate=true carbon.version=4.3.0 -default.server.role=CDMPlatform +default.server.role=MDMPlatform diff --git a/product/modules/rest-api/pom.xml b/product/modules/rest-api/pom.xml index e8671c5a0c..354dbdb2d9 100644 --- a/product/modules/rest-api/pom.xml +++ b/product/modules/rest-api/pom.xml @@ -134,13 +134,11 @@ org.wso2.carbon org.wso2.carbon.device.mgt.common - 2.0.0-SNAPSHOT provided org.wso2.carbon org.wso2.carbon.device.mgt.core - 2.0.0-SNAPSHOT provided