Hi chanka, you need to build the wso2-dev/wso2-syanpse before building wso2-dev/carbon mediation.
thanks On Wed, Oct 1, 2014 at 9:03 AM, Chanaka Fernando <[email protected]> wrote: > Hi, > > I have reverted the commit which caused this cyclic dependency. I will fix > the issue and re-commit. But now I am getting some inbound endpoint related > failures > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile > (default-compile) on project org.wso2.carbon.inbound.endpoint: Compilation > failure: Compilation failure: > [ERROR] > /home/chanaka/Source-Code-GIT/ESB-490-Release/carbon-mediation/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/protocol/http/core/impl/InboundHttpListener.java:[26,33] > cannot find symbol > [ERROR] symbol : class InboundProcessorParams > [ERROR] location: package org.apache.synapse.inbound > [ERROR] > [ERROR] > /home/chanaka/Source-Code-GIT/ESB-490-Release/carbon-mediation/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/protocol/http/core/impl/InboundHttpListener.java:[46,31] > cannot find symbol > [ERROR] symbol : class InboundProcessorParams > [ERROR] location: class > org.wso2.carbon.inbound.endpoint.protocol.http.core.impl.InboundHttpListener > [ERROR] > [ERROR] > /home/chanaka/Source-Code-GIT/ESB-490-Release/carbon-mediation/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/protocol/generic/GenericProcessor.java:[6,33] > cannot find symbol > [ERROR] symbol : class InboundProcessorParams > [ERROR] location: package org.apache.synapse.inbound > [ERROR] > [ERROR] > /home/chanaka/Source-Code-GIT/ESB-490-Release/carbon-mediation/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/protocol/generic/GenericProcessor.java:[42,28] > cannot find symbol > [ERROR] symbol : class InboundProcessorParams > [ERROR] location: class > org.wso2.carbon.inbound.endpoint.protocol.generic.GenericProcessor > [ERROR] > [ERROR] > /home/chanaka/Source-Code-GIT/ESB-490-Release/carbon-mediation/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/protocol/jms/JMSProcessor.java:[24,33] > cannot find symbol > [ERROR] symbol : class InboundProcessorParams > [ERROR] location: package org.apache.synapse.inbound > [ERROR] > [ERROR] > /home/chanaka/Source-Code-GIT/ESB-490-Release/carbon-mediation/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/protocol/jms/JMSProcessor.java:[49,24] > cannot find symbol > [ERROR] symbol : class InboundProcessorParams > [ERROR] location: class > org.wso2.carbon.inbound.endpoint.protocol.jms.JMSProcessor > [ERROR] > [ERROR] > /home/chanaka/Source-Code-GIT/ESB-490-Release/carbon-mediation/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/inboundfactory/InboundRequestProcessorFactoryImpl.java:[6,33] > cannot find symbol > [ERROR] symbol : class InboundProcessorParams > [ERROR] location: package org.apache.synapse.inbound > [ERROR] > [ERROR] > /home/chanaka/Source-Code-GIT/ESB-490-Release/carbon-mediation/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/inboundfactory/InboundRequestProcessorFactoryImpl.java:[22,12] > cannot find symbol > [ERROR] symbol : class InboundProcessorParams > [ERROR] location: class > org.wso2.carbon.inbound.endpoint.inboundfactory.InboundRequestProcessorFactoryImpl > [ERROR] > [ERROR] > /home/chanaka/Source-Code-GIT/ESB-490-Release/carbon-mediation/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/protocol/file/VFSProcessor.java:[23,33] > cannot find symbol > [ERROR] symbol : class InboundProcessorParams > [ERROR] location: package org.apache.synapse.inbound > [ERROR] > [ERROR] > /home/chanaka/Source-Code-GIT/ESB-490-Release/carbon-mediation/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/protocol/file/VFSProcessor.java:[45,24] > cannot find symbol > [ERROR] symbol : class InboundProcessorParams > [ERROR] location: class > org.wso2.carbon.inbound.endpoint.protocol.file.VFSProcessor > [ERROR] > [ERROR] > /home/chanaka/Source-Code-GIT/ESB-490-Release/carbon-mediation/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/protocol/http/core/impl/InboundHttpSourceResponseWorker.java:[48,7] > org.wso2.carbon.inbound.endpoint.protocol.http.core.impl.InboundHttpSourceResponseWorker > is not abstract and does not override abstract method getType() in > org.apache.synapse.inbound.InboundResponseSender > [ERROR] > [ERROR] > /home/chanaka/Source-Code-GIT/ESB-490-Release/carbon-mediation/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/inboundfactory/InboundRequestProcessorFactoryImpl.java:[14,7] > org.wso2.carbon.inbound.endpoint.inboundfactory.InboundRequestProcessorFactoryImpl > is not abstract and does not override abstract method > createInboundProcessor(java.lang.String,java.lang.String,java.lang.String,java.util.Properties,java.lang.String,java.lang.String,org.apache.synapse.core.SynapseEnvironment) > in org.apache.synapse.inbound.InboundRequestProcessorFactory > [ERROR] > [ERROR] > /home/chanaka/Source-Code-GIT/ESB-490-Release/carbon-mediation/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/inboundfactory/InboundRequestProcessorFactoryImpl.java:[20,4] > method does not override or implement a method from a supertype > [ERROR] > [ERROR] > /home/chanaka/Source-Code-GIT/ESB-490-Release/carbon-mediation/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/protocol/http/netty/impl/InboundSourceResponseSender.java:[55,7] > org.wso2.carbon.inbound.endpoint.protocol.http.netty.impl.InboundSourceResponseSender > is not abstract and does not override abstract method getType() in > org.apache.synapse.inbound.InboundResponseSender > [ERROR] > [ERROR] > /home/chanaka/Source-Code-GIT/ESB-490-Release/carbon-mediation/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/protocol/http/core/impl/InboundHttpSourceRequestWorker.java:[99,63] > cannot find symbol > [ERROR] symbol : variable INBOUND_ENDPOINT_RESPONSE_WORKER > [ERROR] location: class org.apache.synapse.inbound.InboundEndpointConstants > [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] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :org.wso2.carbon.inbound.endpoint > > > Thanks, > Chanaka > > > On Tue, Sep 30, 2014 at 5:21 PM, Isuru Ranawaka <[email protected]> wrote: > >> Hi Gayshan, >> Thanks for your reply .Yes thats due to cyclic dependency. >> >> Thanks >> isuru >> >> >> >> On Tue, Sep 30, 2014 at 4:47 PM, Gayashan Amarasinghe <[email protected]> >> wrote: >> >>> Hi Isuru, >>> >>> This is due to a cyclic dependency in the pom files of >>> org.wso2.carbon.mediation.initializer, and org.wso2.carbon.mediation.ntask. >>> >>> org.wso2.carbon.mediation.initializer depends on: >>> <dependency> >>> <groupId>org.wso2.carbon</groupId> >>> <artifactId>org.wso2.carbon.mediation.ntask</artifactId> >>> <version>${wso2carbon.version}</version> >>> </dependency> >>> >>> >>> org.wso2.carbon.mediation.ntask depends on: >>> <dependency> >>> <groupId>org.wso2.carbon</groupId> >>> >>> <artifactId>org.wso2.carbon.mediation.initializer</artifactId> >>> </dependency> >>> >>> Would need to break this cyclic dependency in order for the build to >>> work. >>> >>> Thanks. >>> /Gayashan >>> >>> On Tue, Sep 30, 2014 at 4:17 PM, Isuru Ranawaka <[email protected]> wrote: >>> >>>> Hi All, >>>> I am getting following error when building wso2-dev/carbon-medation >>>> >>>> [ERROR] The projects in the reactor contain a cyclic reference: Edge >>>> between >>>> 'Vertex{label='org.wso2.carbon:org.wso2.carbon.mediation.ntask:4.3.0-SNAPSHOT'}' >>>> and >>>> 'Vertex{label='org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT'}' >>>> introduces to cycle in the graph >>>> org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT --> >>>> org.wso2.carbon:org.wso2.carbon.mediation.ntask:4.3.0-SNAPSHOT --> >>>> org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT -> >>>> [Help 1] >>>> org.apache.maven.ProjectCycleException: The projects in the reactor >>>> contain a cyclic reference: Edge between >>>> 'Vertex{label='org.wso2.carbon:org.wso2.carbon.mediation.ntask:4.3.0-SNAPSHOT'}' >>>> and >>>> 'Vertex{label='org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT'}' >>>> introduces to cycle in the graph >>>> org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT --> >>>> org.wso2.carbon:org.wso2.carbon.mediation.ntask:4.3.0-SNAPSHOT --> >>>> org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT >>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:300) >>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) >>>> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) >>>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) >>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) >>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>>> at >>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>>> at >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>>> at java.lang.reflect.Method.invoke(Method.java:597) >>>> at >>>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) >>>> at >>>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) >>>> at >>>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) >>>> at >>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) >>>> Caused by: org.codehaus.plexus.util.dag.CycleDetectedException: Edge >>>> between >>>> 'Vertex{label='org.wso2.carbon:org.wso2.carbon.mediation.ntask:4.3.0-SNAPSHOT'}' >>>> and >>>> 'Vertex{label='org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT'}' >>>> introduces to cycle in the graph >>>> org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT --> >>>> org.wso2.carbon:org.wso2.carbon.mediation.ntask:4.3.0-SNAPSHOT --> >>>> org.wso2.carbon:org.wso2.carbon.mediation.initializer:4.3.0-SNAPSHOT >>>> at org.codehaus.plexus.util.dag.DAG.addEdge(DAG.java:143) >>>> at >>>> org.apache.maven.project.ProjectSorter.addEdge(ProjectSorter.java:219) >>>> at >>>> org.apache.maven.project.ProjectSorter.addEdge(ProjectSorter.java:184) >>>> at >>>> org.apache.maven.project.ProjectSorter.<init>(ProjectSorter.java:115) >>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:288) >>>> ... 12 more >>>> >>>> What will be the reason for this. >>>> >>>> >>>> Thanks >>>> IsuruR >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> Best Regards >>>> Isuru Ranawaka >>>> M: +94714629880 >>>> Blog : http://isurur.blogspot.com/ >>>> >>>> _______________________________________________ >>>> Dev mailing list >>>> [email protected] >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> >>> -- >>> *Gayashan Amarasinghe* >>> Software Engineer | Platform TG >>> WSO2, Inc. | http://wso2.com >>> lean. enterprise. middleware >>> >>> Mobile : +94718314517 >>> Blog : gayashan-a.blogspot.com >>> >> >> >> >> -- >> Best Regards >> Isuru Ranawaka >> M: +94714629880 >> Blog : http://isurur.blogspot.com/ >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > -- > Chanaka Fernando > Technical Lead > WSO2, Inc.; http://wso2.com > lean.enterprise.middleware > > mobile: +94 773337238 > Blog : http://soatutorials.blogspot.com > LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 > Twitter:https://twitter.com/chanakaudaya > Wordpress:http://chanakaudaya.wordpress.com > > > > -- Best Regards Isuru Ranawaka M: +94714629880 Blog : http://isurur.blogspot.com/
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
