Hi all,

I tried to build carbon4-kernel and I got the below error.

*Failed to execute goal org.apache.felix:maven-scr-plugin:1.7.4:scr
(generate-scr-scrdescriptor) on project org.wso2.carbon.core: Execution
generate-scr-scrdescriptor of goal
org.apache.felix:maven-scr-plugin:1.7.4:scr failed: Comparison method
violates its general contract!*

Such a problem is reported in apache felix plugin version 1.7.4 [1]. So I
changed the version of the maven scr plugin to 1.8.0 and if I resume the
build, it build successfully.

But if I build the code again from the beginning, I get below error from
*org.wso2.carbon.registry.core* which is built before *org.wso2.carbon.core*
.

*[ERROR] Bundle
org.wso2.carbon:org.wso2.carbon.registry.core:bundle:4.4.1-SNAPSHOT : Input
file does not exist:
target/scr-plugin-generated/OSGI-INF/serviceComponents.xml*

Seems to be it is not generating the OSGI-INF. Any help how to build source
successfully?

[1] https://issues.apache.org/jira/browse/FELIX-3571

Thank you.
-- 
Maduranga Siriwardena
Software Engineer
WSO2 Inc.

email: [email protected]
mobile: +94718990591
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to