cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daan Hoogland <daan.hoogl...@gmail.com>
Subject Re: building cloudstack
Date Wed, 30 Jul 2014 20:40:01 GMT
Jaya,

You can go back to any commit id you want. I don't think you'll find
much going backwards but it is nice trouble shooting the code. In your
case my thoughts go to the build environment as you fail to build
versions that others have build successfully.

best do a git pull and try mvn clean test install again. next run the
jetty command to see what happens. If it fails all the output is
relevant. you best put it in a paste bin to share it. it will be to
much to mail.

regards,
Daan

On Wed, Jul 30, 2014 at 7:23 PM, Elapavuluri, Jaya
<Jaya.Elapavuluri@netapp.com> wrote:
> I am getting the same error after throwing away the .m2 folder.
>
> It complains about resolving the dependencies for 4.4.1. Is there any other way I could
go back?
>
> -----Original Message-----
> From: Daan Hoogland [mailto:daan.hoogland@gmail.com]
> Sent: Wednesday, July 30, 2014 3:28 AM
> To: dev
> Subject: Re: building cloudstack
>
> did you run
> $ git pull
> $ mvn clean test install
> before that?
>
> if so you could try thowing away your ~/.m2/repositories dir.
>
> On Wed, Jul 30, 2014 at 1:50 AM, Elapavuluri, Jaya <Jaya.Elapavuluri@netapp.com>
wrote:
>> So this is the screen shot of the error I am getting.
>>
>>
>>
>> This was after trying to start the management server mvn -pl
>> :cloud-client-ui jetty:run -Dnoredist
>>
>>
>>
>>
>>
>> [INFO]
>> ----------------------------------------------------------------------
>> --
>>
>> [ERROR] Failed to execute goal on project cloud-client-ui: Could not
>> resolve dependencies for project
>> org.apache.cloudstack:cloud-client-ui:war:4.4.1-SNAPSHOT: The
>> following artifacts could not be resolved:
>> org.apache.cloudstack:cloud-plugin-netapp:jar:4.4.1-SNAPSHOT,
>> org.apache.cloudstack:cloud-plugin-network-f5:jar:4.4.1-SNAPSHOT,
>> org.apache.cloudstack:cloud-plugin-network-srx:jar:4.4.1-SNAPSHOT,
>> org.apache.cloudstack:cloud-plugin-hypervisor-vmware:jar:4.4.1-SNAPSHO
>> T, org.apache.cloudstack:cloud-vmware-base:jar:4.4.1-SNAPSHOT,
>> org.apache.cloudstack:cloud-plugin-network-cisco-vnmc:jar:4.4.1-SNAPSH
>> OT,
>> org.apache.cloudstack:cloud-plugin-database-mysqlha:jar:4.4.1-SNAPSHOT:
>> Failure to find
>> org.apache.cloudstack:cloud-plugin-netapp:jar:4.4.1-SNAPSHOT
>> in http://repository.apache.org/snapshots was cached in the local
>> repository, resolution will not be reattempted until the update
>> interval of apache.snapshots has elapsed or updates are forced ->
>> [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/DependencyResolutionE
>> xception
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> -----Original Message-----
>> From: Elapavuluri, Jaya [mailto:Jaya.Elapavuluri@netapp.com]
>> Sent: Tuesday, July 29, 2014 2:44 PM
>> To: dev@cloudstack.apache.org
>> Subject: RE: building cloudstack
>>
>>
>>
>> So, is there any way the bug can be fixed??
>>
>>
>>
>> -----Original Message-----
>>
>> From: Rohit Yadav [mailto:rohit.yadav@shapeblue.com]
>>
>> Sent: Monday, July 28, 2014 5:10 PM
>>
>> To: dev@cloudstack.apache.org
>>
>> Subject: Re: building cloudstack
>>
>>
>>
>> Hi Jaya,
>>
>>
>>
>> Which branch are you on? It's a bug we'll fix it by placing an empty
>> upgrade path for 4.4.1 version.
>>
>>
>>
>> The upgrade paths are available only between released versions only,
>> so it fails as there is no upgrade path for 4.4.1-SNAPSHOT.
>>
>>
>>
>> Regards.
>>
>>
>>
>> Elapavuluri, Jaya wrote:
>>
>>> Hello,
>>
>>>
>>
>>>
>>
>>>
>>
>>> I had setup cloudstack 4.4 environment which was running fine.
>>
>>>
>>
>>> I recently did a git pull to get the updates after which when I tried
>>> to mvn -Pdeveloper -pl developer -Ddeploydb I was encountering with
>>> the following error.
>>
>>>
>>
>>>
>>
>>> [ERROR] Failed to execute goal
>>
>>> org.codehaus.mojo:exec-maven-plugin:1.2.1:java (create-schema) on
>>
>>> project cloud-developer: An exception occured while executing the
>>> Java
>>
>>> class. null: InvocationTargetException: The end upgrade version is
>>
>>> actually at 4.4.0 but our management server code version is at
>>
>>> 4.4.1-SNAPSHOT ->  [Help 1]
>>
>>>
>>
>>> However mvn -P developer,systemvm clean install gives a build success.
>>
>>>
>>
>>> Can someone share their knowledge on this?
>>
>>>
>>
>>
>>
>> --
>>
>> Rohit Yadav
>>
>> Software Architect, ShapeBlue
>>
>> M. +41 779015219 | rohit.yadav@shapeblue.com
>>
>> Blog: bhaisaab.org | Twitter: @_bhaisaab
>>
>>
>>
>>
>>
>> Find out more about ShapeBlue and our range of CloudStack related
>> services
>>
>>
>>
>> IaaS Cloud Design &
>> Build<http://shapeblue.com/iaas-cloud-design-and-build//>
>>
>> CSForge – rapid IaaS deployment
>> framework<http://shapeblue.com/csforge/>
>>
>> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
>>
>> CloudStack Infrastructure
>> Support<http://shapeblue.com/cloudstack-infrastructure-support/>
>>
>> CloudStack Bootcamp Training
>> Courses<http://shapeblue.com/cloudstack-training/>
>>
>>
>>
>> This email and any attachments to it may be confidential and are
>> intended solely for the use of the individual to whom it is addressed.
>> Any views or opinions expressed are solely those of the author and do
>> not necessarily represent those of Shape Blue Ltd or related
>> companies. If you are not the intended recipient of this email, you
>> must neither take any action based upon its contents, nor copy or show
>> it to anyone. Please contact the sender if you believe you have
>> received this email in error. Shape Blue Ltd is a company incorporated
>> in England & Wales. ShapeBlue Services India LLP is a company
>> incorporated in India and is operated under license from Shape Blue
>> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in
>> Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA
>> Pty Ltd is a company registered by The Republic of South Africa and is traded under
license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>
>
>
> --
> Daan



-- 
Daan

Mime
View raw message