You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Imesh Gunaratne <im...@apache.org> on 2014/12/24 16:41:00 UTC

Build Error in Cloud Controller Feature - openstack-neutron:jar:1.7.1-stratos

I see the below error in Cloud Controller feature:

[ERROR] Failed to execute goal on project
org.apache.stratos.cloud.controller.feature: Could not resolve dependencies
for project
org.apache.stratos:org.apache.stratos.cloud.controller.feature:pom:4.1.0-SNAPSHOT:
Failure to find org.apache.stratos:openstack-neutron:jar:1.7.1-stratos 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]


-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Re: Build Error in Cloud Controller Feature - openstack-neutron:jar:1.7.1-stratos

Posted by Imesh Gunaratne <im...@apache.org>.
Yes there is no reference to 1.7.1-stratos in the codebase, I guess maven
is trying to fetch the latest available since the dependency is not there.

On Thu, Dec 25, 2014 at 12:35 AM, Rajkumar Rajaratnam <ra...@wso2.com>
wrote:

> Hi,
>
> Just completed a clean repo build on STRATOS_HOME/pom.xml and all went
> fine without any issues.
>
> But I noticed that the dependency to openstack-neutron:1.8.1-stratos is
> missing from cc feature pom.xml.
>
> However it will not cause a build failure. Reason is
> STRATOS_HOME/dependencies are built first. So
> openstack-neutron:1.8.1-stratos jar is always available for us before
> building the features.
>
> And I am not sure how we can get $Subject, since we don't have any
> references to 1.7.1-stratos in our code base.
>
> Thanks.
>
> On Wed, Dec 24, 2014 at 9:46 PM, Imesh Gunaratne <im...@apache.org> wrote:
>
>> Yes, the dependency to this module was missing in the cloud controller
>> feature. Try to do a clean repo build, you will see the error.
>>
>> Thanks
>>
>> On Wed, Dec 24, 2014 at 9:42 PM, Rajkumar Rajaratnam <ra...@wso2.com>
>> wrote:
>>
>>> Hi Imesh,
>>>
>>> Can you explain a bit about this error and the fix you made?
>>>
>>> We didn't use openstack-neutron in any of the previous releases. It is
>>> added recently and the version is 1.8.1-stratos.
>>>
>>> Thanks.
>>>
>>> On Wed, Dec 24, 2014 at 9:29 PM, Imesh Gunaratne <im...@apache.org>
>>> wrote:
>>>
>>>> I just found the problem and fixed it. We have not defined a dependency
>>>> for the above module in the cloud controller feature pom.xml file.
>>>>
>>>> Please do a clean repo build when module dependencies/versions are
>>>> changed, otherwise such issues might not surface.
>>>>
>>>> Thanks
>>>>
>>>> On Wed, Dec 24, 2014 at 9:11 PM, Imesh Gunaratne <im...@apache.org>
>>>> wrote:
>>>>
>>>>> I see the below error in Cloud Controller feature:
>>>>>
>>>>> [ERROR] Failed to execute goal on project
>>>>> org.apache.stratos.cloud.controller.feature: Could not resolve dependencies
>>>>> for project
>>>>> org.apache.stratos:org.apache.stratos.cloud.controller.feature:pom:4.1.0-SNAPSHOT:
>>>>> Failure to find org.apache.stratos:openstack-neutron:jar:1.7.1-stratos 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]
>>>>>
>>>>>
>>>>> --
>>>>> Imesh Gunaratne
>>>>>
>>>>> Technical Lead, WSO2
>>>>> Committer & PMC Member, Apache Stratos
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Imesh Gunaratne
>>>>
>>>> Technical Lead, WSO2
>>>> Committer & PMC Member, Apache Stratos
>>>>
>>>
>>>
>>>
>>> --
>>> Rajkumar Rajaratnam
>>> Committer & PMC Member, Apache Stratos
>>> Software Engineer, WSO2
>>>
>>> Mobile : +94777568639
>>> Blog : rajkumarr.com
>>>
>>
>>
>>
>> --
>> Imesh Gunaratne
>>
>> Technical Lead, WSO2
>> Committer & PMC Member, Apache Stratos
>>
>
>
>
> --
> Rajkumar Rajaratnam
> Committer & PMC Member, Apache Stratos
> Software Engineer, WSO2
>
> Mobile : +94777568639
> Blog : rajkumarr.com
>



