Deleted everything from local and cloned

   1. carbon-device-mgt
   2. carbon-device-mgt-plugins
   3. product-iots

and tried to build above order. *carbon-device-mgt *and
*carbon-device-mgt-plugins
*built successfully. But when build *product-iots*, got following error:

> [DEBUG]         reference:file:C:/Users/Hasan
>> Syed/.m2/repository/org/eclipse/tycho/org.eclipse.tycho.p2.tools.impl/0.13.0/org.eclipse.tycho.p2.tools.impl-0.13.0.jar
>
> [INFO] Command line:
>
>         cmd.exe /X /C ""C:\Program
>> Files\Java\jdk1.8.0_201\jre\bin\java.exe" -jar "C:\Users\Hasan
>> Syed\.m2\repository\org\eclipse\tycho\tycho-p2-runtime\0.13.0\eclipse\plugins\org.eclipse.equinox.launcher_1.2.0.v20110725-1610.jar"
>> -debug -consoleLog -nosplash -application org.eclipse.equinox.p2.director
>> -metadataRepository
>> file:C:/wso2/product-iots/modules/p2-profile/iot-core-profile/target/p2-repo
>> -artifactRepository
>> file:C:/wso2/product-iots/modules/p2-profile/iot-core-profile/target/p2-repo
>> -profileProperties org.eclipse.update.install.features=true -installIU
>> org.wso2.carbon.identity.captcha.server.feature.group/1.0.38,org.wso2.carbon.identity.governance.feature.group/1.0.38,org.wso2.carbon.identity.handler.event.account.lock.feature.group/1.1.12,org.wso2.carbon.identity.inbound.metadata.saml2.server.feature.group/0.1.1,org.wso2.carbon.identity.sp.metadata.saml2.server.feature.group/1.0.5,org.wso2.iot.core.styles.feature.group/3.3.1.SNAPSHOT,org.wso2.carbon.appmgt.mdm.osgiconnector.feature.group/4.1.20,org.wso2.carbon.appmgt.mdm.restconnector.feature.group/4.1.20,org.wso2.carbon.appmgt.core.feature.group/1.2.57,org.wso2.carbon.appmgt.mdm.wso2emm.feature.group/1.2.57,org.wso2.carbon.appmgt.mobile.feature.group/1.2.57,org.wso2.carbon.appmgt.publisher.feature.group/1.2.57,org.wso2.carbon.appmgt.services.api.feature.group/1.2.57,org.wso2.carbon.store.feature.group/1.5.1,org.wso2.carbon.appmgt.store.feature.group/1.2.57,org.wso2.carbon.social.feature.group/1.5.1,org.wso2.carbon.appmgt.rest.api.store.feature.group/1.2.57,org.wso2.carbon.appmgt.rest.api.publisher.feature.group/1.2.57,org.wso2.carbon.appmgt.oauth.feature.group/1.2.57,org.wso2.carbon.device.mgt.feature.group/3.1.51,org.wso2.carbon.device.mgt.extensions.feature.group/3.1.51,org.wso2.carbon.policy.mgt.server.feature.group/3.1.51,org.wso2.carbon.apimgt.application.extension.feature.group/3.1.51,org.wso2.carbon.apimgt.integration.client.feature.group/3.1.51,org.wso2.carbon.email.sender.feature.group/3.1.51,org.wso2.carbon.certificate.mgt.server.feature.group/3.1.51,org.wso2.carbon.certificate.mgt.api.feature.group/3.1.51,org.wso2.carbon.certificate.mgt.cert.admin.api.feature.group/3.1.51,org.wso2.carbon.webapp.authenticator.framework.server.feature.group/3.1.51,org.wso2.carbon.apimgt.webapp.publisher.feature.group/3.1.51,org.wso2.carbon.apimgt.handler.server.feature.group/3.1.51,org.wso2.carbon.device.mgt.oauth.extensions.feature.group/3.1.51,org.wso2.carbon.identity.jwt.client.extension.feature.group/3.1.51,org.wso2.carbon.device.mgt.analytics.feature.group/3.1.51,org.wso2.carbon.device.mgt.extensions.device.type.deployer.feature.group/3.1.51,org.wso2.carbon.device.mgt.extensions.push.notification.provider.mqtt.feature.group/3.1.51,org.wso2.carbon.device.mgt.extensions.push.notification.provider.http.feature.group/3.1.51,org.wso2.carbon.device.mgt.extensions.push.notification.provider.fcm.feature.group/3.1.51,org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.feature.group/3.1.51,org.wso2.carbon.device.mgt.mobile.android.feature.group/4.1.20,org.wso2.carbon.device.mgt.mobile.windows.feature.group/4.1.20,org.wso2.carbon.device.mgt.notification.listener.feature.group/4.1.20,org.wso2.carbon.device.mgt.adapter.feature.group/4.1.20,org.wso2.carbon.webapp.mgt.feature.group/4.7.15,org.wso2.carbon.module.mgt.feature.group/4.7.15,org.wso2.carbon.as.runtimes.cxf.feature.group/4.7.15,org.wso2.carbon.service.mgt.server.feature.group/4.7.15,org.wso2.carbon.application.deployer.webapp.feature.group/4.7.15,org.jaggeryjs.feature.group/0.12.8,org.jaggeryjs.modules.carbon.feature.group/1.5.6,org.jaggeryjs.modules.process.feature.group/1.5.6,org.jaggeryjs.modules.uuid.feature.group/1.5.6,org.jaggeryjs.modules.sso.feature.group/1.5.6,org.jaggeryjs.modules.i18n.feature.group/1.5.6,org.jaggeryjs.modules.ws.feature.group/1.5.6,org.wso2.carbon.dashboards.shindig.feature.group/2.0.16,org.wso2.carbon.dashboards.portal.feature.group/2.0.16,org.wso2.carbon.dashboard.deployment.feature.group/2.0.16,org.wso2.carbon.iot.device.statistics.dashboard.feature.group/4.1.20,org.wso2.carbon.apimgt.keymanager.feature.group/6.2.201,org.wso2.carbon.apimgt.core.feature.group/6.2.201,org.wso2.carbon.apimgt.rest.api.dcr.feature.group/6.2.201,org.wso2.carbon.apimgt.rest.api.publisher.feature.group/6.2.201,org.wso2.carbon.identity.mgt.feature.group/5.11.148,org.wso2.carbon.apimgt.rest.api.store.feature.group/6.2.201,org.wso2.carbon.apimgt.gateway.feature.group/6.2.201,org.wso2.carbon.forum.server.feature.group/6.2.201,org.wso2.carbon.apimgt.publisher.feature.group/6.2.201,org.wso2.carbon.databridge.datapublisher.feature.group/5.1.37,org.wso2.carbon.event.input.adapter.server.feature.group/5.1.37,org.wso2.carbon.application.mgt.feature.group/4.6.21,org.wso2.carbon.logging.mgt.feature.group/4.6.21,org.wso2.carbon.ntask.feature.group/4.6.21,org.wso2.carbon.tenant.mgt.common.feature.group/4.6.21,org.wso2.carbon.tenant.usage.agent.feature.group/4.6.11,org.wso2.carbon.tenant.throttling.agent.feature.group/4.6.11,org.wso2.carbon.tenant.deployment.feature.group/4.6.11,org.wso2.carbon.tenant.common.feature.group/4.6.11,org.wso2.carbon.tenant.mgt.core.feature.group/4.6.11,org.wso2.carbon.security.mgt.feature.group/5.11.148,org.wso2.carbon.um.ws.service.feature.group/5.1.8,org.wso2.carbon.identity.oauth.server.feature.group/5.6.63,org.wso2.carbon.identity.provider.server.feature.group/5.2.5,org.wso2.carbon.identity.thrift.authentication.feature.group/5.11.148,org.wso2.carbon.identity.core.feature.group/5.11.148,org.wso2.carbon.idp.mgt.feature.group/5.11.148,org.wso2.carbon.user.mgt.feature.group/5.11.148,org.wso2.carbon.directory.service.mgr.server.feature.group/5.11.148,org.wso2.carbon.identity.application.authz.xacml.server.feature.group/2.0.2,org.wso2.carbon.identity.application.authenticator.basicauth.server.feature.group/5.3.7,org.wso2.carbon.identity.application.authentication.framework.server.feature.group/5.11.148,org.wso2.carbon.identity.authenticator.saml2.sso.feature.group/5.2.6,org.wso2.carbon.identity.sso.saml.feature.group/5.4.6,org.wso2.carbon.identity.user.profile.feature.group/5.11.148,org.wso2.carbon.identity.application.mgt.feature.group/5.11.148,org.wso2.carbon.claim.mgt.server.feature.group/5.11.148,org.wso2.carbon.claim.mgt.feature.group/5.11.148,org.wso2.carbon.identity.oauth.ui.feature.group/5.6.63,org.wso2.carbon.identity.notification.mgt.feature.group/5.11.148,org.wso2.carbon.identity.xacml.server.feature.group/5.11.148,org.wso2.carbon.identity.user.registration.feature.group/5.11.148,org.wso2.carbon.identity.application.authenticator.basicauth.server.feature.group/5.3.7,org.wso2.carbon.identity.application.authenticator.requestpath.basicauth.server.feature.group/5.1.5,org.wso2.carbon.identity.application.authenticator.requestpath.oauth.server.feature.group/5.1.4,org.wso2.carbon.identity.application.authenticator.samlsso.server.feature.group/5.1.12,org.wso2.carbon.registry.core.feature.group/4.6.28,org.wso2.carbon.registry.ui.menu.feature.group/4.6.28,org.wso2.carbon.registry.resource.properties.feature.group/4.6.28,org.wso2.carbon.registry.associations.dependencies.feature.group/4.6.28,org.wso2.carbon.registry.community.features.feature.group/4.6.28,org.wso2.carbon.registry.ws.feature.group/4.6.28,org.wso2.carbon.registry.contentsearch.feature.group/4.6.28,org.wso2.carbon.registry.ui.menu.governance.feature.group/4.6.28,org.wso2.carbon.registry.task.server.feature.group/4.6.28,org.wso2.carbon.governance.metadata.feature.group/4.7.23,org.wso2.carbon.governance.lifecycle.management.feature.group/4.7.23,org.wso2.carbon.registry.extensions.feature.group/4.7.23,org.apache.axis2.transport.mail.feature.group/1.1.0.wso2v17,org.apache.synapse.wso2.feature.group/4.6.64,org.apache.synapse.transport.nhttp.feature.group/4.6.64,org.wso2.carbon.mediation.initializer.feature.group/4.6.64,org.wso2.carbon.mediation.ntask.feature.group/4.6.64,org.wso2.carbon.inbound.endpoints.server.feature.group/4.6.64,org.wso2.carbon.mediators.server.feature.group/4.6.64,org.wso2.carbon.mediation.admin.feature.group/4.6.64,org.wso2.carbon.task.server.feature.group/4.6.64,org.wso2.carbon.mediation.ui.feature.group/4.6.64,org.wso2.carbon.mediator.cache.feature.group/4.6.64,org.wso2.ciphertool.feature.group/1.0.0.wso2v6,caramel.feature.group/1.0.1,org.wso2.carbon.core.feature.group/4.4.26,org.wso2.carbon.core.runtime.feature.group/4.4.26,org.wso2.carbon.core.ui.feature.group/4.4.26,org.wso2.carbon.module.mgt.server.feature.group/4.7.15,org.wso2.carbon.ndatasource.feature.group/4.6.21,org.wso2.carbon.ndatasource.capp.deployer.server.feature.group/4.6.21,org.wso2.carbon.ntask.core.feature.group/4.6.21,org.wso2.carbon.identity.authenticator.saml2.sso.server.feature.group/5.2.6,org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.group/5.2.6,org.wso2.carbon.identity.application.mgt.server.feature.group/5.11.148,org.wso2.carbon.directory.service.mgr.feature.group/5.11.148,org.wso2.carbon.idp.mgt.server.feature.group/5.11.148,org.wso2.carbon.identity.user.registration.server.feature.group/5.11.148,org.wso2.carbon.identity.oauth.feature.group/5.6.63,org.wso2.carbon.identity.event.server.feature.group/5.11.148,org.wso2.carbon.registry.community.features.server.feature.group/4.6.28,org.wso2.carbon.registry.community.features.ui.feature.group/4.6.28,org.wso2.carbon.registry.extensions.server.feature.group/4.7.23,org.wso2.carbon.governance.lifecycle.management.server.feature.group/4.7.23,org.wso2.carbon.governance.metadata.server.feature.group/4.7.23,org.wso2.carbon.apimgt.store.feature.group/6.2.201,org.wso2.carbon.apimgt.authenticator.oidc.feature.group/6.2.201,org.wso2.carbon.apimgt.hostobjects.oidc.feature.group/6.2.201,org.wso2.carbon.application.mgt.synapse.server.feature.group/4.6.64,org.wso2.carbon.application.deployer.synapse.feature.group/4.6.64,org.apache.axis2.transport.tcp.feature.group/1.1.0.wso2v17,org.wso2.carbon.relay.server.feature.group/4.6.64,org.wso2.carbon.mediation.configadmin.feature.group/4.6.64,org.wso2.carbon.webapp.mgt.server.feature.group/4.7.15,org.wso2.carbon.system.statistics.feature.group/4.6.21,org.wso2.carbon.databridge.streamdefn.filesystem.server.feature.group/5.1.37,org.wso2.carbon.analytics.api.client.feature.group/1.3.25,org.wso2.carbon.analytics.jsservice.feature.group/1.3.25,org.wso2.carbon.event.stream.feature.group/5.1.37,org.wso2.carbon.event.application.deployer.feature.group/5.1.37,org.wso2.carbon.metrics.feature.group/1.2.3,org.wso2.carbon.extension.identity.oauth2.jwt.feature.group/1.0.10,org.wso2.carbon.consent.mgt.server.feature.group/1.0.50,org.wso2.carbon.database.utils.feature.group/2.0.6,org.wso2.carbon.device.mgt.cdmf.analytics.feature.group/4.1.20,org.wso2.carbon.iot.geo.dashboard.feature.group/4.1.20,org.wso2.carbon.device.mgt.iot.analytics.feature.group/4.1.20,org.wso2.carbon.device.mgt.remote.session.feature.group/4.1.20,org.wso2.carbon.andes.extensions.device.mgt.api.feature.group/4.1.20,
>> -bundlepool
>> C:\wso2\product-iots\modules\p2-profile\iot-core-profile/target/wso2carbon-core-4.4.26/wso2/components
>> -shared
>> C:\wso2\product-iots\modules\p2-profile\iot-core-profile/target/wso2carbon-core-4.4.26/wso2/components\p2
>> -destination
>> C:\wso2\product-iots\modules\p2-profile\iot-core-profile/target/wso2carbon-core-4.4.26/wso2/components\default
>> -profile default -roaming"
>
> *The command line is too long.*
>
> [INFO]
>> ------------------------------------------------------------------------
>
> [INFO] Reactor Summary:
>
> [INFO]
>
> [INFO] WSO2 IoT - Parent .................................. SUCCESS [
>> 1.190 s]
>
> [INFO] WSO2 IoT - Components Module ....................... SUCCESS [
>> 0.326 s]
>
> [INFO] WSO2 IoT - UI Styles ............................... SUCCESS [
>> 3.047 s]
>
> [INFO] WSO2 IoT - Features Module ......................... SUCCESS [
>> 0.207 s]
>
> [INFO] WSO2 IoT - Styles Feature .......................... SUCCESS [
>> 0.845 s]
>
> [INFO] WSO2 IoT - Scripts ................................. SUCCESS [
>> 0.199 s]
>
> [INFO] WSO2 IoT - QSG Script .............................. SUCCESS [
>> 4.983 s]
>
> [INFO] WSO2 IoT - Tools ................................... SUCCESS [
>> 0.210 s]
>
> [INFO] WSO2 IoT - Device Type Archetype ................... SUCCESS [
>> 3.188 s]
>
> [INFO] Identity Server : cxf filters ...................... SUCCESS [
>> 0.739 s]
>
> [INFO] WSO2 IoT - P2 Profile Module ....................... SUCCESS [
>> 0.205 s]
>
> [INFO] WSO2 IoT - Core P2 Profile Gen ..................... FAILURE [07:49
>> min]
>
> [INFO] WSO2 IoT - Analytics P2 Profile Gen ................ SKIPPED
>
> [INFO] WSO2 IoT - Broker P2 Profile Gen ................... SKIPPED
>
> [INFO] WSO2 IoT - Distribution ............................ SKIPPED
>
> [INFO] WSO2 IoT - Integration Module ...................... SKIPPED
>
> [INFO] WSO2 IoT - Integration Test Common ................. SKIPPED
>
> [INFO] WSO2 IoT - Integration Common ...................... SKIPPED
>
> [INFO] WSO2 IoT - Integration Test Common Web UI Pages .... SKIPPED
>
> [INFO] WSO2 IOT - Integration Test Module ................. SKIPPED
>
> [INFO] WSO2 IoT - Integration Test UI Module .............. SKIPPED
>
> [INFO]
>> ------------------------------------------------------------------------
>
> [INFO] BUILD FAILURE
>
> [INFO]
>> ------------------------------------------------------------------------
>
>
On Mon, Apr 8, 2019 at 12:56 AM Janak Amarasena <ja...@wso2.com> wrote:

