Upstream karaf provides features which are inconsitent in the versions of artifacts it pulls and furthermore we are providing newer versions in declarations.
This leads to our distribution having multiple versions, which are not used, because karaf-plugin looks at unpatched versions as resolved by maven, not as overridden via opendaylight-karaf-resources.
Currently this affects:
- javax.mail at 484kB
- commons.codec at 258+278kB
- aries.util at 108kB
- jolokia-osgi at 403kB
- h2database at 1512kB
- commons-beanutils at 227kB
- jackson at 65+317+1317kB
totalling 4.8MB of waste.
PopulateLocalRepoMojo should allow for specific features to be configured as available locally, so that it examines patched versions, eliminating the need for additional dependencies in karaf4-parent and also eliminating duplicates.
- relates to
-
ODLPARENT-193 Allow features to be patched at distribution assembly time
- Confirmed