Hi Malinga

if you still getting the error after doing what Nirmal aiya suggested

try this
http://dist.wso2.org/snapshots/maven2/org/wso2/carbon/org.wso2.carbon.mediator.autoscale/4.0.0-SNAPSHOT/
download the jar file and

mvn install:install-file -DgroupId=org.wso2.carbon
-DartifactId=org.wso2.carbon.mediator.autoscale -Dversion=4.0.0-SNAPSHOT
-Dpackaging=jar
-Dfile=/home/rajith/Downloads/org.wso2.carbon.mediator.autoscale-4.0.0-20120510.232242-43


it worked for me.

just a wild solution


On Tue, May 22, 2012 at 11:22 AM, Nirmal Fernando <[email protected]> wrote:

> Hi Malinga,
>
> On Tue, May 22, 2012 at 11:04 AM, Malinga Perera <[email protected]> wrote:
>
>> [ERROR] Failed to execute goal on project
>> org.wso2.carbon.mediator.autoscale.feature: Could not resolve dependencies
>> for project
>> org.wso2.carbon:org.wso2.carbon.mediator.autoscale.feature:pom:4.0.0-SNAPSHOT:
>> Failure to find
>> org.wso2.carbon:org.wso2.carbon.mediator.autoscale:jar:4.0.0-SNAPSHOT in
>> http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in
>> the local repository, resolution will not be reattempted until the update
>> interval of wso2-nexus has elapsed or updates are forced -> [Help 1]
>>
>
> Please build components/load-balancer.
>
> [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/DependencyResolutionException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>> [ERROR]   mvn <goals> -rf :org.wso2.carbon.mediator.autoscale.feature
>>
>> As autoscaler is not in the components pom ,
>
>
> It is intentional!
>
>
>>  I tried to manually build it (platform/trunk/components/autoscaler),
>> there i got following error.
>>
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
>> (default-compile) on project org.wso2.carbon.autoscaler.service:
>> Compilation failure: Compilation failure:
>> [ERROR]
>> /home/malinga/work/repo/platform/trunk/components/autoscaler/service/autoscalerservice/src/main/java/org/wso2/carbon/autoscaler/service/agent/clients/AgentServiceClient.java:[25,52]
>> package org.wso2.carbon.autoscaler.agent.service.stub does not exist
>> [ERROR]
>> /home/malinga/work/repo/platform/trunk/components/autoscaler/service/autoscalerservice/src/main/java/org/wso2/carbon/autoscaler/service/agent/clients/AgentServiceClient.java:[34,12]
>> cannot find symbol
>> [ERROR] symbol  : class AgentServiceStub
>> [ERROR] location: class
>> org.wso2.carbon.autoscaler.service.agent.clients.AgentServiceClient
>> [ERROR]
>> /home/malinga/work/repo/platform/trunk/components/autoscaler/service/autoscalerservice/src/main/java/org/wso2/carbon/autoscaler/service/agent/clients/AgentServiceClient.java:[39,23]
>> cannot find symbol
>> [ERROR] symbol  : class AgentServiceStub
>> [ERROR] location: class
>> org.wso2.carbon.autoscaler.service.agent.clients.AgentServiceClient
>> [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.autoscaler.service
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Software Engineer- Platform Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Rajith Siriwardana
Intern,
Cloud Team,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to