You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Andreas Kuhtz (JIRA)" <ji...@apache.org> on 2011/09/02 16:14:09 UTC

[jira] [Created] (CAMEL-4408) Fix OSGi-exports of camel-soap

Fix OSGi-exports of camel-soap
------------------------------

                 Key: CAMEL-4408
                 URL: https://issues.apache.org/jira/browse/CAMEL-4408
             Project: Camel
          Issue Type: Bug
          Components: camel-soap
    Affects Versions: 2.8.0
            Reporter: Andreas Kuhtz
             Fix For: 2.8.1, 2.9.0


The OSGi exports of camel-soap is not correct. If I run exports in karaf I get the following output. 

{code}
 karaf@localhost>  exports 135 
      ID Packages 
     135 org.apache.camel.dataformat.soap; version="0.0.0" 
     135 org.apache.camel.dataformat.soap.name; version="0.0.0" 
     135 org.xmlsoap.schemas.soap.envelope; version="2.8.1.SNAPSHOT" 
{code}
 
I think org.apache.camel.dataformat.soap and org.apache.camel.dataformat.soap.name should be exported with version="2.8.1.SNAPSHOT" ???? (The same issue is on trunk).

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

        

[jira] [Updated] (CAMEL-4408) Fix OSGi-exports of camel-soap

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

Andreas Kuhtz updated CAMEL-4408:
---------------------------------

    Issue Type: Improvement  (was: Bug)

> Fix OSGi-exports of camel-soap
> ------------------------------
>
>                 Key: CAMEL-4408
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4408
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-soap
>    Affects Versions: 2.8.0
>            Reporter: Andreas Kuhtz
>             Fix For: 2.8.1, 2.9.0
>
>         Attachments: camel-4408.diff
>
>
> The OSGi exports of camel-soap is not correct. If I run exports in karaf I get the following output. 
> {code}
>  karaf@localhost>  exports 135 
>       ID Packages 
>      135 org.apache.camel.dataformat.soap; version="0.0.0" 
>      135 org.apache.camel.dataformat.soap.name; version="0.0.0" 
>      135 org.xmlsoap.schemas.soap.envelope; version="2.8.1.SNAPSHOT" 
> {code}
>  
> I think org.apache.camel.dataformat.soap and org.apache.camel.dataformat.soap.name should be exported with version="2.8.1.SNAPSHOT" ???? (The same issue is on trunk).

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

        

[jira] [Commented] (CAMEL-4408) Fix OSGi-exports of camel-soap

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

Claus Ibsen commented on CAMEL-4408:
------------------------------------

Its just a bit odd as every camel component has this export.pgk

davsclaus:(svn)camel[trunk:1164580]/components$ find . -name 'pom.xml' | xargs grep "camel.osgi.export.pkg" | wc -l
     118

So why would camel-soap be different?

Ah it could be the fact the maven bundle plugin has a problem, if there is a comma in the there, as you have in camel-soap

> Fix OSGi-exports of camel-soap
> ------------------------------
>
>                 Key: CAMEL-4408
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4408
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-soap
>    Affects Versions: 2.8.0
>            Reporter: Andreas Kuhtz
>             Fix For: 2.8.1, 2.9.0
>
>         Attachments: camel-4408.diff
>
>
> The OSGi exports of camel-soap is not correct. If I run exports in karaf I get the following output. 
> {code}
>  karaf@localhost>  exports 135 
>       ID Packages 
>      135 org.apache.camel.dataformat.soap; version="0.0.0" 
>      135 org.apache.camel.dataformat.soap.name; version="0.0.0" 
>      135 org.xmlsoap.schemas.soap.envelope; version="2.8.1.SNAPSHOT" 
> {code}
>  
> I think org.apache.camel.dataformat.soap and org.apache.camel.dataformat.soap.name should be exported with version="2.8.1.SNAPSHOT" ???? (The same issue is on trunk).

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

        

[jira] [Commented] (CAMEL-4408) Fix OSGi-exports of camel-soap

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

Claus Ibsen commented on CAMEL-4408:
------------------------------------

Yeah OSGi has its moments.

camel-soap have been around for a fairly long time. And the only recent change on trunk was that we in fact upgrade the maven-bundle-plugin. It was used a mix of 2.0.1 and 2.3.4. Now its using 2.3.5 consistently on trunk.

> Fix OSGi-exports of camel-soap
> ------------------------------
>
>                 Key: CAMEL-4408
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4408
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-soap
>    Affects Versions: 2.8.0
>            Reporter: Andreas Kuhtz
>             Fix For: 2.8.1, 2.9.0
>
>         Attachments: camel-4408.diff
>
>
> The OSGi exports of camel-soap is not correct. If I run exports in karaf I get the following output. 
> {code}
>  karaf@localhost>  exports 135 
>       ID Packages 
>      135 org.apache.camel.dataformat.soap; version="0.0.0" 
>      135 org.apache.camel.dataformat.soap.name; version="0.0.0" 
>      135 org.xmlsoap.schemas.soap.envelope; version="2.8.1.SNAPSHOT" 
> {code}
>  
> I think org.apache.camel.dataformat.soap and org.apache.camel.dataformat.soap.name should be exported with version="2.8.1.SNAPSHOT" ???? (The same issue is on trunk).

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

        

[jira] [Updated] (CAMEL-4408) Fix OSGi-exports of camel-soap

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

Andreas Kuhtz updated CAMEL-4408:
---------------------------------

    Attachment: camel-4408.diff

Patch for 2.8.1-SNAPSHOT

> Fix OSGi-exports of camel-soap
> ------------------------------
>
>                 Key: CAMEL-4408
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4408
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-soap
>    Affects Versions: 2.8.0
>            Reporter: Andreas Kuhtz
>             Fix For: 2.8.1, 2.9.0
>
>         Attachments: camel-4408.diff
>
>
> The OSGi exports of camel-soap is not correct. If I run exports in karaf I get the following output. 
> {code}
>  karaf@localhost>  exports 135 
>       ID Packages 
>      135 org.apache.camel.dataformat.soap; version="0.0.0" 
>      135 org.apache.camel.dataformat.soap.name; version="0.0.0" 
>      135 org.xmlsoap.schemas.soap.envelope; version="2.8.1.SNAPSHOT" 
> {code}
>  
> I think org.apache.camel.dataformat.soap and org.apache.camel.dataformat.soap.name should be exported with version="2.8.1.SNAPSHOT" ???? (The same issue is on trunk).

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

        

[jira] [Commented] (CAMEL-4408) Fix OSGi-exports of camel-soap

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

Andreas Kuhtz commented on CAMEL-4408:
--------------------------------------

Yes, that might be the reason. I also noticed that the is an "Ignore-Package" entry in the 2.8.1-SNAPSHOT that has gone away in 2.9-SNAPSHOT. Maybe there is something that has to do with the mixed/old version of the bundle plugin.
And another thing is the following _org.xmlsoap.schemas.soap.envelope;version="[2.8,3)"_ in the Import-Package. This package is exported from this bundle ....

> Fix OSGi-exports of camel-soap
> ------------------------------
>
>                 Key: CAMEL-4408
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4408
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-soap
>    Affects Versions: 2.8.0
>            Reporter: Andreas Kuhtz
>            Assignee: Claus Ibsen
>             Fix For: 2.8.1, 2.9.0
>
>         Attachments: camel-4408.diff
>
>
> The OSGi exports of camel-soap is not correct. If I run exports in karaf I get the following output. 
> {code}
>  karaf@localhost>  exports 135 
>       ID Packages 
>      135 org.apache.camel.dataformat.soap; version="0.0.0" 
>      135 org.apache.camel.dataformat.soap.name; version="0.0.0" 
>      135 org.xmlsoap.schemas.soap.envelope; version="2.8.1.SNAPSHOT" 
> {code}
>  
> I think org.apache.camel.dataformat.soap and org.apache.camel.dataformat.soap.name should be exported with version="2.8.1.SNAPSHOT" ???? (The same issue is on trunk).

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

        

[jira] [Commented] (CAMEL-4408) Fix OSGi-exports of camel-soap

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

Claus Ibsen commented on CAMEL-4408:
------------------------------------

Hmm the trunk looks like

{code}
   <properties>
        <camel.osgi.import.before.defaults>javax.xml.ws;version="[0.0,3)"</camel.osgi.import.before.defaults>
        <camel.osgi.export.pkg>org.apache.camel.dataformat.soap.*, org.xmlsoap.schemas.soap.envelope.*
        </camel.osgi.export.pkg>
    </properties>
{code}

I dont recall we have had the need to add version to this before. Are you sure there is a problem?

> Fix OSGi-exports of camel-soap
> ------------------------------
>
>                 Key: CAMEL-4408
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4408
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-soap
>    Affects Versions: 2.8.0
>            Reporter: Andreas Kuhtz
>             Fix For: 2.8.1, 2.9.0
>
>         Attachments: camel-4408.diff
>
>
> The OSGi exports of camel-soap is not correct. If I run exports in karaf I get the following output. 
> {code}
>  karaf@localhost>  exports 135 
>       ID Packages 
>      135 org.apache.camel.dataformat.soap; version="0.0.0" 
>      135 org.apache.camel.dataformat.soap.name; version="0.0.0" 
>      135 org.xmlsoap.schemas.soap.envelope; version="2.8.1.SNAPSHOT" 
> {code}
>  
> I think org.apache.camel.dataformat.soap and org.apache.camel.dataformat.soap.name should be exported with version="2.8.1.SNAPSHOT" ???? (The same issue is on trunk).

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

        

[jira] [Commented] (CAMEL-4408) Fix OSGi-exports of camel-soap

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

Andreas Kuhtz commented on CAMEL-4408:
--------------------------------------

@Claus
The trunk (2.9-SNAPSHOT, check the jar in the apache-snapshot repo) has the version correct, but in the 2.8.1-SNAPSHOT (check the jar in the apache-snapshot repo) the version is wrong.
It is a problem if someone (like me :-) ) wants to extend the SoapJaxbDataFormat in OSGi environment.

I've compared the manifest.mf files of 2.9-SNAPSHOT and 2.8.1-SNAPSHOT and the look different in the Export-Package and Import-Package (!!!) parts! As I don't want to introduce problems in the preparation of the upcoming release of 2.8.1 I think it's better to not change anything now (at least from my point of view) with my little knowledge about OSGi :-)

> Fix OSGi-exports of camel-soap
> ------------------------------
>
>                 Key: CAMEL-4408
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4408
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-soap
>    Affects Versions: 2.8.0
>            Reporter: Andreas Kuhtz
>             Fix For: 2.8.1, 2.9.0
>
>         Attachments: camel-4408.diff
>
>
> The OSGi exports of camel-soap is not correct. If I run exports in karaf I get the following output. 
> {code}
>  karaf@localhost>  exports 135 
>       ID Packages 
>      135 org.apache.camel.dataformat.soap; version="0.0.0" 
>      135 org.apache.camel.dataformat.soap.name; version="0.0.0" 
>      135 org.xmlsoap.schemas.soap.envelope; version="2.8.1.SNAPSHOT" 
> {code}
>  
> I think org.apache.camel.dataformat.soap and org.apache.camel.dataformat.soap.name should be exported with version="2.8.1.SNAPSHOT" ???? (The same issue is on trunk).

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

        

[jira] [Assigned] (CAMEL-4408) Fix OSGi-exports of camel-soap

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

Claus Ibsen reassigned CAMEL-4408:
----------------------------------

    Assignee: Claus Ibsen

> Fix OSGi-exports of camel-soap
> ------------------------------
>
>                 Key: CAMEL-4408
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4408
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-soap
>    Affects Versions: 2.8.0
>            Reporter: Andreas Kuhtz
>            Assignee: Claus Ibsen
>             Fix For: 2.8.1, 2.9.0
>
>         Attachments: camel-4408.diff
>
>
> The OSGi exports of camel-soap is not correct. If I run exports in karaf I get the following output. 
> {code}
>  karaf@localhost>  exports 135 
>       ID Packages 
>      135 org.apache.camel.dataformat.soap; version="0.0.0" 
>      135 org.apache.camel.dataformat.soap.name; version="0.0.0" 
>      135 org.xmlsoap.schemas.soap.envelope; version="2.8.1.SNAPSHOT" 
> {code}
>  
> I think org.apache.camel.dataformat.soap and org.apache.camel.dataformat.soap.name should be exported with version="2.8.1.SNAPSHOT" ???? (The same issue is on trunk).

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

        

