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 (Created) (JIRA)" <ji...@apache.org> on 2012/02/28 11:05:48 UTC

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

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


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

        

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

Posted by "Andrei Savu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WHIRR-536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrei Savu updated WHIRR-536:
------------------------------

    Attachment: WHIRR-536.patch

I'm attaching a slightly updated version of this patch that removes whirr-core as a dependency for karaf/itests. All tests are passing. What do you think?

                
> 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, 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

        

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

Posted by "Andrei Savu (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WHIRR-536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrei Savu resolved WHIRR-536.
-------------------------------

    Resolution: Fixed
      Assignee: Ioannis Canellos

Committed to trunk. We've discussed the new approach on IRC and everything should be fine. 
                
> 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
>            Assignee: Ioannis Canellos
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-536.patch, 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

        

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

Posted by "Ioannis Canellos (Updated) (JIRA)" <ji...@apache.org>.
     [ 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

        

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

Posted by "Andrei Savu (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218720#comment-13218720 ] 

Andrei Savu commented on WHIRR-536:
-----------------------------------

I still see whirr-core as a test dependency for karaf/itests  - can this be a problem? What if getOsgiService does not try to cast and we only check for notNull? 
                
> 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