We need to copy commons throttling and caching from [1] to
branch/dependencies as synapse cache and throttle mediator needs those
dependencies.

[1]
https://svn.wso2.org/repos/wso2/carbon/platform/trunk/dependencies/commons/


On Sat, Aug 17, 2013 at 12:47 AM, Pradeep Fernando <[email protected]> wrote:

> we dont have commons/throttle-core any more. we have moved/refactored the
> code in to throttling component.
> wonder why we didnt get this error while building branch. we did build in
> a clean repo...
>
> --Pradeep
>
>
> On Fri, Aug 16, 2013 at 11:21 PM, Bhathiya Jayasekara 
> <[email protected]>wrote:
>
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 1.755s
>> [INFO] Finished at: Fri Aug 16 10:54:26 PDT 2013
>> [INFO] Final Memory: 10M/153M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> org.wso2.maven:carbon-p2-plugin:1.5.3:p2-feature-gen
>> (4-p2-feature-generation) on project org.apache.synapse.wso2.feature:
>> Bundle-SymbolicName cannot be found in the bundle:
>> /home/wso2/ss-1.1.0/m2repo/org/wso2/throttle/wso2throttle-core/3.3.0/wso2throttle-core-3.3.0.jar
>> -> [Help 1]
>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
>> goal org.wso2.maven:carbon-p2-plugin:1.5.3:p2-feature-gen
>> (4-p2-feature-generation) on project org.apache.synapse.wso2.feature:
>> Bundle-SymbolicName cannot be found in the bundle:
>> /home/wso2/ss-1.1.0/m2repo/org/wso2/throttle/wso2throttle-core/3.3.0/wso2throttle-core-3.3.0.jar
>>  at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
>> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>>  at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>> at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>>  at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>> at
>> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>>  at
>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>>  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.apache.maven.plugin.MojoExecutionException:
>> Bundle-SymbolicName cannot be found in the bundle:
>> /home/wso2/ss-1.1.0/m2repo/org/wso2/throttle/wso2throttle-core/3.3.0/wso2throttle-core-3.3.0.jar
>>  at
>> org.wso2.maven.p2.generate.feature.Bundle.resolveOSGIInfo(Bundle.java:330)
>> at org.wso2.maven.p2.generate.feature.Bundle.setArtifact(Bundle.java:150)
>>  at
>> org.wso2.maven.p2.generate.feature.FeatureGenMojo.getProcessedBundlesList(FeatureGenMojo.java:287)
>> at
>> org.wso2.maven.p2.generate.feature.FeatureGenMojo.execute(FeatureGenMojo.java:231)
>>  at
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>>  ... 19 more
>> [ERROR]
>> [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
>>
>> --
>> *Bhathiya Jayasekara*
>> *Software Engineer,*
>> *WSO2 inc., http://wso2.com*
>> *
>> *
>> *Phone: +94715478185*
>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj*
>> *Twitter: https://twitter.com/bhathiyax*
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Pradeep Fernando*
> Associate Technical Lead;WSO2 Inc.; http://wso2.com
>
> blog: http://pradeepfernando.blogspot.com
> m: +94776603662
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Miyuru Wanninayaka
Technical Lead
WSO2 Inc. : http://wso2.com

Mobile : +94 77 209 9788
Blog : http://miyurudw.blogspot.com
Flickr : http://www.flickr.com/photos/miyuru_daminda
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to