diff --git a/modules/distribution/pom.xml b/modules/distribution/pom.xml index caeb6425..33389254 100644 --- a/modules/distribution/pom.xml +++ b/modules/distribution/pom.xml @@ -18,8 +18,8 @@ --> + xmlns="http://maven.apache.org/POM/4.0.0" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> org.wso2.iot @@ -35,708 +35,735 @@ WSO2 IoT Server - Distribution WSO2 IoT Server Distribution - - - com.h2database.wso2 - h2-database-engine - - - - - - - org.codehaus.mojo - buildnumber-maven-plugin - ${maven-buildnumber-plugin.version} - - {0,date,dd MMM yyyy} - - timestamp - - false - false - - - - validate - - create - - - - - - - org.apache.maven.plugins - maven-dependency-plugin - false - - - 2-unpack-wso2carbon - package - - unpack - - - - - org.wso2.carbon - wso2carbon-core - ${carbon.kernel.version} - zip - true - target - - - - - - - - - org.apache.maven.plugins - maven-antrun-plugin - - - - create-device-mgt-schema - package - - run - - - - - - - - - - - - - - - - - - - - - - - - create-ios-mobile-plugin-mgt-schema - package - - run - - - - - - - - - - - - - - - - - - - - - - - - create-mobile-android-plugin-mgt-schema - package - - run - - - - - - - - - - - - - - - - - - - - - - - - create-mobile-windows-plugin-mgt-schema - package - - run - - - - - - - - - - - - - - - - - - - - - - - create-virtual-firealarm-plugin-mgt-schema - package - - run - - - - - - - - - - - - - - - - - - - - - - - create-android-sense-plugin-mgt-schema - package - - run - - - - - - - - - - - - - - - - - - - - - - - - - - create-digital-display-plugin-mgt-schema - package - - run - - - - - - - - - - - - - - - - - - - - - - - - create-drone-analyzer-plugin-mgt-schema - package - - run - - - - - - - - - - - - - - - - - - - - - - - - - create-arduino-plugin-mgt-schema - package - - run - - - - - - - - - - - - - - - - - - - - - - - - create-raspberrypi-plugin-mgt-schema - package - - run - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - create-api-mgt-schema - package - - run - - - - - - - - - - - - - - - - - - - - - - - - create-social-db-schema - package - - run - - - - - - - - - - - - - - - - - - - - - - - 3-extract-docs-from-components - package - - run - - - - - - - - - - - - - - - - - - - - - + create-device-mgt-schema + package + + run + + + + + + + + + + + + + + + + + + + + + + + + create-ios-mobile-plugin-mgt-schema + package + + run + + + + + + + + + + + + + + + + + + + + + + + + create-mobile-android-plugin-mgt-schema + package + + run + + + + + + + + + + + + + + + + + + + + + + + + create-mobile-windows-plugin-mgt-schema + package + + run + + + + + + + + + + + + + + + + + + + + + + + create-virtual-firealarm-plugin-mgt-schema + package + + run + + + + + + + + + + + + + + + + + + + + + + + create-android-sense-plugin-mgt-schema + package + + run + + + + + + + + + + + + + + + + + + + + + + + + + + create-digital-display-plugin-mgt-schema + package + + run + + + + + + + + + + + + + + + + + + + + + + + + create-drone-analyzer-plugin-mgt-schema + package + + run + + + + + + + + + + + + + + + + + + + + + + + + + create-arduino-plugin-mgt-schema + package + + run + + + + + + + + + + + + + + + + + + + + + + + + create-raspberrypi-plugin-mgt-schema + package + + run + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + create-api-mgt-schema + package + + run + + + + + + + + + + + + + + + + + + + + + + + + create-social-db-schema + package + + run + + + + + + + + + + + + + + + + + + + + + + + 3-extract-docs-from-components + package + + run + + + + + + + + + + + + + + + + + + + + + - - - og4j.logger.net.sf.ehcache=ERROR - - - - - - - - - copy_modules_apps - package - - - - - - - - - - run - - - - clean_target - install - - - - - - - - - - - - - - - - - - - - run - - - - - - - org.apache.maven.plugins - maven-assembly-plugin - - - 1-pre-dist - test - - - single - - - false - UTF-8 - - ${basedir}/src/assembly/filter.properties - - - ${basedir}/src/assembly/dist.xml - - - - - 2-dist - package - - single - - - false - UTF-8 - - ${basedir}/src/assembly/filter.properties - - - ${basedir}/src/assembly/bin.xml - - - - - - - org.apache.maven.plugins - maven-deploy-plugin - - true - - - - com.google.code.maven-replacer-plugin - replacer - 1.5.2 - - - - replace-for-api-manager - prepare-package - - replace - - - - ${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/api-manager.xml - - - - /APIManager/GatewayType - Synapse - None - - - - - - - replace-for-api-publisher - prepare-package - - replace - - - ${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/jaggeryapps/api-publisher/site/conf/site.json - - - (/publisher) - /api-publisher - - - - - - replace-for-api-store - prepare-package - - replace - - - ${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/jaggeryapps/api-store/site/conf/site.json - - - (/store) - /api-store - - - - - - - - - - + + + + + + + + + --> + + + og4j.logger.net.sf.ehcache=ERROR + + + + + + + + + + copy_modules_apps + package + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + run + + + + clean_target + install + + + + + + + + + + + + + + + + + + + + run + + + + + + + org.apache.maven.plugins + maven-assembly-plugin + + + 1-pre-dist + test + + + single + + + false + UTF-8 + + ${basedir}/src/assembly/filter.properties + + + ${basedir}/src/assembly/dist.xml + + + + + 2-dist + package + + single + + + false + UTF-8 + + ${basedir}/src/assembly/filter.properties + + + ${basedir}/src/assembly/bin.xml + + + + + + + org.apache.maven.plugins + maven-deploy-plugin + + true + + + + com.google.code.maven-replacer-plugin + replacer + 1.5.2 + + + + replace-for-api-manager + prepare-package + + replace + + + + ${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/api-manager.xml + + + + /APIManager/GatewayType + Synapse + None + + + + + + + replace-for-api-publisher + prepare-package + + replace + + + + ${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/jaggeryapps/api-publisher/site/conf/site.json + + + + (/publisher) + /api-publisher + + + + + + replace-for-api-store + prepare-package + + replace + + + + ${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/jaggeryapps/api-store/site/conf/site.json + + + + (/store) + /api-store + + + + + + + + + org.apache.maven.plugins + maven-clean-plugin + + + auto-clean + initialize + + clean + + + + + + diff --git a/modules/distribution/src/repository/resources/security/client-truststore.jks b/modules/distribution/src/repository/resources/security/client-truststore.jks new file mode 100644 index 00000000..ab222fdd Binary files /dev/null and b/modules/distribution/src/repository/resources/security/client-truststore.jks differ diff --git a/modules/distribution/src/repository/resources/security/wso2carbon.jks b/modules/distribution/src/repository/resources/security/wso2carbon.jks new file mode 100644 index 00000000..79784a5e Binary files /dev/null and b/modules/distribution/src/repository/resources/security/wso2carbon.jks differ diff --git a/modules/distribution/src/repository/resources/security/wso2certs.jks b/modules/distribution/src/repository/resources/security/wso2certs.jks new file mode 100644 index 00000000..eb27997d Binary files /dev/null and b/modules/distribution/src/repository/resources/security/wso2certs.jks differ diff --git a/modules/integration/tests-integration/src/test/resources/keystores/products/client-truststore.jks b/modules/integration/tests-integration/src/test/resources/keystores/products/client-truststore.jks index cd16dd7e..ab222fdd 100644 Binary files a/modules/integration/tests-integration/src/test/resources/keystores/products/client-truststore.jks and b/modules/integration/tests-integration/src/test/resources/keystores/products/client-truststore.jks differ diff --git a/modules/integration/tests-integration/src/test/resources/keystores/products/wso2carbon.jks b/modules/integration/tests-integration/src/test/resources/keystores/products/wso2carbon.jks index 7942c53c..79784a5e 100644 Binary files a/modules/integration/tests-integration/src/test/resources/keystores/products/wso2carbon.jks and b/modules/integration/tests-integration/src/test/resources/keystores/products/wso2carbon.jks differ diff --git a/modules/integration/tests-ui-integration/src/test/resources/keystores/stratos/client-truststore.jks b/modules/integration/tests-ui-integration/src/test/resources/keystores/stratos/client-truststore.jks index cd16dd7e..ab222fdd 100644 Binary files a/modules/integration/tests-ui-integration/src/test/resources/keystores/stratos/client-truststore.jks and b/modules/integration/tests-ui-integration/src/test/resources/keystores/stratos/client-truststore.jks differ diff --git a/modules/integration/tests-ui-integration/src/test/resources/keystores/stratos/wso2carbon.jks b/modules/integration/tests-ui-integration/src/test/resources/keystores/stratos/wso2carbon.jks index 7942c53c..79784a5e 100644 Binary files a/modules/integration/tests-ui-integration/src/test/resources/keystores/stratos/wso2carbon.jks and b/modules/integration/tests-ui-integration/src/test/resources/keystores/stratos/wso2carbon.jks differ diff --git a/modules/samples/installer/device-deployer.xml b/modules/samples/installer/device-deployer.xml new file mode 100644 index 00000000..0827112a --- /dev/null +++ b/modules/samples/installer/device-deployer.xml @@ -0,0 +1,139 @@ + + + + + org.wso2.iot + wso2iot-parent + 1.0.0-SNAPSHOT + ../../pom.xml + + + + 4.0.0 + org.wso2.iot.devicetypes + devicetype-feature-installation + 1.0.0 + pom + Creating custom distribution + http://wso2.org + + + + + org.wso2.maven + carbon-p2-plugin + 1.5.3 + + + + 2-p2-repo-generation + package + + p2-repo-gen + + + file:${basedir}/samples/p2-repo + file:${basedir}/samples/p2-repo + true + true + + + + {FEATURE_ARTIFACT_DEF}.feature:{FEATURE_VERSION} + + + + + + + + + + + org.wso2.maven + carbon-p2-plugin + 1.5.3 + + + feature-install + package + + p2-profile-gen + + + default + file:${basedir}/samples/p2-repo + file:${basedir}/samples/p2-repo + repository/components + true + + + {FEATURE_ARTIFACT_DEF}.feature.group + {FEATURE_VERSION} + + + + + + + + org.apache.maven.plugins + maven-antrun-plugin + 1.1 + + + package + + + + + + + + + run + + + + + + + + + wso2-nexus + WSO2 internal Repository + http://maven.wso2.org/nexus/content/groups/wso2-public/ + + true + daily + ignore + + + + + + wso2-maven2-repository + http://dist.wso2.org/maven2 + + + wso2-maven2-snapshot-repository + http://dist.wso2.org/snapshots/maven2 + + + \ No newline at end of file