[jira] [Resolved] (CAMEL-4408) Fix OSGi-exports of camel-soap

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

Claus Ibsen resolved CAMEL-4408.
--------------------------------

    Resolution: Fixed

Thanks Andreas. The 2.8.1 branch now has the version numbers.

> Fix OSGi-exports of camel-soap
> ------------------------------
>
>                 Key: CAMEL-4408
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4408
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-soap
>    Affects Versions: 2.8.0
>            Reporter: Andreas Kuhtz
>            Assignee: Claus Ibsen
>             Fix For: 2.8.1, 2.9.0
>
>         Attachments: camel-4408.diff
>
>
> The OSGi exports of camel-soap is not correct. If I run exports in karaf I get the following output. 
> {code}
>  karaf@localhost>  exports 135 
>       ID Packages 
>      135 org.apache.camel.dataformat.soap; version="0.0.0" 
>      135 org.apache.camel.dataformat.soap.name; version="0.0.0" 
>      135 org.xmlsoap.schemas.soap.envelope; version="2.8.1.SNAPSHOT" 
> {code}
>  
> I think org.apache.camel.dataformat.soap and org.apache.camel.dataformat.soap.name should be exported with version="2.8.1.SNAPSHOT" ???? (The same issue is on trunk).

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

        

[jira] [Commented] (CAMEL-4408) Fix OSGi-exports of camel-soap

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

Andreas Kuhtz commented on CAMEL-4408:
--------------------------------------

Thank you very much!!!

> Fix OSGi-exports of camel-soap
> ------------------------------
>
>                 Key: CAMEL-4408
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4408
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-soap
>    Affects Versions: 2.8.0
>            Reporter: Andreas Kuhtz
>            Assignee: Claus Ibsen
>             Fix For: 2.8.1, 2.9.0
>
>         Attachments: camel-4408.diff
>
>
> The OSGi exports of camel-soap is not correct. If I run exports in karaf I get the following output. 
> {code}
>  karaf@localhost>  exports 135 
>       ID Packages 
>      135 org.apache.camel.dataformat.soap; version="0.0.0" 
>      135 org.apache.camel.dataformat.soap.name; version="0.0.0" 
>      135 org.xmlsoap.schemas.soap.envelope; version="2.8.1.SNAPSHOT" 
> {code}
>  
> I think org.apache.camel.dataformat.soap and org.apache.camel.dataformat.soap.name should be exported with version="2.8.1.SNAPSHOT" ???? (The same issue is on trunk).

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

        

[jira] [Commented] (CAMEL-4408) Fix OSGi-exports of camel-soap

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

Claus Ibsen commented on CAMEL-4408:
------------------------------------

I could see that camel-rss, may have that as well. The odd thing is that when there is multiple packages to export, then its as if we need to set the camel version on the first package, then the rest follows.

I discovered camel-rss and camel-soap not having this set, and thus I think you are right that there is a problem.
Could be that bundle upgrade on trunk fixed it there though.

> Fix OSGi-exports of camel-soap
> ------------------------------
>
>                 Key: CAMEL-4408
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4408
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-soap
>    Affects Versions: 2.8.0
>            Reporter: Andreas Kuhtz
>             Fix For: 2.8.1, 2.9.0
>
>         Attachments: camel-4408.diff
>
>
> The OSGi exports of camel-soap is not correct. If I run exports in karaf I get the following output. 
> {code}
>  karaf@localhost>  exports 135 
>       ID Packages 
>      135 org.apache.camel.dataformat.soap; version="0.0.0" 
>      135 org.apache.camel.dataformat.soap.name; version="0.0.0" 
>      135 org.xmlsoap.schemas.soap.envelope; version="2.8.1.SNAPSHOT" 
> {code}
>  
> I think org.apache.camel.dataformat.soap and org.apache.camel.dataformat.soap.name should be exported with version="2.8.1.SNAPSHOT" ???? (The same issue is on trunk).

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