-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Re: Build Error in Cloud Controller Feature - openstack-neutron:jar:1.7.1-stratos

Posted by Rajkumar Rajaratnam <ra...@wso2.com>.
Hi,

Just completed a clean repo build on STRATOS_HOME/pom.xml and all went fine
without any issues.

But I noticed that the dependency to openstack-neutron:1.8.1-stratos is
missing from cc feature pom.xml.

However it will not cause a build failure. Reason is
STRATOS_HOME/dependencies are built first. So
openstack-neutron:1.8.1-stratos jar is always available for us before
building the features.

And I am not sure how we can get $Subject, since we don't have any
references to 1.7.1-stratos in our code base.

Thanks.

On Wed, Dec 24, 2014 at 9:46 PM, Imesh Gunaratne <im...@apache.org> wrote:

> Yes, the dependency to this module was missing in the cloud controller
> feature. Try to do a clean repo build, you will see the error.
>
> Thanks
>
> On Wed, Dec 24, 2014 at 9:42 PM, Rajkumar Rajaratnam <ra...@wso2.com>
> wrote:
>
>> Hi Imesh,
>>
>> Can you explain a bit about this error and the fix you made?
>>
>> We didn't use openstack-neutron in any of the previous releases. It is
>> added recently and the version is 1.8.1-stratos.
>>
>> Thanks.
>>
>> On Wed, Dec 24, 2014 at 9:29 PM, Imesh Gunaratne <im...@apache.org>
>> wrote:
>>
>>> I just found the problem and fixed it. We have not defined a dependency
>>> for the above module in the cloud controller feature pom.xml file.
>>>
>>> Please do a clean repo build when module dependencies/versions are
>>> changed, otherwise such issues might not surface.
>>>
>>> Thanks
>>>
>>> On Wed, Dec 24, 2014 at 9:11 PM, Imesh Gunaratne <im...@apache.org>
>>> wrote:
>>>
>>>> I see the below error in Cloud Controller feature:
>>>>
>>>> [ERROR] Failed to execute goal on project
>>>> org.apache.stratos.cloud.controller.feature: Could not resolve dependencies
>>>> for project
>>>> org.apache.stratos:org.apache.stratos.cloud.controller.feature:pom:4.1.0-SNAPSHOT:
>>>> Failure to find org.apache.stratos:openstack-neutron:jar:1.7.1-stratos 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]
>>>>
>>>>
>>>> --
>>>> Imesh Gunaratne
>>>>
>>>> Technical Lead, WSO2
>>>> Committer & PMC Member, Apache Stratos
>>>>
>>>
>>>
>>>
>>> --
>>> Imesh Gunaratne
>>>
>>> Technical Lead, WSO2
>>> Committer & PMC Member, Apache Stratos
>>>
>>
>>
>>
>> --
>> Rajkumar Rajaratnam
>> Committer & PMC Member, Apache Stratos
>> Software Engineer, WSO2
>>
>> Mobile : +94777568639
>> Blog : rajkumarr.com
>>
>
>
>
> --
> Imesh Gunaratne
>
> Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>



-- 
Rajkumar Rajaratnam
Committer & PMC Member, Apache Stratos
Software Engineer, WSO2

Mobile : +94777568639
Blog : rajkumarr.com

Re: Build Error in Cloud Controller Feature - openstack-neutron:jar:1.7.1-stratos

Posted by Imesh Gunaratne <im...@apache.org>.
Yes, the dependency to this module was missing in the cloud controller
feature. Try to do a clean repo build, you will see the error.

Thanks

On Wed, Dec 24, 2014 at 9:42 PM, Rajkumar Rajaratnam <ra...@wso2.com>
wrote:

> Hi Imesh,
>
> Can you explain a bit about this error and the fix you made?
>
> We didn't use openstack-neutron in any of the previous releases. It is
> added recently and the version is 1.8.1-stratos.
>
> Thanks.
>
> On Wed, Dec 24, 2014 at 9:29 PM, Imesh Gunaratne <im...@apache.org> wrote:
>
>> I just found the problem and fixed it. We have not defined a dependency
>> for the above module in the cloud controller feature pom.xml file.
>>
>> Please do a clean repo build when module dependencies/versions are
>> changed, otherwise such issues might not surface.
>>
>> Thanks
>>
>> On Wed, Dec 24, 2014 at 9:11 PM, Imesh Gunaratne <im...@apache.org>
>> wrote:
>>
>>> I see the below error in Cloud Controller feature:
>>>
>>> [ERROR] Failed to execute goal on project
>>> org.apache.stratos.cloud.controller.feature: Could not resolve dependencies
>>> for project
>>> org.apache.stratos:org.apache.stratos.cloud.controller.feature:pom:4.1.0-SNAPSHOT:
>>> Failure to find org.apache.stratos:openstack-neutron:jar:1.7.1-stratos 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]
>>>
>>>
>>> --
>>> Imesh Gunaratne
>>>
>>> Technical Lead, WSO2
>>> Committer & PMC Member, Apache Stratos
>>>
>>
>>
>>
>> --
>> Imesh Gunaratne
>>
>> Technical Lead, WSO2
>> Committer & PMC Member, Apache Stratos
>>
>
>
>
> --
> Rajkumar Rajaratnam
> Committer & PMC Member, Apache Stratos
> Software Engineer, WSO2
>
> Mobile : +94777568639
> Blog : rajkumarr.com
>



-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Re: Build Error in Cloud Controller Feature - openstack-neutron:jar:1.7.1-stratos

Posted by Rajkumar Rajaratnam <ra...@wso2.com>.
Hi Imesh,

Can you explain a bit about this error and the fix you made?

We didn't use openstack-neutron in any of the previous releases. It is
added recently and the version is 1.8.1-stratos.

Thanks.

On Wed, Dec 24, 2014 at 9:29 PM, Imesh Gunaratne <im...@apache.org> wrote:

> I just found the problem and fixed it. We have not defined a dependency
> for the above module in the cloud controller feature pom.xml file.
>
> Please do a clean repo build when module dependencies/versions are
> changed, otherwise such issues might not surface.
>
> Thanks
>
> On Wed, Dec 24, 2014 at 9:11 PM, Imesh Gunaratne <im...@apache.org> wrote:
>
>> I see the below error in Cloud Controller feature:
>>
>> [ERROR] Failed to execute goal on project
>> org.apache.stratos.cloud.controller.feature: Could not resolve dependencies
>> for project
>> org.apache.stratos:org.apache.stratos.cloud.controller.feature:pom:4.1.0-SNAPSHOT:
>> Failure to find org.apache.stratos:openstack-neutron:jar:1.7.1-stratos 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]
>>
>>
>> --
>> Imesh Gunaratne
>>
>> Technical Lead, WSO2
>> Committer & PMC Member, Apache Stratos
>>
>
>
>
> --
> Imesh Gunaratne
>
> Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>



-- 
Rajkumar Rajaratnam
Committer & PMC Member, Apache Stratos
Software Engineer, WSO2

Mobile : +94777568639
Blog : rajkumarr.com

Re: Build Error in Cloud Controller Feature - openstack-neutron:jar:1.7.1-stratos

Posted by Imesh Gunaratne <im...@apache.org>.
I just found the problem and fixed it. We have not defined a dependency for
the above module in the cloud controller feature pom.xml file.

Please do a clean repo build when module dependencies/versions are changed,
otherwise such issues might not surface.

Thanks

On Wed, Dec 24, 2014 at 9:11 PM, Imesh Gunaratne <im...@apache.org> wrote:

> I see the below error in Cloud Controller feature:
>
> [ERROR] Failed to execute goal on project
> org.apache.stratos.cloud.controller.feature: Could not resolve dependencies
> for project
> org.apache.stratos:org.apache.stratos.cloud.controller.feature:pom:4.1.0-SNAPSHOT:
> Failure to find org.apache.stratos:openstack-neutron:jar:1.7.1-stratos 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]
>
>
> --
> Imesh Gunaratne
>
> Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>



-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos