I am using commons-lang3 and commons-beanutils. After the latest upgrade
from apache commons-lang3 3.17 to 3.18, our OSGI application doesn't start
and it tells it's not able to find Java.* packages available in
import-package field. When I looked into it, seems like commons-parent
bundle plugin got upgraded and it by default adds java.* packages which is
only supported in OSGI 7.

Small discussion happened earlier below

https://github.com/apache/commons-parent/pull/676


Now I want to understand is there any possibility to conclude what the base
OSGI version needs to be? I am not sure if this was discussed and then
updated or was due to uplifting bundle plugin. Either way, I didn't see
anywhere it's announced or discussed. This would be one of the biggest
breaking changes from apache commons team to the OSGI applications though.


 Atleast for us, we need some time to move to OSGI 7 since we are on OSGI
4.3 and trying to move to Java 11. These OSGI products are deployed in
client side and hence we need some time.

I completely agree that the future will be OSGI 7 and we need to move to it
as soon as possible. But as long as apache commons supports Java 8, can the
team wait or would ask the team if possible to introduce this breaking
changes in some major version upgrades.

Reply via email to