Hi Malintha, In the carbon.product version should be 4.4.10.SNAPSHOT (Note . instead of -)
Thanks Thusitha On Fri, Oct 28, 2016 at 4:01 PM, Malintha Fernando <[email protected]> wrote: > Hi All, > > I am getting the following error while trying to build EMM-2.2.0 with > carbon-kernel 4.4.10-SNAPSHOT. I changed the version of carbon.product file > to "4.4.10-SNAPSHOP" and it threw this parsing error. It failed even when I > tried with just "4.4.10". Any input on this is appreciated. > > > *=====carbon.product file=====* > > <product name="Carbon Product" uid="carbon.product.id" id="carbon.product" > application="carbon.application" version="4.4.10-SNAPSHOT" useFeatures="true" > includeLaunchers="true"> > > > <features> > <feature id="org.wso2.carbon.core.runtime" version="4.4.10-SNAPSHOT"/> > </features> > > > *========Build Error=======* > > Generating metadata for .. > An error has occurred while loading product file > /home/malintha/iot/product-emm/modules/p2-profile-gen/carbon.product. > Exception details: java.lang.IllegalArgumentException: Format > "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse > 4.4.10-SNAPSHOT. > [INFO] > [INFO] --- carbon-p2-plugin:1.5.4:materialize-product > (creating-worker-profile) @ wso2mdm-profile-gen --- > [INFO] Command line: > /bin/sh -c cd /home/malintha/iot/product-emm/modules/p2-profile-gen && > /usr/lib/jvm/java-7-oracle/jre/bin/java -jar > /home/malintha/.m3/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110725-1610.jar > -nosplash -application org.eclipse.equinox.p2.director -metadataRepository > file:/home/malintha/iot/product-emm/modules/p2-profile-gen/target/p2-repo > -artifactRepository > file:/home/malintha/iot/product-emm/modules/p2-profile-gen/target/p2-repo > -installIU carbon.product.id -profileProperties > org.eclipse.update.install.features=true -profile worker -bundlepool > file:/home/malintha/iot/product-emm/modules/p2-profile-gen/target/wso2carbon-core-4.4.10-SNAPSHOT/repository/components > -shared > file:/home/malintha/iot/product-emm/modules/p2-profile-gen/target/wso2carbon-core-4.4.10-SNAPSHOT/repository/components/p2 > -destination > file:/home/malintha/iot/product-emm/modules/p2-profile-gen/target/wso2carbon-core-4.4.10-SNAPSHOT/repository/components/worker > -p2.os linux -p2.ws gtk -p2.arch x86 -roaming > Installation failed. > The installable unit carbon.product.id has not been found. > Application failed, log file location: > /home/malintha/.m3/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1477650320977.log > > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] WSO2 MDM - Parent .................................. SUCCESS [ 0.563 > s] > [INFO] wso2mdm-product-mobileservices ..................... SUCCESS [ 0.050 > s] > [INFO] WSO2 EMM Tools ..................................... SUCCESS [ 0.025 > s] > [INFO] WSO2 EMM QSG tools ................................. SUCCESS [ 1.957 > s] > [INFO] WSO2 Mobile Device Manager (MDM) - UI styles ....... SUCCESS [ 0.585 > s] > [INFO] WSO2 Mobile Device Manager (MDM) Features .......... SUCCESS [ 0.013 > s] > [INFO] WSO2 Mobile Device Manager (MDM) Styles Feature .... SUCCESS [ 0.336 > s] > [INFO] WSO2 Mobile Device Manager (MDM) - P2 Profile Gen .. FAILURE [ 25.626 > s] > [INFO] WSO2 Mobile Device Manager (MDM) - Distribution .... SKIPPED > [INFO] WSO2 MDM - Integration Tests ....................... SKIPPED > [INFO] WSO2 MDM Integration Test Common ................... SKIPPED > [INFO] WSO2 MDM Integration Test Common ................... SKIPPED > [INFO] WSO2 MDM - Integration Admin Clients ............... SKIPPED > [INFO] WSO2 MDM - Integration Test Utils .................. SKIPPED > [INFO] WSO2 MDM - Integration Test UI Pages ............... SKIPPED > [INFO] WSO2 MDM Backend Integration Tests ................. SKIPPED > [INFO] WSO2 MDM - Integration Test UI Module .............. SKIPPED > [INFO] WSO2 MDM Platform Integration Tests ................ SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 30.055 s > [INFO] Finished at: 2016-10-28T15:55:22+05:30 > [INFO] Final Memory: 47M/1238M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.wso2.maven:carbon-p2-plugin:1.5.4:materialize-product > (creating-worker-profile) on project wso2mdm-profile-gen: Cannot generate P2 > metadata: P2 publisher return code was 13 -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > > Thanks & Regards, > Malintha > > -- > Malintha Fernando > Software Engineer > WSO2 Inc. | http://wso2.com > Mobile : +94 718874922 > Blog : http://blog.malintha.org > > Lean . Enterprise . Middleware > > > > > > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Thusitha Dayaratne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com Mobile +94712756809 Blog alokayasoya.blogspot.com About http://about.me/thusithathilina <http://wso2.com/signature>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
