From 247dfa98201cba74be417be998895b91a3b2ccfd Mon Sep 17 00:00:00 2001 From: charithag Date: Fri, 27 Nov 2015 11:10:37 +0530 Subject: [PATCH] Migrated to CDMF with Generic UI --- modules/distribution/pom.xml | 113 ++----- modules/distribution/src/assembly/bin.xml | 351 +++++++++++----------- modules/integration/pom.xml | 37 +-- modules/p2-profile-gen/pom.xml | 220 ++++---------- pom.xml | 74 ++--- 5 files changed, 289 insertions(+), 506 deletions(-) diff --git a/modules/distribution/pom.xml b/modules/distribution/pom.xml index 7dd17cbe..c163fb0a 100644 --- a/modules/distribution/pom.xml +++ b/modules/distribution/pom.xml @@ -1,24 +1,24 @@ - - + + @@ -104,31 +104,6 @@ maven-antrun-plugin - - - - social-h2-table-gen - package - - - - - - - - - - - - - - run - - - - create-device-mgt-schema @@ -315,56 +290,6 @@ - - - install_samples - package - - - - - - - - - - - - - - - - - - - - - - - - - - - run - - - install_libs package diff --git a/modules/distribution/src/assembly/bin.xml b/modules/distribution/src/assembly/bin.xml index cb1fd111..beb2ca02 100644 --- a/modules/distribution/src/assembly/bin.xml +++ b/modules/distribution/src/assembly/bin.xml @@ -1,20 +1,20 @@ + ~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. + ~ + ~ WSO2 Inc. licenses this file to you under the Apache License, + ~ Version 2.0 (the "License"); you may not use this file except + ~ in compliance with the License. + ~ You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, + ~ software distributed under the License is distributed on an + ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + ~ KIND, either express or implied. See the License for the + ~ specific language governing permissions and limitations + ~ under the License. + --> bin @@ -349,106 +349,126 @@ **/publisher/config/publisher-tenant.json **/sso/jaggery.conf **/sso/views/register_new_user.jag + **/devicemgt/* - - + - lib/home + + ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/jaggeryapps/devicemgt/ + - ${pom.artifactId}-${pom.version}/repository/deployment/server/webapps/STRATOS_ROOT + ${pom.artifactId}-${pom.version}/repository/deployment/server/jaggeryapps/iotserver - - - ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/client - ${pom.artifactId}-${pom.version}/lib - - */** - - - - - - ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/jaxwebapps + ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/webapps/ - ${pom.artifactId}-${pom.version}/repository/deployment/server/jaxwebapps + ${pom.artifactId}-${pom.version}/repository/deployment/server/webapps/ - - oauth2endpoints.war - + false + 644 - + - target/jaxwebapps - ${pom.artifactId}-${pom.version}/repository/deployment/server/jaxwebapps + lib/home + + ${pom.artifactId}-${pom.version}/repository/deployment/server/webapps/STRATOS_ROOT - - **/** - - - ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/bin - ${pom.artifactId}-${pom.version}/bin/ - - **/ciphertool.sh - **/ciphertool.bat - - + + + + + + + - - ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/lib - ${pom.artifactId}-${pom.version}/lib/ - - **/org.wso2.ciphertool-1.0.0-wso2v3.jar - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - src/repository/conf/etc - ${pom.artifactId}-${pom.version}/repository/conf/etc/ - - **/** - - + + + + + + + + + + + + + + + + + + - - - ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/resources/security/ - - ${pom.artifactId}-${pom.version}/repository/resources/security/ - - - **/sso_redirect.html - - + + + + + + + + + + - - - ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/webapps - - ${pom.artifactId}-${pom.version}/repository/deployment/server/webapps - - - shindig.war - - + + + + + + + + + + @@ -476,29 +496,6 @@ - - - - ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/webapps - - ${pom.artifactId}-${pom.version}/repository/deployment/server/webapps - - common.war - - - - - - - ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/webapps - - ${pom.artifactId}-${pom.version}/repository/deployment/server/webapps - - authenticationendpoint.war - oauth2.war - - - src/api-resource/customsequences @@ -690,31 +687,31 @@ true 644 - - - ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/iot-config.xsd - - ${pom.artifactId}-${pom.version}/repository/conf/iot - true - 644 - - - - ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/devicecloud-config.xml - - ${pom.artifactId}-${pom.version}/repository/conf/iot - true - 644 - + + + + + + + + + + + + + + + + - - - ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/devicecloud-config.xsd - - ${pom.artifactId}-${pom.version}/repository/conf/iot - true - 644 - + + + + + + + + INSTALL.txt ${pom.artifactId}-${pom.version} @@ -818,14 +815,14 @@ - - - ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/app-management-config.xml - - ${pom.artifactId}-${pom.version}/repository/conf/etc - true - 644 - + + + + + + + + @@ -951,52 +948,52 @@ - - - ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/email/email-admin-config.xml - - ${pom.artifactId}-${pom.version}/repository/conf/email - true - 644 - + + + + + + + + - - - ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/claim-config.xml - - ${pom.artifactId}-${pom.version}/repository/conf - true - 644 - + + + + + + + + - - ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/social.xml - - ${pom.artifactId}-${pom.version}/repository/conf/ - true - 644 - + + + + + + + - - - ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/datasources/social-datasources.xml - - ${pom.artifactId}-${pom.version}/repository/conf/datasources/ - true - 644 - + + + + + + + + - - - ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/shindig.properties - ${pom.artifactId}-${pom.version}/repository/conf - true - 644 - + + + + + + + diff --git a/modules/integration/pom.xml b/modules/integration/pom.xml index ad3b577f..03c6fa7b 100644 --- a/modules/integration/pom.xml +++ b/modules/integration/pom.xml @@ -1,23 +1,24 @@ + ~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. + ~ + ~ WSO2 Inc. licenses this file to you under the Apache License, + ~ Version 2.0 (the "License"); you may not use this file except + ~ in compliance with the License. + ~ You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, + ~ software distributed under the License is distributed on an + ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + ~ KIND, either express or implied. See the License for the + ~ specific language governing permissions and limitations + ~ under the License. + --> - org.wso2.iot @@ -37,7 +38,7 @@ tests-integration tests-platform - tests-samples + diff --git a/modules/p2-profile-gen/pom.xml b/modules/p2-profile-gen/pom.xml index 026931e9..d3730437 100644 --- a/modules/p2-profile-gen/pom.xml +++ b/modules/p2-profile-gen/pom.xml @@ -1,23 +1,24 @@ + - + org.wso2.iot @@ -110,45 +111,44 @@ org.wso2.carbon:org.wso2.carbon.core.ui.feature:${carbon.kernel.version} - - - - org.wso2.carbon.device.mgt.iot:org.wso2.carbon.device.mgt.iot.feature:${carbon.iot.device.mgt.version} - - - org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.server.feature:${carbon.device.mgt.version} - org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.extensions.feature:${carbon.device.mgt.version} + org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.group.server.feature:${carbon.device.mgt.version} - org.wso2.carbon.devicemgt:org.wso2.carbon.policy.mgt.server.feature:${carbon.device.mgt.version} + org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.extensions.feature:${carbon.device.mgt.version} - org.wso2.carbon.devicemgt:org.wso2.carbon.apimgt.webapp.publisher.feature:${carbon.device.mgt.version} + org.wso2.carbon.devicemgt:org.wso2.carbon.policy.mgt.server.feature:${carbon.device.mgt.version} - org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.group.server.feature:${carbon.device.mgt.version} + org.wso2.carbon.devicemgt:org.wso2.carbon.certificate.mgt.server.feature:${carbon.device.mgt.version} org.wso2.carbon.devicemgt:org.wso2.carbon.webapp.authenticator.framework.server.feature:${carbon.device.mgt.version} - org.wso2.carbon.devicemgt:org.wso2.carbon.certificate.mgt.server.feature:${carbon.device.mgt.version} + org.wso2.carbon.devicemgt:org.wso2.carbon.dynamic.client.registration.server.feature:${carbon.device.mgt.version} - org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.server.feature:${carbon.device.mgt.version} + org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.oauth.extensions.feature:${carbon.device.mgt.version} - org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.analytics.server.feature:${carbon.device.mgt.version} + org.wso2.carbon.devicemgt:org.wso2.carbon.apimgt.webapp.publisher.feature:${carbon.device.mgt.version} - org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.enterprise.store.feature:${carbon.device.mgt.version} + org.wso2.carbon.devicemgt:org.wso2.carbon.devicemgt.ui.feature:${carbon.device.mgt.version} - + + + + + + + @@ -440,61 +440,8 @@ - - - - org.wso2.carbon.store:org.wso2.carbon.store.feature:${carbon.store.version} - - - org.wso2.carbon.store:event.feature:${carbon.store.version} - - - org.wso2.carbon.store:login.feature:${carbon.store.version} - - - org.wso2.carbon.store:permission.feature:${carbon.store.version} - - - org.wso2.carbon.store:registration.feature:${carbon.store.version} - - - org.wso2.carbon.store:bampublisher.feature:${carbon.store.version} - - - org.wso2.carbon.store:store.feature:${carbon.store.version} - - - org.wso2.carbon.store:ues.feature:${carbon.store.version} - - - org.wso2.carbon.store:account-management.feature:${carbon.store.version} - - - org.wso2.carbon.store:rxt.feature:${carbon.store.version} - - - org.wso2.carbon.store:utils.feature:${carbon.store.version} - - - org.wso2.carbon.store:lifecycle.feature:${carbon.store.version} - - - org.wso2.carbon.store:org.wso2.carbon.social.feature:${carbon.social.version} - - - org.wso2.carbon.store:org.wso2.carbon.store.extensions.assets.gadget.feature:${carbon.store.version} - - - org.wso2.carbon.store:org.wso2.carbon.store.extensions.assets.site.feature:${carbon.store.version} - - + - - - - - - @@ -520,8 +467,6 @@ org.wso2.ciphertool:org.wso2.ciphertool.feature:${ciphertool.version} - - org.wso2.carbon.mediation:org.apache.synapse.wso2.feature:${carbon.mediation.version} @@ -614,8 +559,6 @@ org.wso2.carbon.data:org.wso2.carbon.datasource.reader.hadoop.server.feature:${carbon.data.version} - - org.wso2.carbon.commons:org.wso2.carbon.application.mgt.feature:${carbon.commons.version} @@ -732,12 +675,6 @@ ${carbon.kernel.version} - - - org.wso2.carbon.device.mgt.iot.feature.group - ${carbon.iot.device.mgt.version} - - @@ -769,13 +706,28 @@ ${carbon.device.mgt.version} - org.wso2.carbon.device.mgt.analytics.server.feature.group + + org.wso2.carbon.dynamic.client.registration.server.feature.group + + ${carbon.device.mgt.version} + + + org.wso2.carbon.device.mgt.oauth.extensions.feature.group + ${carbon.device.mgt.version} - org.wso2.carbon.device.mgt.enterprise.store.feature.group + org.wso2.carbon.devicemgt.ui.feature.group ${carbon.device.mgt.version} + + + + + + + + @@ -1163,74 +1115,6 @@ - - - - - - org.wso2.carbon.store.feature.group - ${carbon.store.version} - - - org.wso2.store.modules.event.feature.group - ${carbon.store.version} - - - org.wso2.store.modules.login.feature.group - ${carbon.store.version} - - - org.wso2.store.modules.permission.feature.group - ${carbon.store.version} - - - org.wso2.store.modules.registration.feature.group - ${carbon.store.version} - - - org.wso2.store.modules.bampublisher.feature.group - ${carbon.store.version} - - - org.wso2.store.modules.store.feature.group - ${carbon.store.version} - - - org.wso2.store.modules.ues.feature.group - ${carbon.store.version} - - - org.wso2.store.modules.account-management.feature.group - ${carbon.store.version} - - - org.wso2.store.modules.rxt.feature.group - ${carbon.store.version} - - - org.wso2.store.modules.utils.feature.group - ${carbon.store.version} - - - org.wso2.store.modules.lifecycle.feature.group - ${carbon.store.version} - - - org.wso2.carbon.social.feature.group - ${carbon.social.version} - - - - - - - - - - - - - diff --git a/pom.xml b/pom.xml index c1bf1500..f8069e79 100644 --- a/pom.xml +++ b/pom.xml @@ -1,23 +1,24 @@ - - + + 4.0.0 @@ -412,27 +413,6 @@ org.wso2.carbon.device.mgt.analytics ${carbon.device.mgt.version} - - org.wso2.carbon.devicemgt - org.wso2.carbon.policy.mgt.core - ${carbon.device.mgt.version} - - - org.wso2.carbon.devicemgt - org.wso2.carbon.policy.mgt.common - ${carbon.device.mgt.version} - - - - - - - - org.wso2.carbon.iot - org.wso2.carbon.device.mgt.iot.common - ${carbon.iot.device.mgt.version} - - @@ -834,7 +814,7 @@ 1.3 - 0.12.0-M1 + 0.12.0 1.5.0-M1 1.5.0-M1 1.5.0-M1 @@ -845,17 +825,13 @@ 1.5.0-M1 1.5.0-M1 - - 2.3.9-SNAPSHOT - 2.3.9-SNAPSHOT - 1.0.5 1.0.0-wso2v3 2.2 - 4.4.1 + 4.4.2 6.8.5 4.4.1 1.1.0 @@ -879,10 +855,10 @@ 4.6.0 - 4.6.0-SNAPSHOT + 5.0.2 - 4.5.0-m1 + 4.5.0 4.4.8 @@ -899,10 +875,10 @@ 1.0.0-SNAPSHOT - 4.4.11-SNAPSHOT + 4.4.11 - 4.3.0-SNAPSHOT + 4.3.0 7.0.59.wso2v1