> Hi Syed,
>
> You need to build product-iots in the following order.
>
>    1. carbon-device-mgt
>    2. carbon-device-mgt-plugins
>    3. product-iots
>
> Also when building *product-**iots* check the dependency versions for 
> *carbon-device-mgt
> *and* carbon-device-mgt-plugins *from the main pom in product-iots.
> For the current master branch of product-iots you will need the following
> versions of the other 2 repos.
>
>    1. carbon-device-mgt -
>    https://github.com/wso2/carbon-device-mgt/tree/v3.1.51
>    2. carbon-device-mgt-plugins -
>    https://github.com/wso2/carbon-device-mgt-plugins/tree/v4.1.20
>
> With those, I was able to successfully build product-iots.
>
> Hope this helps.
>
> Best Regards,
> Janak
>
> On Sun, Apr 7, 2019 at 9:13 AM Syed Hasan <smhasa...@gmail.com> wrote:
>
>> [INFO]
>> [INFO] --- replacer:1.5.2:replace (replace-for-thrift) @ wso2iot ---
>> [ERROR] File
>> 'C:\wso2\product-iots\modules\distribution\..\p2-profile\iot-core-profile\target\wso2carbon-core-4.4.26\wso2\conf\identity\thrift-authentication.xml'
>> does not exist
>> [INFO] Replacement run on 0 file.
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>
>
> --
> *Janak Amarasena*
>
> Software Engineer
>
> Email: ja...@wso2.com
>
> Mobile: +94777764144
>
> Web: https://wso2.com
>
>
> <http://wso2.com/signature>
>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to