Affects Version/s: 2.2.0
Fix Version/s: None
Linux Mint 14 32bit
Relocating HK2 so that it can be used privately in an uber jar does not work. I have created a test case for this issue:
1. The resources module contains alterned versions of hk2's meta-info files
2. The spi module contains a simple contract interface
3. The impl module generated an uber jar that relocated hk2 and its resources
and it also contains an implementation of the contract in the spi module.
4. The demo module has a test class that tries to use the relocated version of
ServiceLocatorUtilities to try and load the contract.
When you try to execute DemoTest case createAndPopulateServiceLocator method throws a NPE because it can not find DynamicConfigurationService.