You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2011/05/19 15:35:47 UTC

[jira] [Created] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Avoid Camel feature linked to a specific Karaf version
------------------------------------------------------

                 Key: CAMEL-3995
                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
             Project: Camel
          Issue Type: Improvement
          Components: karaf
            Reporter: Jean-Baptiste Onofré
            Assignee: Jean-Baptiste Onofré
             Fix For: 2.8.0
         Attachments: CAMEL-3995.patch

To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated CAMEL-3995:
----------------------------------------

    Attachment: CAMEL-3995.patch

Patch including features version range.

> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated CAMEL-3995:
----------------------------------------

    Attachment: CAMEL-3995.patch

This patch uses the "new" features maven plugin 2.2.2-SNAPSHOT.
It fixes the issue raised by Richard about the features descriptor validation.

Now, I'm running all camel-itest-osgi.

> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch, CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045925#comment-13045925 ] 

Christian Schneider commented on CAMEL-3995:
--------------------------------------------

Sounds great. So in any case is the repository problem only appearing in pax exam or could it also hit karaf in production?


> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch, CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045960#comment-13045960 ] 

Jean-Baptiste Onofré commented on CAMEL-3995:
---------------------------------------------

Thanks again Willem, I will review the Blueprint2Test.

I will also submit a patch with SNAPSHOT of Pax Exam.

> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch, CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045857#comment-13045857 ] 

Jean-Baptiste Onofré commented on CAMEL-3995:
---------------------------------------------

Yes itest-osgi exclude all Test in the pom. I re-enable it and test.

> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch, CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045989#comment-13045989 ] 

Jean-Baptiste Onofré commented on CAMEL-3995:
---------------------------------------------

The update to Karaf 2.2.2-SNAPSHOT is required (the features-maven-plugin) to be able to run mvn clean install -Pvalidate in platform/karaf/features.

> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch, CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045879#comment-13045879 ] 

Willem Jiang commented on CAMEL-3995:
-------------------------------------

Hi JB,
I just found a way to work around the issue of NO feature named 'spring' with version '[3,4)' available.
We just need to install the karaf feature spring feature first, and I'm working on the patch on.

You can keep working ont he Pax Scanner side if you are still interesting about it  :)

Willem


> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch, CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045854#comment-13045854 ] 

Christian Schneider commented on CAMEL-3995:
--------------------------------------------

Testing the new patch now

> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch, CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated CAMEL-3995:
----------------------------------------

    Patch Info: [Patch Available]

> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045856#comment-13045856 ] 

Jean-Baptiste Onofré commented on CAMEL-3995:
---------------------------------------------

Wait, git log looks that Hadrian disables some unit tests. Let me check to re-enable all tests.

> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch, CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13036697#comment-13036697 ] 

Willem Jiang commented on CAMEL-3995:
-------------------------------------

@JB,

apache camel feature is using spring, spring-dm, http and jetty feature from Karaf.
There are two versions of spring in the karaf feature.
And your patch is not cover all the situation. 


> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schneider resolved CAMEL-3995.
----------------------------------------

    Resolution: Fixed

Applied the patch. Many thanks JB

> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Reopened] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reopened CAMEL-3995:
--------------------------------


This commit causes all OSGi unit tests to fail. See more details at: http://camel.465427.n5.nabble.com/BEWARE-Messing-with-OSGi-Be-a-bit-more-careful-please-td4451969.html

> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045895#comment-13045895 ] 

Willem Jiang commented on CAMEL-3995:
-------------------------------------

I'm doing some clean up on the OSGi integration test now and will commit the change shortly.


> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch, CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045923#comment-13045923 ] 

Willem Jiang commented on CAMEL-3995:
-------------------------------------

Hi Christian, 

The work around that I mentioned can let the pax-exam load the camel karaf feature rightly.
You don't need to add the repository entry back to the camel-karaf feature.

Now I'm running the OSGi integration test, I will commit the change when the test finished.


> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch, CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated CAMEL-3995:
----------------------------------------

    Attachment: CAMEL-3995.patch

> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13046343#comment-13046343 ] 

Claus Ibsen commented on CAMEL-3995:
------------------------------------

The osgi tests now runs fine

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 30:36.829s
[INFO] Finished at: Thu Jun 09 07:13:27 CEST 2011
[INFO] Final Memory: 40M/88M
[INFO] ------------------------------------------------------------------------

> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch, CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045862#comment-13045862 ] 

Jean-Baptiste Onofré commented on CAMEL-3995:
---------------------------------------------

OK, got it.

The issue is related to Pax Exam and Pax Scanner which don't include the latest Karaf features:
Caused by: org.ops4j.pax.scanner.ScannerException: No feature named 'spring' with version '[3,4)' available
        at org.ops4j.pax.scanner.features.internal.FeaturesScanner.features(FeaturesScanner.java:127)

The spring is not found because it should be provided by default (as made in features-maven-plugin of Karaf 2.2.2-SNAPSHOT).

I'm gonna work on Pax Exam/Pax Scanner to use the same behavior and update the Karaf version.

> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch, CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated CAMEL-3995:
----------------------------------------

    Attachment:     (was: CAMEL-3995.patch)

> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045858#comment-13045858 ] 

Christian Schneider commented on CAMEL-3995:
--------------------------------------------

I also saw that. I will test with enabled tests.

> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch, CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045933#comment-13045933 ] 

Jean-Baptiste Onofré commented on CAMEL-3995:
---------------------------------------------

@Christian, no the problem is only using Pax Exam. We won't have the issue in production directly in Karaf as the spring feature and features descriptor are presents in the Karaf system repo.

> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch, CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13044057#comment-13044057 ] 

Jean-Baptiste Onofré commented on CAMEL-3995:
---------------------------------------------

As sent on the mailing list, I made enhancements on the features-maven-plugin, especially around the validation and add-features-to-repo goals.

Now, the Karaf core features descriptors (standard and enterprise) are included by default.

But, it requires to use version 2.2.2-SNAPSHOT of the features-maven-plugin.

> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038439#comment-13038439 ] 

Jean-Baptiste Onofré commented on CAMEL-3995:
---------------------------------------------

You're right for the spring version. I will submit a new patch using feature version range.

> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13044245#comment-13044245 ] 

Claus Ibsen commented on CAMEL-3995:
------------------------------------

Jean the osgi tests uses pax-exam to setup and run the tests. So whatever changes you want to introduce, it must be able to run the unit test without problems. 

Take a look at OSGiIntegrationTestSupport in the source code for tests/camel-itest-osgi.
And see if you can get that working with your patch.


> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045882#comment-13045882 ] 

Jean-Baptiste Onofré commented on CAMEL-3995:
---------------------------------------------

Thanks for the update Willem ;)

But I think we should consider it as a workaround. Pax Scanner/Pax Exam should be updated to include the latest Karaf changes.

> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch, CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13047167#comment-13047167 ] 

Claus Ibsen commented on CAMEL-3995:
------------------------------------

Jean I assume this ticket can be resolved now?

> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch, CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045914#comment-13045914 ] 

Christian Schneider commented on CAMEL-3995:
--------------------------------------------

Hi Willem and Jean-Baptiste,
I have added the repository entry and reactived the osgi itests so we hopefully have a working build again.


> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch, CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Closed] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré closed CAMEL-3995.
---------------------------------------


Revision 1133395.

> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch, CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045957#comment-13045957 ] 

Willem Jiang commented on CAMEL-3995:
-------------------------------------

I just commit a work around patch into camel-osgi-itest.
Now there is only a test of Blueprint2Test failed, I will revisit this failed test later.
  

> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch, CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13044037#comment-13044037 ] 

Christian Schneider commented on CAMEL-3995:
--------------------------------------------

Ok. Thanks Claus. Will try to find the problem.

> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045883#comment-13045883 ] 

Jean-Baptiste Onofré commented on CAMEL-3995:
---------------------------------------------

Willem, I just made the workaround patch to install spring feature first. Do you mind if I provide it ?

> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch, CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-3995.
--------------------------------

    Resolution: Fixed

The Camel features.xml file no longer have any Karaf imports.

> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch, CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045897#comment-13045897 ] 

Jean-Baptiste Onofré commented on CAMEL-3995:
---------------------------------------------

Awesome Willem, thanks a bunch !!

I'm starting to work on Pax Scanner on my side (team work :)).

> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch, CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045847#comment-13045847 ] 

Jean-Baptiste Onofré commented on CAMEL-3995:
---------------------------------------------

After applying my latest patch (updating to Karaf 2.2.2-SNAPSHOT), all tests are OK including the OSGi and Karaf one:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Camel :: Tests Bundles ............................ SUCCESS [5.347s]
[INFO] Camel :: Test Bundles: mock-javamail-1.7 .......... SUCCESS [8.902s]
[INFO] Camel :: Integration Tests :: Standalone .......... SUCCESS [4.270s]
[INFO] Camel :: Integration Tests ........................ SUCCESS [13:50.071s]
[INFO] Camel :: Partial Classpath Tests .................. SUCCESS [5.338s]
[INFO] Camel :: OSGi Integration Tests ................... SUCCESS [3:51.758s]
[INFO] Camel :: Tests .................................... SUCCESS [0.143s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18:08.058s
[INFO] Finished at: Wed Jun 08 10:53:28 CEST 2011
[INFO] Final Memory: 56M/299M
[INFO] ------------------------------------------------------------------------

Could you apply the patch ?

> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch, CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3995) Avoid Camel feature linked to a specific Karaf version

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13044279#comment-13044279 ] 

Christian Schneider commented on CAMEL-3995:
--------------------------------------------

If the change requires a SNAPSHOT version of the features-maven plugin then we have to check if we want it in 2.8.0 already. 
@JB Will the plugin be released before CAMEL-2.8.0 ?

> Avoid Camel feature linked to a specific Karaf version
> ------------------------------------------------------
>
>                 Key: CAMEL-3995
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3995
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3995.patch
>
>
> To be compatible with several Karaf versions (including minor release), Camel feature shouldn't refer to a specific Karaf version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira