When I attempt to update my OSGI bundle after making changes to the source code within my project, none of the changes are seen after the update only when I specify multiple export packages in my pom.xml. There are no errors produced when running the update.
My project has two packages in it
- com.comp.package.a
- com.comp.package.b
When I specify only one export package in my pom.xml <Export-Package>com.comp.package.a</Export-Package>
, any changes I make to the source code are successfully included in the bundle after running an update. However, when I add a second package to the export <Export-Package>com.comp.package.a, com.comp.package.b</Export-Package>
, no changes I make to the source code are seen after running an update.
Can anyone explain what is going on here?
Note: changes that are made in my pom.xml are always being included after the update is run, it is only changes to the source code that are not picked up. For example, if I add/subtract packages from the <Export-Package>
, those changes are picked up.