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/11/01 08:13:00 UTC
[jira] [Created] (TEXT-221) Incompatible OSGI Bundle-SymbolicName since parent version 47
Remco Riswick created TEXT-221:
----------------------------------
Summary: 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.10.0, 1.9, 1.8, 1.7, 1.6, 1.5
Reporter: Remco Riswick
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)