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

2022-12-02 Thread Remco Riswick (Jira)


[ 
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}
> org.apache.commons.${commons.componentid}{code}
> Bundle-SymbolicName becomes
> {code:java}
> org.apache.commons.text {code}
> From parent version 47 and onwards
> {code:java}
> org.apache.commons.${commons.packageId}{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}
> text{code}
> This will fix the problem and restore the original Bundle-SymbolicName



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


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

2022-11-01 Thread Remco Riswick (Jira)
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}
org.apache.commons.${commons.componentid}{code}
Bundle-SymbolicName becomes
{code:java}
org.apache.commons.text {code}
>From parent version 47 and onwards
{code:java}
org.apache.commons.${commons.packageId}{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}
text{code}
This will fix the problem and restore the original Bundle-SymbolicName



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