You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Remco Riswick (Jira)" <ji...@apache.org> on 2022/12/02 14:25:00 UTC

[jira] [Commented] (TEXT-221) Incompatible OSGI Bundle-SymbolicName since parent version 47

    [ https://issues.apache.org/jira/browse/TEXT-221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17642546#comment-17642546 ] 

Remco Riswick commented on TEXT-221:
------------------------------------

Great thanks!

> Incompatible OSGI Bundle-SymbolicName since parent version 47
> -------------------------------------------------------------
>
>                 Key: TEXT-221
>                 URL: https://issues.apache.org/jira/browse/TEXT-221
>             Project: Commons Text
>          Issue Type: Bug
>    Affects Versions: 1.5, 1.6, 1.7, 1.8, 1.9, 1.10.0
>            Reporter: Remco Riswick
>            Priority: Major
>             Fix For: 1.10.1
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Since the change in parent version 47 of the property commons.osgi.symbolicName. The Bundle-SymbolicName of commons-text has changed and is now incompatible with previous versions.
> Parent version 46 and before: 
> {code:java}
> <commons.osgi.symbolicName>org.apache.commons.${commons.componentid}</commons.osgi.symbolicName>{code}
> Bundle-SymbolicName becomes
> {code:java}
> org.apache.commons.text {code}
> From parent version 47 and onwards
> {code:java}
> <commons.osgi.symbolicName>org.apache.commons.${commons.packageId}</commons.osgi.symbolicName>{code}
> Bundle-SymbolicName becomes
> {code:java}
> org.apache.commons.commons-text {code}
> This bug was already reported in the commons parent project as COMMONSSITE-125. 
> And a similar bug was fixed for the commons-lang project LANG-1419.
> The fix there was to add the commons.packageId to the pom.xml
> {code:java}
> <commons.packageId>text</commons.packageId>{code}
> This will fix the problem and restore the original Bundle-SymbolicName



--
This message was sent by Atlassian Jira
(v8.20.10#820010)