You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Marcel Schlegel (JIRA)" <ji...@apache.org> on 2012/07/18 18:19:34 UTC

[jira] [Updated] (FELIX-3601) Incorrect namespace in component XML for DS Annotations

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

Marcel Schlegel updated FELIX-3601:
-----------------------------------

    Description: 
BND issue reference "https://github.com/bndtools/bnd/issues/136":

------------------------------------------------------------------------------------------------------------------------------------
When using DS annotations, bnd will generate component description XML with invalid namespace values.

The version segment of the namespace value must start with 'v' as in

http://www.osgi.org/xmlns/scr/v1.1.0

bnd is generating them without the 'v' as in

http://www.osgi.org/xmlns/scr/1.1.0

The incorrect namespace causes DS to not recognize the generated component descriptions.
------------------------------------------------------------------------------------------------------------------------------------

Maven-Bundle-Plugin has references to the old "bndlib 1.50.0"(why is no newer version available at the maven central repository?), which include the above issue.

Fixed in Bundle-Plugin 2.4.0-SNAPSHOT:
https://repository.apache.org/content/repositories/snapshots/org/apache/felix/maven-bundle-plugin/2.4.0-SNAPSHOT/


  was:
BND issue reference "https://github.com/bndtools/bnd/issues/136":

------------------------------------------------------------------------------------------------------------------------------------
When using DS annotations, bnd will generate component description XML with invalid namespace values.

The version segment of the namespace value must start with 'v' as in

http://www.osgi.org/xmlns/scr/v1.1.0

bnd is generating them without the 'v' as in

http://www.osgi.org/xmlns/scr/1.1.0

The incorrect namespace causes DS to not recognize the generated component descriptions.
------------------------------------------------------------------------------------------------------------------------------------

Maven-Bundle-Plugin has references to the old "bndlib 1.50.0"(why no newer version available at the maven central repository?), which include the above issue.

Fixed in Bundle-Plugin 2.4.0-SNAPSHOT:
https://repository.apache.org/content/repositories/snapshots/org/apache/felix/maven-bundle-plugin/2.4.0-SNAPSHOT/


    
> Incorrect namespace in component XML for DS Annotations
> -------------------------------------------------------
>
>                 Key: FELIX-3601
>                 URL: https://issues.apache.org/jira/browse/FELIX-3601
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.3.7
>            Reporter: Marcel Schlegel
>              Labels: maven
>             Fix For: maven-bundle-plugin-2.4.0
>
>
> BND issue reference "https://github.com/bndtools/bnd/issues/136":
> ------------------------------------------------------------------------------------------------------------------------------------
> When using DS annotations, bnd will generate component description XML with invalid namespace values.
> The version segment of the namespace value must start with 'v' as in
> http://www.osgi.org/xmlns/scr/v1.1.0
> bnd is generating them without the 'v' as in
> http://www.osgi.org/xmlns/scr/1.1.0
> The incorrect namespace causes DS to not recognize the generated component descriptions.
> ------------------------------------------------------------------------------------------------------------------------------------
> Maven-Bundle-Plugin has references to the old "bndlib 1.50.0"(why is no newer version available at the maven central repository?), which include the above issue.
> Fixed in Bundle-Plugin 2.4.0-SNAPSHOT:
> https://repository.apache.org/content/repositories/snapshots/org/apache/felix/maven-bundle-plugin/2.4.0-SNAPSHOT/

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