You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/04/02 03:14:17 UTC

[jira] [Commented] (JCLOUDS-511) Incorrect feature definition: jclouds-rackspace-cloudblockstorage-uk/us

    [ https://issues.apache.org/jira/browse/JCLOUDS-511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13957223#comment-13957223 ] 

ASF subversion and git services commented on JCLOUDS-511:
---------------------------------------------------------

Commit 866aaa921593e936cb66db8ca9a0125daa389798 in jclouds-karaf's branch refs/heads/JCLOUDS-511-1.7.x from [~gzres]
[ https://git-wip-us.apache.org/repos/asf?p=jclouds-karaf.git;h=866aaa9 ]

JCLOUDS-511: Correcting features with dependency-only bundles


> Incorrect feature definition: jclouds-rackspace-cloudblockstorage-uk/us
> -----------------------------------------------------------------------
>
>                 Key: JCLOUDS-511
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-511
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-karaf
>    Affects Versions: 1.7.1
>            Reporter: Grzegorz Grzybek
>            Assignee: Andrew Phillips
>             Fix For: 1.8.0
>
>         Attachments: JCLOUDS-511.patch
>
>
> For example, uk feature has the following definition:
> {code:xml}
> <feature name='jclouds-rackspace-cloudblockstorage-uk' description='Racksapce Cloud Block Storage UK' version='${project.version}' resolver='(obr)'>
>   <feature version='${project.version}'>jclouds-api-openstack-cinder</feature>
>   <feature version='${project.version}'>jclouds-api-rackspace-cloudidentity</feature>
>   <bundle>mvn:org.apache.jclouds.provider/rackspace-cloudblockstorage-uk/${jclouds.version}</bundle>
> </feature>
> {code}
> and {{jclouds-api-rackspace-cloudidentity}}:
> {code:xml}
> <feature name="jclouds-api-rackspace-cloudidentity" description="Rackspace Cloud Identity API" version="${project.version}" resolver="(obr)">
>   <feature version='${project.version}'>jclouds-compute</feature>
>   <feature version='${project.version}'>jclouds-api-openstack-keystone</feature>
>   <bundle dependency='true'>mvn:org.apache.jclouds.api/rackspace-cloudidentity/${jclouds.version}</bundle>
> </feature>
> {code}
> However, with current Karaf there's no way the bundle "mvn:org.apache.jclouds.api/rackspace-cloudidentity/${jclouds.version}" will get installed. Bundles with {dependency="true"} are taken into account only during resolution of other bundles from the same feature - not of the _upper_ feature which uses other features. In other words - {{<bundle dependency="true" />}} doesn't _bubble up_.



--
This message was sent by Atlassian JIRA
(v6.2#6252)