Hi, Your code has compilation failures due to incompatible types. This may happen due to dependency changes or simply code errors. For example look in to ProfileChangeOperation.java line no 143, If you share the code will be able to give more input than this.
Thanks, On Thu, Jul 10, 2014 at 5:11 PM, Pradeep Fernando <[email protected]> wrote: > Hi guys, > > I got the following error, what would be the cause; > > > INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 9:25.985s > [INFO] Finished at: Thu Jul 10 16:53:30 IST 2014 > [INFO] Final Memory: 259M/1544M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile > (default-compile) on project org.wso2.carbon.feature.mgt.core: Compilation > failure: Compilation failure: > [ERROR] > /home/pradeep/checkout/carbon4-git/core/feature-manager/org.wso2.carbon.feature.mgt.core/src/main/java/org/wso2/carbon/feature/mgt/core/operations/ProfileChangeOperation.java:[143,72] > error: incompatible types > [ERROR] Object > [ERROR] > /home/pradeep/checkout/carbon4-git/core/feature-manager/org.wso2.carbon.feature.mgt.core/src/main/java/org/wso2/carbon/feature/mgt/core/operations/ProfileChangeOperation.java:[159,72] > error: incompatible types > [ERROR] Object > [ERROR] > /home/pradeep/checkout/carbon4-git/core/feature-manager/org.wso2.carbon.feature.mgt.core/src/main/java/org/wso2/carbon/feature/mgt/core/util/ProvisioningUtils.java:[92,50] > error: incompatible types > [ERROR] > /home/pradeep/checkout/carbon4-git/core/feature-manager/org.wso2.carbon.feature.mgt.core/src/main/java/org/wso2/carbon/feature/mgt/core/util/ProvisioningUtils.java:[117,50] > error: incompatible types > [ERROR] > /home/pradeep/checkout/carbon4-git/core/feature-manager/org.wso2.carbon.feature.mgt.core/src/main/java/org/wso2/carbon/feature/mgt/core/util/ProvisioningUtils.java:[122,50] > error: incompatible types > [ERROR] > /home/pradeep/checkout/carbon4-git/core/feature-manager/org.wso2.carbon.feature.mgt.core/src/main/java/org/wso2/carbon/feature/mgt/core/util/ProvisioningUtils.java:[190,14] > error: type IQuery does not take parameters > [ERROR] > /home/pradeep/checkout/carbon4-git/core/feature-manager/org.wso2.carbon.feature.mgt.core/src/main/java/org/wso2/carbon/feature/mgt/core/util/ProvisioningUtils.java:[207,14] > error: type IQuery does not take parameters > [ERROR] > /home/pradeep/checkout/carbon4-git/core/feature-manager/org.wso2.carbon.feature.mgt.core/src/main/java/org/wso2/carbon/feature/mgt/core/util/ProvisioningUtils.java:[226,14] > error: type IQuery does not take parameters > [ERROR] > /home/pradeep/checkout/carbon4-git/core/feature-manager/org.wso2.carbon.feature.mgt.core/src/main/java/org/wso2/carbon/feature/mgt/core/util/ProvisioningUtils.java:[238,14] > error: type IQuery does not take parameters > [ERROR] > /home/pradeep/checkout/carbon4-git/core/feature-manager/org.wso2.carbon.feature.mgt.core/src/main/java/org/wso2/carbon/feature/mgt/core/operations/RevertOperation.java:[54,104] > error: incompatible types > [ERROR] > /home/pradeep/checkout/carbon4-git/core/feature-manager/org.wso2.carbon.feature.mgt.core/src/main/java/org/wso2/carbon/feature/mgt/core/operations/RevertOperation.java:[59,105] > error: incompatible types > [ERROR] -> [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/MojoFailureException > > > > thanks > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Rajith Vitharana Software Engineer, WSO2 Inc. : wso2.com Mobile : +94715883223 Blog : http://lankavitharana.blogspot.com/
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
