Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OSGi Exports to HK2-Extras #1030

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Pandrex247
Copy link
Contributor

Adds exports to the HK2-Extras module.
The subtle change to the bundle plugin config applied in #899 which fixed the global config by making it no longer ignore the instruction to not export anything means that without an override this module doesn't export anything. I'd argue it should be exporting stuff, as things can depend on it.

I've limited the exports to anything not in an "internal" package.

Signed-off-by: Andrew Pielage <pandrex247@hotmail.com>
@Pandrex247 Pandrex247 changed the title FISH-8635 Add OSGi Exports to HK2-Extras Add OSGi Exports to HK2-Extras May 8, 2024
@dmatej
Copy link
Contributor

dmatej commented May 20, 2024

I am quite sure #899 did not bring this change. https://github.com/eclipse-ee4j/glassfish-hk2/pull/899/files#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8L261

I see it already in the beginning of 2022 and HK2 3.0.4. I have to admit that it smells bad ... does HK2 still use osgi.bundle files? Answer: yes, it does. And hk2-extras doesn't have it. Perhaps it would be good to make the bigger change ... as we did it in GlassFish already. Felix is quite good now and can do these things automatically.

@dmatej dmatej modified the milestones: 3.1.1, 4.0.0 May 20, 2024
@dmatej dmatej added the bug Something isn't working label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants