You need to build carbon in JDK 1.6.
On Fri, Jun 27, 2014 at 3:27 PM, Dunith Dhanushka <dun...@wso2.com> wrote: > Hi all, > > I enountered following compilation failure when building carbon4-kernel > 4.3.0 SNAPSHOT. > > > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 15:10.873s > [INFO] Finished at: Fri Jun 27 12:13:18 IST 2014 > [INFO] Final Memory: 207M/651M > [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/dunith/dev/git/carbon4-kernel/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/dunith/dev/git/carbon4-kernel/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/dunith/dev/git/carbon4-kernel/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/dunith/dev/git/carbon4-kernel/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/dunith/dev/git/carbon4-kernel/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/dunith/dev/git/carbon4-kernel/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/dunith/dev/git/carbon4-kernel/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/dunith/dev/git/carbon4-kernel/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/dunith/dev/git/carbon4-kernel/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/dunith/dev/git/carbon4-kernel/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/dunith/dev/git/carbon4-kernel/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 > [ERROR] > > > > Regards, > > Dunith Dhanushka, > Senior Software Engineer - BAM, > WSO2 Inc, > > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev