You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Ioannis Canellos (Updated) (JIRA)" <ji...@apache.org> on 2012/02/28 15:23:46 UTC

[jira] [Updated] (WHIRR-536) Using SNAPSHOT versions of jclouds breaks OSGi support

     [ https://issues.apache.org/jira/browse/WHIRR-536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ioannis Canellos updated WHIRR-536:
-----------------------------------

    Attachment: WHIRR-536.patch

I am attaching a patch, which uses antrun plugin to normalize the jclouds version.

This patch also removes dependency of guava from itests (compile scope, the tests still require guava in the test scope).

Patch has been also tested with whirr-504 (it requires to also change the version of jclouds-karaf to fully work, which is not included in this patch).
                
> Using SNAPSHOT versions of jclouds breaks OSGi support
> ------------------------------------------------------
>
>                 Key: WHIRR-536
>                 URL: https://issues.apache.org/jira/browse/WHIRR-536
>             Project: Whirr
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.8.0
>            Reporter: Ioannis Canellos
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-536.patch
>
>
> The problem is simple. Whirr uses fragments that attach themselves to jclouds script builder.
> Maven bundle plugin doesn't cleanup the bundle version used when using fragment instructions. 
> OSGi doesn't cope with -SNAPSHOT in versions.
> What needs to be done is to add a plugin configuration that cleans up the version and pass it to the maven-bundle-plugin.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira