Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Replace spring-bundlor plugin with maven-bundle-plugin #816
Spring bundlor plugin is not an active project since 2010. Spring decided not to support OSGi.
maven-bundle-plugin uses bnd that is embedded into every development tools that support OSGi. This means that the MANIFEST generation will be the same as with other development tools. Some notes about maven-bundle-plugin:
This issue depends on #812 and #814 as the same pom.xml files should be changed to achieve the goal. I will create a pull request after those issues are closed. The pull request will contain the followings::
If it is necessary, I can do the changes in other modules as well. However, I cannot test the effect changes in live OSGi environment. The main difference will be that the version of Imported packages will have boundaries.
I use OSGi all the time. However, I we decided not to use JPA anymore and we have never used JDO. Therefore I can test only querydsl-core and querydsl-sql.
Making an Import-Package optional possible with the spring bundlor plugin as well, but in that case the packages have to be defined manually (more configuration in the pom.xml).
I made some tests where I switched the plugin from bundlor to maven-bundle-plugin only in the core and sql modules and it worked pretty well. Question is: May I switch the plugins only in these two modules?
Up-to-date information: Eclipse Virgo project seems to be alive and they continued to work on spring-bundlor-plugin. However, the plugin itself is not uploaded to maven-central. There is a dependency that has maven in its name, but it has jar packaging and not plugin.
I still suggest to use maven-bundle-plugin as it is available at maven-central and it has a bigger community. I will continue in this way.